The Entity type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| ComputeFingerPrint |
Compute FingerPrint of the Entity.
| |
| GetReferenceInfo |
For Data Shortcut reference entity (IsReferenceObject == true), gets the entity's reference information.
|
Properties
| Name | Description | |
|---|---|---|
| Application |
Gets the Application. Not currently implemented.
| |
| Description |
Gets or sets the Entity object's description.
| |
| DisplayName |
Gets the Entity object's display name.
| |
| Document |
Gets the Document. Not currently implemented.
| |
| FingerPrint |
Gets or sets FingerPrint of the Entity.
| |
| FolderId |
Gets the folder ObjectId of the Entity
Returns ObjectId::Null if the Entity is located in root folder
| |
| IsReferencedSourceExisting |
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.
| |
| IsReferenceObject |
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.
| |
| IsReferenceStale |
For reference objects (IsReferenceObject == true), gets whether the Entity object's reference is stale.
| |
| IsReferenceSubObject |
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.
| |
| IsReferenceValid |
For reference objects (IsReferenceObject == true), gets whether the Entity object's reference is valid.
| |
| IsUsed |
Gets whether the style is used by other objects in the current drawing.
| |
| Name |
Gets or sets the Entity object's name.
| |
| ShowToolTip |
Gets or sets whether to show tooltips for the Entity.
| |
| StyleId |
Gets or sets the Entity object's style Id.
(Overrides EntityStyleId.) | |
| StyleName |
Gets or sets the Entity object's style name.
|