Placeholders

Placeholders are available for a number of commands. Use one or more of the options, ensuring that they are placed as shown, in between brackets { }. You can use multiple placeholders at once.

Right click in the text field of the command to add a placeholder.

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 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 slope length of a line or polygon.

{area}

Thie 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

{project}

Name of TBC project

{date}

Today's date YYYYMMDD

{time}

Current time HHMMSS

Placeholder Example: A new name for either the object or layer could be:

Selected object:

  • Name - "ITS Cable" on Layer – "E COMM"

Apply the following 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"