AssemblyInstance.IsValidNamingCategory
Description:
Identifies if the naming category is valid for an assembly instance.
Identifies if the naming category is valid for an assembly instance.
public static bool IsValidNamingCategory(
Document document,
ElementId namingCategoryId,
ICollection<ElementId> assemblyMemberIds
)
-
documentThe document for the assembly instance.
-
namingCategoryIdThe id of the naming category for the assembly instance.
-
assemblyMemberIdsMember ids to check validity of naming category
Return Value
bool
True if the naming category is valid, false otherwise.
-
A non-optional argument was NULL