AnalyticalToPhysicalAssociationManager.IsPhysicalElement Method

AnalyticalToPhysicalAssociationManagerIsPhysicalElement Method

Returns true if the element is a physical element.

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public static bool IsPhysicalElement(
	Document doc,
	ElementId id
)
Public Shared Function IsPhysicalElement ( 
	doc As Document,
	id As ElementId
) As Boolean
public:
static bool IsPhysicalElement(
	Document^ doc, 
	ElementId^ id
)
static member IsPhysicalElement : 
        doc : Document * 
        id : ElementId -> bool 

Parameters

doc  Document
Revit document.
id  ElementId
The element to be checked.

Return Value

Boolean
Exceptions
ExceptionCondition
ArgumentNullException A non-optional argument was null
See Also