Revit 2025.3 API
| Geometry | 
Geometric representation of an element.
 Inheritance Hierarchy
Inheritance HierarchySystemObject
Autodesk.Revit.DBAPIObject
Autodesk.Revit.DBGeometryObject
Autodesk.Revit.DBGeometryElement
Autodesk.Revit.DBAPIObject
Autodesk.Revit.DBGeometryObject
Autodesk.Revit.DBGeometryElement
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public class GeometryElement : GeometryObject, IEnumerable<GeometryObject>
Public Class GeometryElement Inherits GeometryObject Implements IEnumerable(Of GeometryObject)
public ref class GeometryElement : public GeometryObject, IEnumerable<GeometryObject^>
type GeometryElement = class inherit GeometryObject interface IEnumerable<GeometryObject> end
The GeometryElement type exposes the following members.
 Properties
Properties| Name | Description | |
|---|---|---|
|  | GraphicsStyleId | The ElementId of the GeometryObject's GraphicsStyle (Inherited from GeometryObject) | 
|  | Id | A unique integer identifying the GeometryObject in its associated non view-specific GeometryElement. (Inherited from GeometryObject) | 
|  | IsElementGeometry | Indicates whether this geometry is obtained directly from an Element. (Inherited from GeometryObject) | 
|  | IsReadOnly | Identifies if the object is read-only or modifiable. (Inherited from APIObject) | 
|  | MaterialElement | Element describing the material from which this element is composed. | 
|  | Visibility | The visibility. (Inherited from GeometryObject) | 
 Methods
Methods| Name | Description | |
|---|---|---|
|  | Dispose | Causes the object to release immediately any resources it may be utilizing. (Inherited from APIObject) | 
|  | Equals | Determines whether the specified Object is equal to the current Object. (Inherited from GeometryObject) | 
|  | GetBoundingBox | Retrieves a box that encloses the geometry element. | 
|  | GetEnumerator | Returns an enumerator that iterates through the collection. | 
|  | GetEnumeratorNG | Returns an enumerator that iterates through the collection. | 
|  | GetHashCode | Gets the integer value of the geometry object as hash code (Inherited from GeometryObject) | 
|  | GetTransformed | Returns a transformed copy of the geometry in this element. | 
|  | GetType | Gets the Type of the current instance. (Inherited from Object) | 
|  | ToString | Returns a string that represents the current object. (Inherited from Object) | 
 Remarks
RemarksThis class contains geometric primitives that are generated from the
parametric description of the element. The member geometric primitives can be obtained
directly from this object using the capabilities of IEnumerable.
See Also