MPDef Function

Application
Mass Property Object MP#

Description
This returns whether the Mass Property Object is defined or not.

Usage
MPDef(Object)

  • Object
    Mass Property Object name
    Mass Property Object is specified as either of MP (numerical value) or MP (label).

Return Values
“True” if the specified force object is defined, “False” if undefined.

Detailed Explanation
This returns whether the specified Mass Property Object is defined or not.

Usage Example
This is an example of displaying that the Mass Property Object is defined.

Function main
  If MPDef(MP9) Then
    Print "MP9 is defined"
  EndIf
Fend

See Also
Mass Property Object MP#