Retrieve one geometric primitive representing given subelement.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public GeometryObject GetGeometryObject(
View dbView
)
Parameters
- dbView View
-
The view for view-specific geometry or null 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.
null will be returned if related geometric object could not be found in the model.
See Also
Reference