AutoCAD Civil 3D Tip: Adding Link, Point, and Shape Codes to Code Set Styles

Written By: Bryan Sullivan

In last month’s tip, we imported custom subassemblies into Civil 3D. These custom subassemblies may have different Link, Point, and Shape codes than we had before. In order to use any new codes in a drawing we need to add them to a Code Set Style. Our new subassembly codes can be added to an existing style or new style.

CREATING A CODE SET STYLE

1. Open a drawing or create a new drawing.
2. The subassembly with the new codes must be inserted in the drawing in order to import the codes. If it is not already in the drawing insert the subassembly. It can be inserted Detached. It does not need to be added to any assembly to add the codes.
3. On the Settings tab of the Toolspace expand General >> Multipurpose Styles >> Code Set Styles.
4. Right-click on Code Set Styles and select “New…”.

Civil 3d Settings Code Set Styles
5. The Code Set Style Dialog will appear.
6. On the Information tab give this new Code Set Style a name.

Civil 3d New Name

IMPORTING CODES

1. Switch to the Codes tab.
2. Expand the Link, Point, and Shape sections to view the contents. The new Code Set Style only contains <default> and <no codes> codes.

Civil 3d No Codes

3. Click the “Import codes…” button in the lower right of the dialog box.

Civil 3d Import Codes

4. Select the subassembly that contains the codes to add and hit <enter>.

In the image below, I am using a Code Set Style that shows link code and point code labels. This is just for display purposes of this exercise to compare the codes displayed in the subassembly to the codes in the Code Set Style.

Civil 3d Sub Assembly Less Civil 3d Style Some Codes

All of the codes that were inserted in the drawing were added to the Code Set Style, but I happen to know that this subassembly contains more codes for additional features not shown, but these codes were not inserted with the subassembly and they were not added to the Code Set Style.

5. If we look at the Subassembly Properties, we can see that the default settings leave some values zeroed out. We need to put values in for all parameters and choose any parameter options available to insert all available codes.

Civil 3d Default Settings

6. After editing all the 0.000’ values our subassembly now contains more codes than before.

Civil 3d All Codes

7. Right-click on the new Code Set Style on the Settings tab of the Toolspace and select “Edit…”
8. Click the “Import codes…” button in the lower right of the dialog box.
9. Select the subassembly that now contains all the codes to add and hit <enter>.
10. Check the Codes tab of the Code Set Style to see that all codes were now added.

Civil 3d Style All Codes

In short, to add all subassembly codes to a Code Set Style insert the subassembly with values for all parameters and/or any subassembly options toggled on/off, etc.

Contact us to help you with adding Link, Point, and Shape codes to Code Set Styles.

Bob Mecham

Bob Mecham

Bob joined the training and consulting firm EnvisionCAD in 2000 and became a partner in June of 2002. He has specialized in the software MicroStation & InRoads from Bentley Systems, Inc. Mr. Mecham is an industry expert in the implementation, configuration, development, and customization of the two software applications MicroStation and InRoads. Bob instructs MicroStation classes ranging from fundamentals to advanced productivity. He has extensive experience using, implementing, and instructing both InRoads Survey and InRoads Site Design. Bob received his degree in Civil Engineering Technology from the Madison Area Technical College in 1992 and has over a decade of experience in the use, implementation, and management of software and CADD systems. He has worked for a wide range of organizations providing services from general survey and engineering services to specific applications such as landfills and site design.

Tags: , ,

Leave a Reply

Your email address will not be published. Required fields are marked *