With a number of commands, placeholders are available to use. One or more of the options below can be utilised ensuring that they are placed as shown, in between { }. Multiple placeholders may be used at once.
Placeholders can be added by right clicking in the text field of the command.
| Placeholder | Description |
|---|---|
| {name} | Name of the line selected or the point ID of a point. |
| {layer} | Layer name of the object selected. |
| {code} | Feature code of the selected object. |
| {attribute x} | This uses the value from the TBC feature attribute of the object selected when it is entered after the word “attribute” in the place of the letter “x” is. |
| {12dattribute x} | This uses the value from the 12d attribute of the object selected when it is entered after the term“12dattribute” in the place of the letter “x” is. Note; if there are multiple attributes with the same name on an object then the first one in the list will be selected. |
| {easting} | The easting of a point or the first node of a line/polygon. |
| {northing} | The northing of a point or the first node of a line/polygon. |
| {elevation} | The elevation of a point or the first node of a line/polygon. |
| {length} | The length of the line or polygon. |
| {length3D} | The value of the slope length of a line or polygon. |
| {area} | The area of a closed line or polygon. |
| {grade} | The grade of the line from start to end. |
| {elevsurface x} | The surface elevation of surface “x” at a point or the first node of a line/polygon. |
| {deltaelevsurface x} | The difference of the surface elevation of surface “x” and the elevation at a point or the first node of a line/polygon. |
| {azimuth} | The horizontal azimuth of a line from start to end. |
| {desc1} | Description 1 of the point. |
| {desc2} | Description 2 of the point. |
| {text} | This uses the closest text to name to the object based on its location. You must select the text at the same time as the object to rename. For points it uses the point being renamed as the location, for linestrings it uses the centroid of the line for the location. Note; only available with rename objects |
Placeholder Example: A new name for either the object or layer could be:
Current selected Object:
- Name - “ITS Cable” on Layer – “E COMM”
Apply placeholders:
- Object Name to “{name} {attribute Diameter} Rev1” = “ITS Cable 150 Rev1”
- Layer Name to “{layer}_{name}_{attribute Material} = “E COMM_ITS Cable 150 Rev1_PVC”