Unit names are values that uniquely identify traversable indoor spaces in CAD data. Unit names must meet certain requirements to be successfully imported to ArcGIS Indoors. ArcGIS Indoors supports unit names configured in single and multiline text, as well as unit names stored as block attributes when performing validation checks. Configuring unit names allows you to validate the data using unit name validation checks.
Configuring unit names allows for your data to be validated with the Unit Name Missing and Unit Name Not Unique validation checks. You can use ArcGIS Indoors for AutoCAD to validate the following rules for unit names:
- Each unit in the drawing has a name.
- The justification point of the text (or the block's base point, if using block attributes) is positioned inside the unit boundary.
- Multiple instances of unit name text within the same unit must be identical. This is to accommodate large or winding units that need multiple instances to visualize the unit’s name on the drawing.
- Each unit name is unique—When validating unique names, capitalization and spaces are ignored.
Access the validation settings for unit names in Indoors for AutoCAD, in the Configure Validation pane, on the Unit Names tab.
Set the unit name feature layer
When you configure the Unit Names tab in the Configure Validation pane, you can specify the entities in the drawing that define unique names for each unit.
To set the unit name feature layer, complete the following steps:
- Start Autodesk AutoCAD and open a new or existing project.
- On the ribbon, in the Validation group, click Configure .
The Configure Validation pane appears.
- In the Configure Validation pane, click the Unit Names tab.
- Create a feature layer, if necessary.
- In the Configure Validation pane, in the Feature Layer section, click New to open the Feature Layer Properties dialog box.
- Type a name in the Feature layer name text box or accept the default value.
- Click the Entity type drop-down arrow and choose Text for TEXT or MTEXT entities, or choose Block Attributes if the unit names are in block attributes.
Note:
The entity type determines the geometry type of the feature layer and cannot be changed after the feature layer is created. To assign a different entity type, create a new feature layer.
- Select one or more CAD layers with entities representing unique unit names.
Tip:
For best performance, the feature layer should only include unit name entities. To filter entities based on color, line type, or other CAD properties, use ArcGIS for AutoCAD to edit the feature layer.
- Click OK.
- Click the Feature Layer drop-down arrow and choose the feature layer that defines the entities in the drawing that represent unique unit names.
The drop-down menu displays annotation layers for text, and point feature layers for block attributes.
Note:
To disable Unit Name validation checks, choose the empty (blank) item at the top of the list.
- If the feature layer has unit names in block attributes, configure the Block Attributes section:
- Click the Block name drop-down arrow and choose the block that has the unit name attribute.
- Click the Attribute tag drop-down arrow and choose the tag from the block that has the unit names.
Note:
If the Block Attributes section is disabled, ensure that the feature layer meets the following criteria:
- Entity Type is set to Block Attributes.
- The feature layer includes blocks.
- The blocks included in the feature layer have block attributes.
The data is now configured for use with unit name validation checks.
Parse unit name text
Indoors for AutoCAD supports parsing and extracting portions of delimited text. If unit names are part of larger strings, you can configure Indoors for AutoCAD to extract only the unique unit name details for validation checks.
To configure unit name parsing, complete the following steps in the Text Parsing section on the Unit Names tab of the Configure Validation pane:
- For the Delimiter parameter, type one or more characters that separate unit names from other information in the text string.
Use \P to indicate a line break. To stop parsing, clear the delimiter setting.
- For the Index parameter, specify the piece of delimited text to extract.
An index of 1 extracts the first piece, 2 extracts the second piece, and so on.
Example 1
An example of unit names found in longer strings:CAMPUS.CURIE.A-101
The sample parsed text is displayed next to Sample in the Text Parsing section:
Example 2
An example of unit names in a multiline string:Curie Hall
Room 327
Executive Office
The sample parsed text is displayed next to Sample in the Text Parsing section: