Adams Basic Package > Adams View > View Command Language > defaults > defaults name_generation model

defaults name_generation model

Allows you to set the name-generation prefixes for model entities.

Format:

 
defaults name_generation model
model_prefix =
string
gravity_field_prefix =
string
sensor_prefix =
string

Example:

 
defaults name_generation model &
model_prefix =
my_car_model
Once this command is executed, if we create a new model, the model will get the name, MY_CAR_MODEL2. New models created after that get the names My_CAR_MODEL_3 and so on. If the generated name is not unique, Adams View appends a '_2' to the name. If the name is still not unique, Adams View increments the '2' to a '3'. Adams View will continue incrementing until it finds a unique name.

Description:

 
Parameter
Value Type
Description
Model_prefix
String
Specifies the text string to be used as a prefix when Adams View generates names for a model.
Gravity_field_prefix
String
Specifies the text string to be used as a prefix when Adams View generates names for a gravity_field.
Sensor_prefix
String
Specifies the text string to be used as a prefix when Adams View generates names for a sensor.

Extended Definition:

1. 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.