Share

DisplacementElement.CanCategoryBeDisplaced Method

Indicates whether elements of the specified category are eligible as displaced elements.


Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)

Syntax

C#

public static bool CanCategoryBeDisplaced(
	ElementId categoryId
)

Parameters

categoryId  ElementId
Category id of element to be replaced.

Return Value

Boolean
Returns true if elements of this category can be displaced, and false otherwise.

Exceptions

ExceptionCondition
ArgumentNullException A non-optional argument was null

Remarks

Elements may be disallowed as displaced elements for reasons other than their category.

See Also

Reference

Was this information helpful?