DisplacementElement.IsAllowedAsDisplacedElement Method

DisplacementElementIsAllowedAsDisplacedElement Method

Indicates if the specified element is allowed to be displaced.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public static bool IsAllowedAsDisplacedElement(
	Element element
)
Public Shared Function IsAllowedAsDisplacedElement ( 
	element As Element
) As Boolean
public:
static bool IsAllowedAsDisplacedElement(
	Element^ element
)
static member IsAllowedAsDisplacedElement : 
        element : Element -> bool 

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