Revit 2026 API
ToposolidCan |
Checks if the given element can be used to excavate the Toposolid.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public bool CanBeExcavatedBy( ElementId elementId )
Public Function CanBeExcavatedBy ( elementId As ElementId ) As Boolean
public: bool CanBeExcavatedBy( ElementId^ elementId )
member CanBeExcavatedBy : elementId : ElementId -> bool
Parameters
- elementId ElementId
- Id of the element
Return Value
BooleanTrue if the element can be used to excavate the Toposolid.
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |
See Also