2021 Method
Changes 0
M

DirectShape.IsValidCategoryId

Description:
Test the category id to make sure the category is allowed for a DirectShape or DirectShapeType.
public static bool IsValidCategoryId(
	ElementId categoryId,
	Document doc
)
Return Value bool True if the category is allowed for a DirectShape or DirectShapeType, false if not.