Subassembly Class |
The Subassembly type exposes the following members.
| Name | Description | |
|---|---|---|
| Application |
Gets the Application. Not currently implemented.
(Inherited from Entity) | |
| AssemblyId | Gets the ID of the Assembly this Subassembly belongs to. | |
| AttachedToOffsetAssembly | Gets a bool value that specifies whether the subassembly is attached to a offset assembly or a main assembly. | |
| CodeSetStyleName | Gets or sets the code set style name. | |
| DefaultLoopInLayoutMode | Gets or sets a flag indicating if the first or last point in the subassembly is used as the loop point in layout mode. | |
| DefaultLoopOffsetInLayoutMode | Gets or sets the default loop point offset distance for subassembly in layout mode. | |
| 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) | |
| GeometryGenerator | Gets or sets the SubassemblyGenerator object that controls how the Subassembly geometry is generated. | |
| HasParentAssembly | Returns true if this Subassembly has a parent Assembly. | |
| HasSide | Gets the value indicates whether this subassembly has side property. | |
| HelpCommand | Gets or sets the command to invoke the Subassembly help. | |
| HelpData | Gets or sets help data for the Subassembly. | |
| HelpFile | Gets or sets the file name of the Subassembly help file. | |
| 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) | |
| IsDynamic | Returns true if the subassembly dynamically computes its state. | |
| IsFromSubassemblyComposer | Gets the value indicates whether this subassembly is from subassembly composer. | |
| 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) | |
| Links | Gets the Links collection. | |
| Name |
Gets or sets the Entity object's name.
(Inherited from Entity) | |
| OffsetAssemblyName | Gets the name of the OffsetAssembly to which the subassembly is attached. | |
| OffsetToAssembly | Gets or sets a vector value that specifies the offset to the assembly it belongs to in layout mode. | |
| OffsetToBaseline | Obsolete. Gets a vector value that specifies the offset to the assembly or offset assembly it attached in layout mode. | |
| OffsetToParentAssembly | Gets or sets a vector value that specifies the offset to the parent assembly it attached. | |
| Origin | Gets or sets the origin of a subassembly. | |
| ParamsBool | Gets the Boolean parameters collection. | |
| ParamsDouble | Gets the Double parameters collection. | |
| ParamsLong | Gets the Long parameters collection. | |
| ParamsString | Gets the String parameters collection. | |
| PointIndexHookTo | Gets or sets the index of the Point the Subassembly hooked to. | |
| Points | Gets the Points collection. | |
| ResourceModule | Gets or sets the Subassembly resource module file. | |
| Shapes | Gets the Shapes collection. | |
| ShowToolTip |
Gets or sets whether to show tooltips for the Entity.
(Inherited from Entity) | |
| Side | Gets or sets the value indicates which side this subassembly should be located. | |
| Status | Gets the current status of the file pointed by SubassemblyGenerator.ProjectOrAssemblyName. | |
| StyleId |
Gets or sets the Entity object's style Id.
(Inherited from Entity) | |
| StyleName |
The name of the Subassembly style.
(Overrides EntityStyleName) | |
| SubassemblyHookTo | Gets the object id of the Subassembly which it hook to | |
| UseEmbeddedProject | Gets or sets whether the Subassembly uses macros in embedded projects. | |
| Version | Gets Version information of the Subassembly |
| Name | Description | |
|---|---|---|
| ComputeFingerPrint |
Compute FingerPrint of the Entity.
(Inherited from Entity) | |
| EraseAllParams | Erases all the subassembly's script parameters. | |
| GetReferenceInfo |
For Data Shortcut reference entity (IsReferenceObject == true), gets the entity's reference information.
(Inherited from Entity) | |
| GetResourceString(String) | Converts a resource id (string) to a resource string from the current subassembly's resource module. | |
| GetResourceString(UInt32) | Converts a resource id (numeric) to a resource string from the current subassembly's resource module. | |
| Run | Runs the callback function associated with the Subassembly. | |
| ShowHelp | Shows the help information associated with a subassembly. |