Revit 2025.3 API
Geometry |
The ElementId of the GeometryObject's GraphicsStyle
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public ElementId GraphicsStyleId { get; }
Public ReadOnly Property GraphicsStyleId As ElementId Get
public: property ElementId^ GraphicsStyleId { ElementId^ get (); }
member GraphicsStyleId : ElementId with get
Property Value
ElementIdThis property provides the id of the GraphicsStyle assigned to the GeometryObject.
This can be used to find the category of the object.
See Also