Command Description
The Map Feature Attributes command enables you to create a mapping rule set which will select a group of objects using all or part of an object name, code or feature (using the wildcard asterisk "*") and apply a new feature and predefined attribute values to those objects simultaneously. These rule sets can then be saved and reused as needed.
- Click in the Entity selection field and then in a graphic view select all the points and CAD objects you want to map. Click Options for additional selection options.
- You can save and import previous rule sets into your project from a .featuremappings file and populate the Mappings table, click the
button at the top of the command pane to import and click
to save.
- To add mappings to the bottom of the table, click the Add button to display the Edit Mapping dialog and do the following:
Filter:
-
- In the Code/Name mask field, enter all or part (using the wildcard asterisk "*") of the name/ID or feature code of the object you want to map.
- Name/Id – works on the name of a line, CAD block name or ID of a point.
- Feature code – works on the feature code of a point.
- Feature – works on the feature of a line, point, polygon or CAD block.
- In the Code/Name mask field, enter all or part (using the wildcard asterisk "*") of the name/ID or feature code of the object you want to map.
For example, if you enter *Fence* (preceded and followed by an asterisk), all objects with Fence in their name will be mapped. This would include, for example, FrontFence1, FrontFence2, and RearFence1.
- Filter attributes can be applied to the above mask as a secondary filter option. This will work on “Feature attributes” or “12d attributes”.
- Select which attribute type required and enter the attribute name and value you wish to search, then leave the second and third attribute options empty or add another to refine further. Once the mask is found true it then checks the attributes and if they are found true will apply the edits. Note: these are decimal point sensitive.
Feature:
-
Select the feature to be used from the dropdown list. These will be all the available features contained in the projects FXL file.
Once the feature is selected the attributes associated with it will be displayed and values can be added. If the value is left empty and the targeted object already has this same feature and a value set, then it will not be changed. You can also use any Placeholders shown below in the value column.
Your selections are displayed in a new row in the Mappings table in the command pane.
- To delete a row from the Mappings table, select the row and click Delete. To delete multiple rows, select the top row and hold shift and select the bottom row, then press delete.
- To move the row order, use the Up and Down arrows and to edit a previously entered row use the Edit button or double click on the row in the table. Note that the order of the mapping file matters as the command looks at the Name Mask from top to bottom. To order the search mask names in alphabetical order in the mapping table simply left click on the Search Mask column heading.
- To insert a row above an existing one click on the row location and press the Insert button. To copy an existing row, highlight the row and press the Copy button and this will be added directly below.
- To export the contents of the Mappings table as rule sets into a “.featuremappings” file that can be reused in other projects, click the button at the top of the command pane.
- Click Apply to apply the changes and keep the Map Feature Attributes command pane open.
The mapping changes are applied to the selected objects and the number that were changed is displayed.
Note: If the same object mask is selected in more than one row in the Mapping table, the mapping rules specified first will apply.
Placeholders
To add a placeholder in the attribute value you must use one of the options linked here.