GetGeometryObject Method


Subelement Get Geometry Object Method

Retrieve one geometric primitive representing given subelement.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public GeometryObject GetGeometryObject(
	View dbView
)

Parameters

dbView View
The view for view-specific geometry or for model geometry.

Return Value

GeometryObject
The geometric object representing this subelement.
Remarks
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
ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →