ImporterIFCUtils.UpdateDirectShapeCategory
Description:
Updates the category of a DirectShape.
Updates the category of a DirectShape.
Remarks:
Use this function carefully, as it could result in a mismatch between DirectShape and DirectShapeType categories.
Use this function carefully, as it could result in a mismatch between DirectShape and DirectShapeType categories.
public static void UpdateDirectShapeCategory(
DirectShape directShape,
ElementId newCategoryId
)
-
directShapeThe DirectShape.
-
newCategoryIdThe new category id.
-
A non-optional argument was null