Subassembly Class

Pattern for part of a corridor cross section, representing a particular portion of a roadway.
Inheritance Hierarchy
SystemObject
  SystemMarshalByRefObject
    DisposableWrapper
      RXObject
        Drawable
          DBObject
            Entity
              Curve
                Entity
                  Autodesk.Civil.DatabaseServicesEntity
                    Autodesk.Civil.DatabaseServicesGeoEntity
                      Autodesk.Civil.DatabaseServicesSubassembly

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntax
public sealed class Subassembly : GeoEntity

The Subassembly type exposes the following members.

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 propertyIsCWSReferenceObject 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)
Public propertyIsCWSSourceObject 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)
Public propertyIsDynamic Returns true if the subassembly dynamically computes its state.
Public propertyIsFromSubassemblyComposer Gets the value indicates whether this subassembly is from subassembly composer.
Public propertyIsPartialReferenceObject Gets whether the surface is partial reference surface.
(Inherited from Entity)
Public propertyIsReadOnlyReferenceObject 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)
Public propertyCode exampleIsReferencedSourceExisting 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 propertyOffsetToBaselineObsolete.
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 propertyStatus Gets the current status of the file pointed by SubassemblyGenerator.ProjectOrAssemblyName.
Public propertyStyleId Gets or sets the Entity object's style Id.
(Inherited from Entity)
Public propertyStyleName The name of the Subassembly style.
(Overrides EntityStyleName)
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.
Public propertyVersion Gets Version information of the Subassembly
Top
Methods
 NameDescription
Public methodComputeFingerPrint Compute FingerPrint of the Entity.
(Inherited from Entity)
Public methodEraseAllParams Erases all the subassembly's script parameters.
Public methodCode exampleGetReferenceInfo For Data Shortcut reference entity (IsReferenceObject == true), gets the entity's reference information.
(Inherited from Entity)
Public methodGetResourceString(String) Converts a resource id (string) to a resource string from the current subassembly's resource module.
Public methodGetResourceString(UInt32) Converts a resource id (numeric) 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.
Top
Remarks
Subassemblies are the basic building blocks of a corridor design. A subassembly is an AutoCAD drawing object (AECCSubassembly) that defines the geometry of a component used in a corridor section. A subassembly consists of a series of shapes, links, and points. Through the tool palette and tool catalogues, Autodesk Civil 3D provides preconfigured subassemblies for components such as carriageways, kerbs, batter slopes and ditches. These subassemblies are defined by a set of points, links, and optionally closed areas referred to as shapes. The subassemblies provided with Autodesk Civil 3D have built-in intelligent behavior. They can automatically adapt to conditions such as superelevation and cut or fill requirements. For example, a slope subassembly has variable slopes that change automatically depending on the depth of cut along the corridor. In fill conditions exceeding a given depth, the verge automatically widens to include a guardrail or barrier.
See Also