Entity Class

The base class for entities, such as Feature, Table, Grading, Site, etc.
Inheritance Hierarchy
SystemObject
  SystemMarshalByRefObject
    DisposableWrapper
      RXObject
        Drawable
          DBObject
            Entity
              Curve
                Entity
                  Autodesk.Civil.DatabaseServicesEntity
                    More

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntax
public class Entity : Entity

The Entity type exposes the following members.

Properties
 NameDescription
Public propertyApplication Gets the Application. Not currently implemented.
Public propertyDescription Gets or sets the Entity object's description.
Public propertyDisplayName Gets the Entity object's display name.
Public propertyDocument Gets the Document. Not currently implemented.
Public propertyFingerPrint Gets or sets FingerPrint of the Entity.
Public propertyFolderId Gets the folder ObjectId of the Entity Returns ObjectId::Null if the Entity is located in root folder
Public propertyIsCWSReferenceObject Gets whether the Entity is a Civil Worksharing reference object. A Civil Worksharing reference object is a Civil object shared to Shared Space. It is not editable. But it can be updated to the new version in the Shared Space.
Public propertyIsCWSSourceObject Gets whether the Entity is a Civil Worksharing source object. A Civil Worksharing source object is a Civil object shared to Shared Space. It is editable and can be updated to Shared Space.
Public propertyIsPartialReferenceObject Gets whether the surface is partial reference surface.
Public propertyIsReadOnlyReferenceObject Gets whether the Entity is a readonly reference object. A readonly reference object is either a data shortcut referece object or a Civil Worksharing reference object.
Public propertyCode exampleIsReferencedSourceExisting For reference object (IsReferenceObject == true), it will try to get its source entity while opening a drawing. This indicates whether the reference object has source entity.
Public propertyIsReferenceObject Gets whether the Entity is a reference object. A reference object is located in another drawing, and linked using a data shortcut or Vault. If the entity is native to the current drawing this property returns false; if it is being referenced via data shortcuts or AutoCAD Vault it returns true.
Public propertyIsReferenceStale For reference objects (IsReferenceObject == true), gets whether the Entity object's reference is stale.
Public propertyIsReferenceSubObject For reference objects (IsReferenceObject == true), gets whether the Entity is a reference subobject. For example, when iterating through the structure of a pipe network referenced from another drawing, this property is true for each entity.
Public propertyIsReferenceValid For reference objects (IsReferenceObject == true), gets whether the Entity object's reference is valid.
Public propertyIsUsed Gets whether the style is used by other objects in the current drawing.
Public propertyName Gets or sets the Entity object's name.
Public propertyShowToolTip Gets or sets whether to show tooltips for the Entity.
Public propertyStyleId Gets or sets the Entity object's style Id.
(Overrides Entity.StyleId)
Public propertyStyleName Gets or sets the Entity object's style name.
Top
Methods
 NameDescription
Public methodComputeFingerPrint Compute FingerPrint of the Entity.
Public methodCode exampleGetReferenceInfo For Data Shortcut reference entity (IsReferenceObject == true), gets the entity's reference information.
Top
See Also
Inheritance Hierarchy
SystemObject
  SystemMarshalByRefObject
    DisposableWrapper
      RXObject
        Drawable
          DBObject
            Entity
              Curve
                Entity
                  Autodesk.Civil.DatabaseServicesEntity
                    Autodesk.Civil.DatabaseServicesBridge
                    Autodesk.Civil.DatabaseServicesBridgeStructure
                    Autodesk.Civil.DatabaseServicesCatchment
                    Autodesk.Civil.DatabaseServicesCorridor
                    Autodesk.Civil.DatabaseServicesFeature
                    Autodesk.Civil.DatabaseServicesGeoEntity
                    Autodesk.Civil.DatabaseServicesGrading
                    Autodesk.Civil.DatabaseServicesIntersection
                    Autodesk.Civil.DatabaseServicesLabelBase
                    Autodesk.Civil.DatabaseServicesMassHaulLine
                    Autodesk.Civil.DatabaseServicesParcel
                    Autodesk.Civil.DatabaseServicesProfileProjection
                    Autodesk.Civil.DatabaseServicesProfileViewPart
                    Autodesk.Civil.DatabaseServicesProfileViewPressurePart
                    Autodesk.Civil.DatabaseServicesSite
                    Autodesk.Civil.DatabaseServicesSuperelevationView
                    Autodesk.Civil.DatabaseServicesSurface
                    Autodesk.Civil.DatabaseServicesSurveyNetworkEntity
                    Autodesk.Civil.DatabaseServicesTable
                    Autodesk.Civil.DatabaseServicesTurnout
                    Autodesk.Civil.DatabaseServicesTurnoutCatalog