MPList Statement

Application
Mass Property Object MP#

Description
Displays a list of Mass Property Objects.

Immediate Execution
Yes

Usage
MPList Object1 [, [Object2]]

  • Object1
    The Mass Property Object name starting the object data range to be listed, or a string variable defining the Mass Property Object name.

  • Object2
    The Mass Property Object name starting the object data range to be listed, or a string variable defining the Mass Property Object name.

Detailed Explanation
The defined object data from the specified start object to the specified end object is displayed in the Command window or Run window.

When “,” and the end object are omitted, only the start object is displayed, and when “,” is used and the end object is omitted, all objects from the start object on are displayed.

The output format for each line is the same format as the parameter for the MPSet Statement.

Object.Property, Values

Object Object name
Property Property name
Values The number or format expressing the value depends on the property

Usage Example
This example lists the Mass Property Object data.

> MPList MP1
MP1.Label, "Label1"
MP1.Mass, 0
MP1.GravityCenter, 0, 0, 0
MP1.Inertia, 0
MP1.Description, ""

See Also
Mass Property Object MP#