*SetOption()
Sets the value of an option.
Syntax
*SetOption(option_name, "option_value")
Arguments
- option_name
- The variable name of an existing option menu.
- option_value
- The item to be selected from the option menu.
Example
*SetSystem(model.sys_misc)
*SetOption(Op_Compliant, "Yes")
*SetOption(ds_gravity.op_gravity, "On" )
*SetReal(ds_gravity.igrav, 0)
*SetReal(ds_gravity.jgrav, 0)
*SetReal(ds_gravity.kgrav, -9810)
*
SetOption(ds_units.op_force, "NEWTON" )
*SetOption(ds_units.op_length, "MILLIMETER" )
*SetOption(ds_units.op_mass, "KILOGRAM" )
*SetOption(ds_units.op_time, "SECOND" )
*SetFileName(ds_report.req_file,
Solver_File_basename.value + ".req" , )
*SetFileName(ds_report.gra_file,
Solver_File_basename.value + ".gra" , )
*SetFileName(ds_report.sdf_out_file,
Solver_File_basename.value +
".output" , )
Context