In this exercise, you will specify a meaningful naming convention to apply to subassemblies as they are created.
This default subassembly naming template specifies that subassemblies use the subassembly name on the tool palette followed by a sequential number. For example, if BasicLane subassemblies are placed on either side of the assembly, they are named BasicLane- (1) and BasicLane - (2).
In this exercise, you will change the naming template so that assemblies will include the side on which the subassembly is placed. For example, if BasicLane subassemblies are placed on either side of the assembly, they are named BasicLane- (Left) and BasicLane - (Right).
Performing this task makes it easy to manage assemblies and subassemblies in complex drawings.
For more information, see the AutoCAD Civil 3D Help topic Understanding Subassemblies.
Examine the default subassembly naming convention
This drawing contains an assembly baseline that does not have any subassemblies attached to it.
The right lane subassembly is now attached to the assembly baseline.
The left lane subassembly is now attached to the assembly baseline.
In the Toolspace list view, notice that there are two BasicLane subassemblies. Because this assembly has more than one of the same subassembly, the sequential naming convention makes it difficult to distinguish between them. You will correct this in the following steps.
Modify the subassembly name template
The Name field should contain the following formula:
<[Macro Short Name(CP)]> - (<[Subassembly Side]>)
To display the subassembly name in the local language, use the <[Subassembly Local Name]> property in place of the <[Macro Short Name(CP)]> property.
Examine the updated subassembly naming convention
If you attach the subassembly to the wrong marker, you can move it to the correct location. Press Esc to exit subassembly placement mode. Select the subassembly you wish to move. A blue grip is displayed when the subassembly is selected. Select the grip, and then click the correct marker point.
In the Toolspace list view, notice that there are two new subassemblies, BasicCurbAndGutter - (Left) and BasicCurbAndGutter - (Right). These names are more specific than those of the BasicLane subassemblies.
The next exercise demonstrates more best practices for assembly and subassembly naming in drawings that contain many corridor assemblies.
To continue this tutorial, go to Exercise 3: Managing Assemblies and Subassemblies.