The Subassembly type exposes the following members.

Methods

  NameDescription
Public methodComputeFingerPrint
Compute FingerPrint of the Entity.
(Inherited from Entity.)
Public methodEraseAllParams
Erases all the subassembly's script parameters.
Public methodGetReferenceInfo
For Data Shortcut reference entity (IsReferenceObject == true), gets the entity's reference information.
(Inherited from Entity.)
Public methodGetResourceString(UInt32)
Converts a resource id (numeric) to a resource string from the current subassembly's resource module.
Public methodGetResourceString(String)
Converts a resource id (string) to a resource string from the current subassembly's resource module.
Public methodRun
Runs the callback function associated with the Subassembly.
Public methodShowHelp
Shows the help information associated with a subassembly.

Properties

  NameDescription
Public propertyApplication
Gets the Application. Not currently implemented.
(Inherited from Entity.)
Public propertyAssemblyId
Gets the ID of the Assembly this Subassembly belongs to.
Public propertyAttachedToOffsetAssembly
Gets a bool value that specifies whether the subassembly is attached to a offset assembly or a main assembly.
Public propertyCodeSetStyleName
Gets or sets the code set style name.
Public propertyDefaultLoopInLayoutMode
Gets or sets a flag indicating if the first or last point in the subassembly is used as the loop point in layout mode.
Public propertyDefaultLoopOffsetInLayoutMode
Gets or sets the default loop point offset distance for subassembly in layout mode.
Public propertyDescription
Gets or sets the Entity object's description.
(Inherited from Entity.)
Public propertyDisplayName
Gets the Entity object's display name.
(Inherited from Entity.)
Public propertyDocument
Gets the Document. Not currently implemented.
(Inherited from Entity.)
Public propertyFingerPrint
Gets or sets FingerPrint of the Entity.
(Inherited from Entity.)
Public propertyFolderId
Gets the folder ObjectId of the Entity Returns ObjectId::Null if the Entity is located in root folder
(Inherited from Entity.)
Public propertyGeometryGenerator
Gets or sets the SubassemblyGenerator object that controls how the Subassembly geometry is generated.
Public propertyHasParentAssembly
Returns true if this Subassembly has a parent Assembly.
Public propertyHasSide
Gets the value indicates whether this subassembly has side property.
Public propertyHelpCommand
Gets or sets the command to invoke the Subassembly help.
Public propertyHelpData
Gets or sets help data for the Subassembly.
Public propertyHelpFile
Gets or sets the file name of the Subassembly help file.
Public propertyIsDynamic
Returns true if the subassembly dynamically computes its state.
Public propertyIsReferencedSourceExisting
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.)
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.
(Inherited from Entity.)
Public propertyIsReferenceStale
For reference objects (IsReferenceObject == true), gets whether the Entity object's reference is stale.
(Inherited from Entity.)
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.
(Inherited from Entity.)
Public propertyIsReferenceValid
For reference objects (IsReferenceObject == true), gets whether the Entity object's reference is valid.
(Inherited from Entity.)
Public propertyIsUsed
Gets whether the style is used by other objects in the current drawing.
(Inherited from Entity.)
Public propertyLinks
Gets the Links collection.
Public propertyName
Gets or sets the Entity object's name.
(Inherited from Entity.)
Public propertyOffsetAssemblyName
Gets the name of the OffsetAssembly to which the subassembly is attached.
Public propertyOffsetToAssembly
Gets or sets a vector value that specifies the offset to the assembly it belongs to in layout mode.
Public propertyOffsetToBaseline Obsolete.
Gets a vector value that specifies the offset to the assembly or offset assembly it attached in layout mode.
Public propertyOffsetToParentAssembly
Gets or sets a vector value that specifies the offset to the parent assembly it attached.
Public propertyOrigin
Gets or sets the origin of a subassembly.
Public propertyParamsBool
Gets the Boolean parameters collection.
Public propertyParamsDouble
Gets the Double parameters collection.
Public propertyParamsLong
Gets the Long parameters collection.
Public propertyParamsString
Gets the String parameters collection.
Public propertyPointIndexHookTo
Gets or sets the index of the Point the Subassembly hooked to.
Public propertyPoints
Gets the Points collection.
Public propertyResourceModule
Gets or sets the Subassembly resource module file.
Public propertyShapes
Gets the Shapes collection.
Public propertyShowToolTip
Gets or sets whether to show tooltips for the Entity.
(Inherited from Entity.)
Public propertySide
Gets or sets the value indicates which side this subassembly should be located.
Public propertyStyleId
Gets or sets the Entity object's style Id.
(Inherited from Entity.)
Public propertyStyleName
The name of the Subassembly style.
(Overrides Entity..::..StyleName.)
Public propertySubassemblyHookTo
Gets the object id of the Subassembly which it hook to
Public propertyUseEmbeddedProject
Gets or sets whether the Subassembly uses macros in embedded projects.

See Also