CoordinationModelLinkUtils.ContainsCategory
Description:
Checks whether a provided string is a element category name in the provided AutodeskDocs Coordination Model type.
Checks whether a provided string is a element category name in the provided AutodeskDocs Coordination Model type.
public static bool ContainsCategory(
Document document,
ElementType coordinationModelType,
string categoryName
)
-
documentThe document.
-
coordinationModelTypeThe Coordination Model type element.
-
StringcategoryNameThe element category name to check.
Return Value
Boolean
True if the categoryName is a element category name in the provided AutodeskDocs Coordination Model type; false otherwise.
-
categoryName is an empty string. -or- The provided element is not a Autodesk Docs Coordination Model type.
-
A non-optional argument was null