*MarkerIDScheme()
Specifies a scheme for assigning solver ID numbers to markers.
Syntax
*MarkerIDScheme(scheme)
Arguments
- scheme
- A string of letters that describes the identification numbering scheme for all markers.
Example
*MarkerIDScheme(PPBBLSSI)
If this statement
generated a marker ID of 4021030 (04 02 1 03 0), it would identify the fourth point (04)
belonging to the second part (02) on the left side (1) of the third system (03). If the scheme
were changed to:
*MarkerIDScheme(LPPSSBBI)
The same part would have a marker ID number of 10403020 (1 04 03 02 0).
In this ID scheme, the incrementor "I" is used to create unique Marker IDs when more than one marker is located at the same point and attached to the same body.
Context
Comments
Beginning at one, MotionView incrementally assigns numbers to all markers in a model. These numbers are used to construct solver ID numbers.
A marker ID scheme can contain the format characters L (locator), S (system number), B (body number), P (point number) and I (incrementor). 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 incrementor (I) creates unique integer ID numbers for coincident markers. When a point appears in multiple connectivities, multiple markers are created at the same location on the body. The incrementor differentiates the markers. If the format character I is not present in the *MarkerIDScheme() statement, the ID numbers of the coincident markers are selected from the ID number pool.
Element | Values | Limits |
---|---|---|
B body | 0 - 9 | up to eight B’s per scheme |
I incrementor | 0 - 9 | up to eight I’s per scheme |
L location | 1 - left 2 - right 3 - neither |
only one L per scheme |
P point | 0 - 9 | up to eight P’s 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.
Marker identification numbers can be assigned in a *SetEntityID() statement, or automatically generated by MotionView. Similarly, marker numbers and system numbers can be assigned in the *SetEntityNumber() and *System()-MDL Statement, respectively, or automatically generated by MotionView.