IsAllowedAsDisplacedElement Method


Displacement Element Is Allowed As Displaced Element Method

Indicates if the specified element is allowed to be displaced.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public static bool IsAllowedAsDisplacedElement(
	Element element
)

Parameters

element Element
Any element.

Return Value

Boolean
Returns true if the element is eligible to be assigned to a DisplacementElement.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null
Remarks
Exclusions include view specific elements as well as certain categories of elements.
See Also
ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →