The Subassembly type exposes the following members.
Methods
| 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(UInt32) |
Converts a resource id (numeric) to a resource string from the current subassembly's resource module.
| |
| GetResourceString(String) |
Converts a resource id (string) 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.
|
Properties
| 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.
| |
| IsDynamic |
Returns true if the subassembly dynamically computes its state.
| |
| 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.
| |
| StyleId |
Gets or sets the Entity object's style Id.
(Inherited from Entity.) | |
| StyleName |
The name of the Subassembly style.
(Overrides Entity..::..StyleName.) | |
| SubassemblyHookTo |
Gets the object id of the Subassembly which it hook to
| |
| UseEmbeddedProject |
Gets or sets whether the Subassembly uses macros in embedded projects.
|