Like a lot of things in Civil3D, it is possible but not easy to do. This post is an attempt to provide a step-by-step procedure on how to add additional properties to AeccCogoPoints.
While changes are possible, it’s highly recommended that before you setup a UDP classification that you think through all the fields you might need. For this sample, we will assume you want to add information about trees located in the field. This procedure concentrates on the UDP data aspect, not appearances, symbols, etc.
Potential fields include:
- Type (String)
- Trunk (Double)
- Height (Double)
Setting up the UDP fields:
- Make sure ToolSpace is showing.
- Switch to the [Settings] tab.
- Expand the Point section.
- Expand User Defined Properties.
- Select User Defined Properties.
- Right click, choose new.
- Classification Name, enter Trees.
- Select Trees under UDP.
- Right click, choose new.
- Enter Type for Name, make sure field type is [String]. Optionally enter a default value, for example is pine trees are prominent in your area, enter Pine. Click [OK].
- Right click on Trees again, choose new.
- Enter Trunk for Name, make sure field type is [Double]. Optionally enter range information, such as 0.0 for minimum and 72.0 for maximum, adjust these numbers as you see fit. Click [OK].
- Right click on Trees again, choose new.
- Enter Height for Name, make sure field type is [Double]. Optionally enter range information.
- Click [OK].
Setup the point group:
- Switch to the [Prospector] tab.
- Click on then Point Groups item.
- Right click, choose New.
- Change the Name to Trees.
- Change the Point Style to Tree.
- Change the Point Label Style to Point# and Description (or another other layout you want to start with).
- Choose the pulldown to the right and choose “Copy Current Selection”
- Change the name to “Trees (Custom)”
- Click the Layout tab at top.
- In the Text section below, click the […] to the right of cContents.
- Click the right pane and press enter after “<[Full Description(CP)]>”.
- In the left pane, pull down Properties and choose “Type”, then click [>].
- Click the right pane and press enter for a new line.
- Repeat the properties for Trunk and Height.
- Click [OK] to close the Text Component Editor.
- Click [OK] to close the Label Style Composer.
- Click on the [Include] tab.
- Check on “With raw description matching” and Click [OK] to close the Point Group Properties.
In the process above you could have entered prefix text in front of the fields, such as “Type: <[Type(CP)]>”. Now when you create points in the Trees group, it will have the Tree UDP available. You can select a point and the Tree UDP can be entered/edited in the PROPS pane and there are other edits possible in the point panarama, etc.
Setup point table:
- Initiate the Point Table Creation tool.
- Choose the pulldown to the right and choose “Copy Current Selection”
- Change the name to “Trees (Custom)”
- In the [Data Properties] tab, click the [+] in the lower right.
- Use the horizontal scroll to scroll to see the column.
- Double click the Column Value cell, Type is already selected, click [>], click OK.
- Double click the Column Header cell (right of Description), enter “Type” in the right pane, click OK.
- Repeat at step four for the Trunk and Height UDP values, then close the Table Style dialog.
- Click the “[+] No point groups selected” and choose the Trees point group.
- Click [OK] and pick a point for the table.