MPNumber Function

Application
Mass Property Object MP#

Description
Returns the Mass Property Object number matching the specified Mass Property Object label.

Usage
MPNumber(Object)

  • Object
    Mass Property Object name
    The Mass Property Object is specified as MP (label).

Return Values
Integers

Detailed Explanation
Returns the Mass Property Object number matching the specified Mass Property Object label. An error occurs when there is not matching object.

Usage Example
This example specifies the label for the Mass Property Object, then acquires the number from the label.

> MPSet MP1.Label, "Label1"
> Print MPNumber(MP(Label1))
 1

See Also
Mass Property Object MP#