defaults name_generation layout
Defaults Name_generation layout allows you to control the layout of default names.
Format:
defaults name_generation layout |
|---|
prefix_active = | yes/no |
prefix_text = | string |
entity_prefix = | yes/no |
integer_id = | yes/no |
suffix_active = | yes/no |
suffix_text = | string |
Example:
defaults name_generation layout & |
|---|
prefix_active = | yes & |
prefix_text = | abc & |
entity_prefix = | yes & |
integer_id = | yes & |
suffix_active = | yes & |
suffix_text = | def |
Description:
Parameter | Value Type | Description |
|---|
prefix_active | Boolean | Specifies whether or not to add the PREFIX_TEXT string to the beginning of a modeling entity's name. |
prefix_text | String | Specifies a text string to start all modeling entity names with. |
entity_prefix | Boolean | Specifies the text string to be used as a prefix when Adams View generates names for a database entity. |
integer_id | Boolean | Specifies whether or not Adams View should append an integer ID to the end of database names, when generating them. |
suffix_text | String | Specifies whether or not to append the SUFFIX_TEXT string to the end of a modeling entity's name |
suffix_active | Boolean | Specifies whether or not to append the SUFFIX_TEXT string to the end of a modeling entity's name. |
Extended Definition:
1. Adams View combines four components when automatically generating a name:
■a general prefix
■an entity-specific prefix
■an integer entity identifier
■a general suffix
You use this command to specify the general prefix and suffix, and to control which components are included in the name. By default, Adams View uses only the entity-specific prefix and integer entity identifier.
2. PREFIX_TEXT is a string that Adams View will add to the start of a database name.
Example
PREFIX_TEXT = "sla_"
PART_NAME = "wheel"
The resultant name would be "sla_wheel"
3. By enclosing the string for prefix_text in double quotes, you may use other printable characters, or start the name with a numeral. If a name contains special characters, or starts with a numeral, you must always quote the string when entering it.
4. Normally, text strings are composed of alphabetic, numeric, or '_' (underscore) characters, and start with an alphabetic or '_' character. They may be of any length. For more information, see
Using Extended Names. By enclosing the text string in double quotes, you may use other printable characters, or start the name with a numeral. If a text string contains other printable characters, or starts with a numeral, you must always quote the text string when entering it.
5. In the case of Adams modeling entities, this integer ID will be the ADAMS_ID. In the case of post-processing entities, like plots, the integer ID is just an integer to make the name more unique. Entering YES, will instruct Adams View to append integer IDs to all database names. Entering NO, will instruct Adams View NOT to append integer IDs to all database names.
6. SUFFIX_TEXT is a string that Adams View will append at the end of a database name.
Example
SUFFIX_TEXT = "_sla"
PART_NAME = "wheel"
The resultant name would be "wheel_sla"
7. SUFFIX_TEXT is a string that Adams View will append at the end of a database name.
Example:
SUFFIX_TEXT = "_sla"
PART_NAME = "wheel"
The resultant name would be "wheel_sla"