RVTDocs.com

DisplacementElement.CanCategoryBeDisplaced

Method
Description:
Indicates whether elements of the specified category are eligible as displaced elements.
Remarks:
Elements may be disallowed as displaced elements for reasons other than their category.
Syntax
public static bool CanCategoryBeDisplaced(
	ElementId categoryId
)
Parameters
Parameter Type Description
categoryId ElementId Category id of element to be replaced.
Return Value
Type Description
Boolean Returns true if elements of this category can be displaced, and false otherwise.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null