Edit Naming Conventions

Modify attributes associated with project data

Edit Naming Conventions

Accessing this panel:

  • Using the Planning ribbon menu, click Project | Settings. The Naming Convention Assignments group is found on this panel. Click Edit Naming Conventions.

The Naming Convention Assignments group of the Project Setup dialog is used to modify the attributes, properties and names associated with project data; this enables Studio UG to be tailored to the individual requirements of your projects.

Once defined, these conventions are selectable on the Project Settings panel.

Defining a Convention

Existing conventions are listed on the left under the Name column. This area is used to select a convention, which will automatically update the contents of the table on the right to show the convention details.

You can use the following buttons to manage your conventions:

  1. Import an XML file containing convention information.
  2. Export an XML file containing convention information - useful for standardizing on naming conventions throughout an organization.
  3. Add a new, empty, naming convention
  4. Copy the currently selected naming convention.
  5. Delete a naming convention. Note that this is only possible if the naming convention has not already been subject to processing. Once processed, a convention will be locked.

Conventions can be created based around an Attribute value, the current Project Name and/or free-form Text. Each of these elements can be further modified using the parameters in the conventions table. You can includes as many naming elements in a convention as you need.

The order of entries in the naming convention details table on the right can be easily modified with the use of the arrow buttons on the right of the dialog. Select the entry that is required to be positioned earlier in the convention string and click the up arrow. The reverse procedure applies to positioning an element later in the convention string.

Consider an example:

You wish for your planning report to set a naming convention for all activities associated with a specified cross-sectional design string (FXS).

Initially, you want each activity to describe the current project name, then the segment number of the activity. This needs to be followed by the value held by a PHASE attribute in the design string (describing phase 1 to 9). Finally, the string should be finalized with a fixed value representing the production year.

As a more detailed example, assume you wish to define a convention using the following rules, and wish to apply this convention only to the Fixed Cross Section design type, and specifically, the 'Cubby' element:

  • Use the first 2 characters of the current project name (which is "UG_Documentation")
  • Record the value of the zone attribute ZONE1WF, a single character (there are four zones 1-4)
  • Finalize the naming convention with a fixed "Draft" suffix
  • Join the 3 convention elements with an underscore.

An example of expected output would be, for example, "UG_1_Draft".

Initially, you would need to create a new naming convention using the controls on the left of the panel. You would also need to ensure that ZONE1WF (a spatial 3D attribute in this example) is available by setting it up using the Attributes panel.

Once that's done, the table below represents the rules required for the new convention:

Note the use of Right and Left Padding Type to ensure underscores are only added within the name, not at the start or end.

Managing Convention Elements

Above the table, Naming Conventions tab displays the following buttons:

  1. Add - to add an item.

  2. Insert - to insert a new item.

  3. Move Up - to move an item up the list.

  4. Move Down - to move an item down the list.

  5. Delete - to delete a convention element.

Convention Properties Table

The Convention Properties table shows the current convention definition for the selection on the right. Some fields are only available to certain convention types, otherwise, they are disabled.

Type: select from one of the following:

  • Attribute: select a previously defined attribute from which to extract a corresponding value. Activates the Attribute field, From Index and To Index fields, plus padding fields.

  • Project Name: use all or part of the existing project name. Activates the From Index and To Index fields, plus padding fields.

  • Text: use freeform, static text as part of the name. Activates the Text field only.

Text: only available for [Text] elements, enter any freeform text into this field. All characters will be used in the naming convention.

Attribute: select any previously defined numeric or alphanumeric attribute from the drop-down list. Only available for [Attribute] convention elements.

From Index: the character position from which to start extracting the naming element. Only available for [Project Name] and [Attribute] convention elements.

To Index: the character position (inclusive) to end the naming convention element. If this is longer than the original data, all data will be used.

Examples:

  • For the numeric value "112233", if From Index is set to '3' and To Index is set to '2', the element will be '223'.

  • For the alphanumeric value "NW_Creek", if From Index is '3' and To Index is '10', the element will be '_Creek'

Padding: select whether the delimiter character is on the left or right of the naming convention element, or [None] if no padding is to be used. If [Left] or [Right] is selected, enter the character you wish to use to delimit the current element in the Character field.

note.gif (1017 bytes)

If Type is set to [None], Padding will automatically adjust the name to the attribute length

 

Length: a read-only field representing the length of the current element.

Note: This screen includes table grids that support multiple row selection.

  openbook.gif (910 bytes)   Related Topics

 

Edit FiltersEdit Convention Attributes