*SetSystemNumber()

Sets the unique integer associated with a system.

Syntax

*SetSystemNumber(system_name, system_num)

Arguments

system_name
The variable name of an existing system.
Data type: varname
system_num
The integer identifier to be assigned to system_name .
Data type: integer

Example

*SetSystemNumber(sys_steering, 53)

Context

*BeginMdl()

*DefineAnalysis()

*DefineSystem()

Comments

Beginning at one, MotionView incrementally assigns numbers to all systems in a model. These numbers are used to construct solver ID numbers. The *SetSystemNumber() can be used to assign an integer value to a particular system, rather than use the value generated by MotionView.