Name by Layer Command

D_AssignNameFromLayer_600ppi   Name by Layer

Command Licensing and Default Menu Location

  • The Name by Layer command is part of the RPS Data Prep Toolbox
  • The command is located on the Data Prep macros menu ribbon
  • The command is located in the Modify menu group


Command Description

Names line objects using the name of the objects layer. Select the lines to name and enter a name “mask”. This is a useful tool to prepare imported CAD data for field users of Trimble Siteworks or SCS900 etc.


Command Interface Description

The Name by Layer command dialog looks as follows

Lines to name:
Select the lines that you want to name using the layer of the objects as the basis for the name.

Ignore lines with a name checkbox:
If lines that you select already have line names, you can elect to not rename those lines in this process by checking the check box.

Use mapping file checkbox:
If you want to name the objects grouped by layer using a mapping file that defines the source layer name and the target object name, you can elect to do that there.

The mapping file name can have any name and any file name extension e.g. Name by Layer.txt

The mapping file will have the format Layer Name, Line Name on each line of the file

You can store the mapping file wherever you want on your computer.

Here is a simple example file

image

If you enable the Use mapping file checkbox, then you can browse your PC for the mapping file that you wish to use. We recommend that you have a TBC Master Folder in your My Documents folder where you can store TML Map Files and other custom files required for TBC use (Menus, Templates, Color Mapping files etc.)

Name mask:
Use {L} for layer name
Use {N} for current name

You can include Prefix and Suffix characters around these entries e.g. V1-{L} would prefix the Layer Name with V1- and then the layer Name e.g. for Layer Name GRDG-Swale you would get V1-GRDG-Swale etc.

Add line label? checkbox:
If you check this checkbox, the command will find the center of each line selected and place a label showing the name of the object aligned to the line at that location.This function is only available when you are mapping the names using the layer names, not when you are using a mapping file.

If you check the check box, then you can define the Layer and text style for the labels that you are creating.

OK
Executes the command and closes on completion

Cancel
Closes the command without further execution.


Video Demonstration

The following video shows how to utilize the Name by Layer command




Example Mapping File
Name by Layer.txt (556 Bytes)


Use Case Videos

The following videos show the use of the Name by Layer command in a work process context. It also highlights some new licensed features of the command for advanced data prep users.


***

Feedback and Enhancement Requests

If you would like to provide feedback on the use of the Name by Layer command or to request enhancements or improvements to the command please Click Here