Get all the solids which are cut by the input element.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 21.0.0.0 (21.1.1.109)
Since: 2011
Syntax
| C# |
|---|
public static ICollection<ElementId> GetSolidsBeingCut( Element element ) |
| Visual Basic |
|---|
Public Shared Function GetSolidsBeingCut ( _ element As Element _ ) As ICollection(Of ElementId) |
| Visual C++ |
|---|
public: static ICollection<ElementId^>^ GetSolidsBeingCut( Element^ element ) |
Parameters
- element
- Type: Autodesk.Revit.DB..::..Element
The input element.
Return Value
The ids of the solids which are cut by the input element.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions..::..ArgumentNullException | A non-optional argument was NULL |