Adams Basic Package > Adams View > View Command Language > animation > animation replace_simulation

animation replace_simulation

Replace an existing analysis/page name with another in the animation.

Format:

 
animation replace_simulation
animation_name =
an existing animation
page_name =
an existing page
old_analysis_name =
an existing analysis
new_analysis_name =
a new analysis

Example:

 
animation replace_simulation &
animation_name =
anim__1 &
old_analysis_name =
last_run &
new_analysis_name =
ana__1

Description:

 
Parameter
Value Type
Description
animation_name
An Existing Animation
Specify name of an existing animation.
page_name
An Existing Page
Instead of animation_name, you can specify the page name containing the animation.
old_analysis_name
An Existing Analysis
Specify name of the existing analysis.
new_analysis_name
A New Analysis
Specify name of the new analysis

Extended Definition:

1. This command is useful when you need to compare two animations side by side. For example if you want to compare the animation of two cars side by side and see which is faster, you can add the simulation of one car to the other cars animation.
2. Normally, entity names are composed of alphabetic, numeric, or '_' (underscore) characters, and start with an alphabetic or '_' character. They may be any length. For more information, see Using Extended Names.
By enclosing the name in double quotes, you may use other printable characters, or start the name with a numeral. If a name contains characters, or starts with a numeral, you must always quote the name when entering it.
 
Note:  
You can specify the parentage of an entity (e.g. what part "owns" a marker or a geometry element) when you CREATE it by changing the name. If you enter just the entity name, then the default parent will be assigned by Adams View. If you type in the full name, then you may over ride the default parent. In most cases, when creating anentity, Adams View will provide a default name. The default namethatAdams View provides will specify the parentage that it has assumed.
You may, or course, delete this name and use your own. The form of a full name is:
"...._NAME.GRAND_PARENT_NAME.PARENT_NAME.ENTITY_NAME"
The number of levels used varies from case to case and the parentage must exist before an entity can be assigned to it.