DisplacementElementIsAllowedAsDisplacedElement 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
ExceptionCondition
ArgumentNullException A non-optional argument was null
Remarks
Exclusions include view specific elements as well as certain categories of elements.
See Also