RVTDocs.com

ImporterIFCUtils.UpdateDirectShapeCategory

Method
Description:
Updates the category of a DirectShape.
Remarks:
Use this function carefully, as it could result in a mismatch between DirectShape and DirectShapeType categories.
Syntax
public static void UpdateDirectShapeCategory(
	DirectShape directShape,
	ElementId newCategoryId
)
Parameters
Parameter Type Description
directShape DirectShape The DirectShape.
newCategoryId ElementId The new category id.
Return Value
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null