Share

Subelement.GetGeometryObject Method

Retrieve one geometric primitive representing given subelement.


Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)

Syntax

C#

public GeometryObject GetGeometryObject(
	View dbView
)

Parameters

dbView  View
The view for view-specific geometry or nullptr 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. nullptr will be returned if related geometric object could not be found in the model.

See Also

Reference

Was this information helpful?