GeometryObject Class

The common base class for all geometric primitives.
Inheritance Hierarchy
SystemObject
  Autodesk.Revit.DBAPIObject
    Autodesk.Revit.DBGeometryObject
      More

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public class GeometryObject : APIObject

The GeometryObject type exposes the following members.

Properties
 NameDescription
Public propertyCode exampleGraphicsStyleIdThe ElementId of the GeometryObject's GraphicsStyle
Public propertyIdA unique integer identifying the GeometryObject in its associated non view-specific GeometryElement.
Public propertyIsElementGeometryIndicates whether this geometry is obtained directly from an Element.
Public propertyCode exampleIsReadOnlyIdentifies if the object is read-only or modifiable.
(Inherited from APIObject)
Public propertyVisibilityThe visibility.
Top
Methods
 NameDescription
Public methodDisposeCauses the object to release immediately any resources it may be utilizing.
(Inherited from APIObject)
Public methodEquals Determines whether the specified Object is equal to the current Object.
(Overrides ObjectEquals(Object))
Public methodGetHashCode Gets the integer value of the geometry object as hash code
(Overrides ObjectGetHashCode)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Operators
 NameDescription
Public operatorStatic memberEquality(GeometryObject, GeometryObject)Determines whether two GeometryObjects are the same.
Public operatorStatic memberInequality(GeometryObject, GeometryObject)Determines whether two GeometryObjects are different.
Top
See Also
Inheritance Hierarchy