*SetAnalysis()
Sets the scope for other *Set() statements.
Syntax
*SetAnalysis(analysis_name)
Arguments
- analysis_name
- The variable name of an existing analysis.
Example
*BeginMdl( model, "Model" )
*System( sys_body, "Body", def_sys_body )
*System( sys_frnt_susp, "Frnt macpherson susp
(1 pc. LCA)", def_sys_frnt_susp,
model.sys_body.b_body )
*System( sys_steering, "Rackpin steering",
def_sys_steering,
model.sys_frnt_susp.b_kn,
model.sys_body.b_body,
model.sys_frnt_susp.p_otrb )
*Analysis( an_2Droad_event, "2D Road Event",
def_an_2Droad_event, THIS,
model.sys_frnt_susp.b_wheel,
model.sys_rear_susp.b_wheel,
model.sys_frnt_susp.j_w_spin_rj,
model.sys_rear_susp.j_w_spin_rj,
model.sys_steering.sys_column.
j_st_wheel,
model.sys_body.b_body,
model.sys_tires.ds_tire_prop )
*SetAnalysis(model.an_2Droad_event)
*EndMdl()
Context
Comments
The *SetAnalysis() statement defines the scope for all of the *Set() statements that follow it. For example, if one analysis definition is used three times, and the analysis definition creates a vector, then the model contains three vectors with the same name. The *SetAnalysis() statement identifies which of the three vectors are affected by succeeding *Set() statements.