Assembly Class |
The Assembly type exposes the following members.
| Name | Description | |
|---|---|---|
| Application |
Gets the Application. Not currently implemented.
(Inherited from Entity) | |
| CodeSetStyleId | Gets or sets the CodeSetStyle Id. | |
| CodeSetStyleName | Gets or sets the CodeSetStyle by name. | |
| Description |
Gets or sets the Entity object's description.
(Inherited from Entity) | |
| DisplayName |
Gets the Entity object's display name.
(Inherited from Entity) | |
| Document |
Gets the Document. Not currently implemented.
(Inherited from Entity) | |
| FingerPrint |
Gets or sets FingerPrint of the Entity.
(Inherited from Entity) | |
| FolderId |
Gets the folder ObjectId of the Entity
Returns ObjectId::Null if the Entity is located in root folder
(Inherited from Entity) | |
| Groups | Gets the collection of assembly group. | |
| IsCWSReferenceObject |
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.
(Inherited from Entity) | |
| IsCWSSourceObject |
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.
(Inherited from Entity) | |
| IsPartialReferenceObject |
Gets whether the surface is partial reference surface.
(Inherited from Entity) | |
| IsReadOnlyReferenceObject |
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.
(Inherited from Entity) | |
| 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.
(Inherited from 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.
(Inherited from Entity) | |
| IsReferenceStale |
For reference objects (IsReferenceObject == true), gets whether the Entity object's reference is stale.
(Inherited from Entity) | |
| 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.
(Inherited from Entity) | |
| IsReferenceValid |
For reference objects (IsReferenceObject == true), gets whether the Entity object's reference is valid.
(Inherited from Entity) | |
| IsUsed |
Gets whether the style is used by other objects in the current drawing.
(Inherited from Entity) | |
| Location | Gets or sets the assembly location. | |
| Name |
Gets or sets the Entity object's name.
(Inherited from Entity) | |
| OffsetAssemblies | Gets the OffsetAssemblyCollection. | |
| ShowToolTip |
Gets or sets whether to show tooltips for the Entity.
(Inherited from Entity) | |
| StyleId |
Sets the Assembly Style Id.
(Overrides EntityStyleId) | |
| StyleName |
Sets the Assembly Style by name.
(Overrides EntityStyleName) | |
| Type | Gets or sets the Assembly Type. |
| Name | Description | |
|---|---|---|
| AddSubassembly(ObjectId) | Adds a subassembly to the assembly. | |
| AddSubassembly(ObjectId, Point) | Adds a subassembly to the assembly and hooks to the specified point of a subassembly. | |
| ComputeFingerPrint |
Compute FingerPrint of the Entity.
(Inherited from Entity) | |
| CopySubassembly(ObjectId) | Copies a subassembly to the assembly. | |
| CopySubassembly(ObjectId, Point) | Copies a subassembly to the assembly and hooks to the specified point of a subassembly. | |
| GetOffsetBaselineNames | Returns all the names of the associated Baseline objects. | |
| GetReferenceInfo |
For Data Shortcut reference entity (IsReferenceObject == true), gets the entity's reference information.
(Inherited from Entity) | |
| InsertSubassemblyAfter | Inserts an unassigned subassembly after a subassembly in the assembly and hooks to the specified point. | |
| InsertSubassemblyBefore | Inserts an unassigned subassembly before a subassembly in the assembly. | |
| MirrorSubassembly(ObjectId) | Mirrors a subassembly to the assembly. | |
| MirrorSubassembly(ObjectId, Point) | Mirrors a subassembly to the assembly and hooks to the specified point of a subassembly. | |
| ReplaceSubassembly | Replaces a subassembly in the assembly with another unassigned subassembly. |