Add codes to a subassembly created from a polyline.
After you create a subassembly from a polyline, the next step is to add the necessary codes to the subassembly. For more information, see Creating Subassemblies From Polylines.
To add a code to a subassembly created from a polyline
- In the drawing, select the subassembly, then right-click it and click Add Code.
- Enter the code and press Enter.
Note
The code you enter must be an existing code, or, if it is a new code, you must make sure that it gets added to the codes file (C3DStockSubassemblyScripts.codes). For more information, see Adding a New Code to the AutoCAD Civil 3D Stock Subassembliesstock subassemblies:adding a new code.
- Select a point, link, or shape on the subassembly.
- To see the code, in Toolspace, on the Prospector tab, right-click the subassembly and select Properties. Click the Codes tab. The code added is displayed in the Name column under the point, link, or shape collections.

.