*PartIDScheme()

Specifies a scheme for assigning solver ID numbers to parts.

Syntax

*PartIDScheme(scheme)

Arguments

scheme
A string of letters that describes the identification numbering scheme for all parts.
Data type: string

Example

*PartIDScheme(BBLSS)
If this statement generated a part ID number of 2104, it would identify the second part (02) on the left side (1) of the fourth system (04).If the scheme were changed to:
*PartIDScheme(LSSBB)

The same part would have an ID number of 10402 (1 04 02).

Context

*BeginMdl()

Comments

Beginning at one, MotionView incrementally assigns numbers to all bodies in a model. These numbers are used to construct solver ID numbers.

A part identification number can include the format characters L (locator), S (system number) and B (body number) in any order. Each character in the scheme represents one digit of the identification number. Repetitions of a character in the ID scheme reserve that many spaces for that number in the ID. If a part number or system number has fewer digits than the places reserved for it in the ID scheme, it is padded with zeros on the left. Identification numbers can be up to eight characters long.

The format descriptors for part ID numbers are:
Element Values Limits
B body 0 - 9 up to eight B’s per scheme
L location 1 - left

2 - right

3 - neither

only one L per scheme
S system 0 - 9 up to eight S’s per scheme

If a unique identification number as described by the scheme cannot be generated, a number from a pool is assigned. The pool begins at 70000000 and continues onward.

Part identification numbers can be assigned in a *SetEntityID() statement or automatically generated by MotionView. Similarly, part numbers and system numbers can be assigned in the *SetEntityNumber() and *System()-MDL statements, respectively, or automatically generated by MotionView.