Revit 2026 API
SubelementGet |
Retrieve one geometric primitive representing given subelement.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public GeometryObject GetGeometryObject( View dbView )
Public Function GetGeometryObject ( dbView As View ) As GeometryObject
public: GeometryObject^ GetGeometryObject( View^ dbView )
member GetGeometryObject : dbView : View -> GeometryObject
Parameters
- dbView View
- The view for view-specific geometry or for model geometry.
Return Value
GeometryObjectThe geometric object representing this subelement.
In case of whole element, geometric object representing element and its subelements will be returned.
will be returned if related geometric object could not be found in the model.
See Also