The common base class for all geometric primitives.
Inheritance Hierarchy
System.ObjectAutodesk.Revit.DB.APIObject
Autodesk.Revit.DB.GeometryObject
More
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public class GeometryObject : APIObject
The GeometryObject type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() ![]() | GraphicsStyleId | The ElementId of the GeometryObject's GraphicsStyle |
![]() | Id | A unique integer identifying the GeometryObject in its associated non view-specific GeometryElement. |
![]() | IsElementGeometry | Indicates whether this geometry is obtained directly from an Element. |
![]() ![]() | IsReadOnly | Identifies if the object is read-only or modifiable. (Inherited from APIObject) |
![]() | Visibility | The visibility. |
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. (Overrides Object.Equals(Object)) |
![]() | GetHashCode |
Gets the integer value of the geometry object as hash code
(Overrides Object.GetHashCode()) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object) |
Operators
Name | Description | |
---|---|---|
![]() ![]() | Equality(GeometryObject, GeometryObject) | Determines whether two GeometryObjects are the same. |
![]() ![]() | Inequality(GeometryObject, GeometryObject) | Determines whether two GeometryObjects are different. |
See Also
Reference
Inheritance Hierarchy
System.ObjectAutodesk.Revit.DB.APIObject
Autodesk.Revit.DB.GeometryObject
Autodesk.Revit.DB.Curve
Autodesk.Revit.DB.Edge
Autodesk.Revit.DB.Face
Autodesk.Revit.DB.GeometryElement
Autodesk.Revit.DB.GeometryInstance
Autodesk.Revit.DB.Mesh
Autodesk.Revit.DB.Point
Autodesk.Revit.DB.PolyLine
Autodesk.Revit.DB.Profile
Autodesk.Revit.DB.Solid