<Code Lib>
2020 Method
Changes 0
M

DirectShape.IsValidCategoryId

Description:
Test the category id to make sure it is indeed a top-level built-in category.

public static bool IsValidCategoryId(
	ElementId categoryId,
	Document doc
)

Return Value bool False unless categoryId corresponds to a valid built-in top-level model category.

Loading…