*SetEntityID()

Sets the unique integer identification number of an entity.

Syntax

*SetEntityID(entity_name, id)

Arguments

entity_name
The variable name of an existing entity.
Data type: varname
id
The integer identification number to be assigned to entity_name.
Data type: integer

Example

*SetEntityID(b_wheel.l, 102400)

Context

*BeginMdl()

*DefineAnalysis()

*DefineSystem()

Comments

Beginning at one, MotionView incrementally assigns numbers to all entities in a model. These numbers can be used in an ID scheme statement to construct solver ID numbers. *SetEntityID() lets you assign a specific ID number to a particular entity, instead of using the ID number generated using the ID scheme.