PmitLengthUnit
Enumerated type for specifying length unit in API session
Description
Warning
This content is specific to Simscape™ Multibody™ First Generation software. First-generation features are slated to be deprecated and should be avoided.
PmitLengthUnit
is a C language enumerated
type.
You can define a variable of this type globally when you start a Simscape Multibody Link API session.
These are the variable's allowed enumerated values.
Value | Length Unit Type |
---|---|
PMIT_LU_UNKNOWN = -1 | Unknown |
PMIT_LU_M = 0 | Meter |
PMIT_LU_CM | Centimeter |
PMIT_LU_MM | Millimeter |
PMIT_LU_KM | Kilometer |
PMIT_LU_IN | Inch |
PMIT_LU_FT | Foot |
PMIT_LU_MI | Mile |
PMIT_LU_YD | Yard |