*Part()

Specifies part attributes such as part name, color, and visibility.

Syntax

*Part ("Name", On/Off, IDOn/IDOff, Color/"Material Name", Opaque/Transparent, Shaded/Wireframe, NoTrace/FullTrace/TraceBySteps/TraceLast, MeshStyle)

Application

MotionView

Inputs

"Name"
The part name. Must be in double quotes.
On
Displays the part in the graphic window.
Off
Turns off the part displayed in the graphic window.
IDOn
Displays the name of the part in the graphic window.
IDOff
Turns off the name of the part displayed in the graphic window.
Color
A number between 0 and 63 that specifies a color on the palette of 64 colors.
"Material Name"
The material name (used if the specified part references a material).
Opaque
Defines the part as see-through.
Transparent
Defines the part as clear.
Shaded
Renders the part as a filled object.
Wireframe
Renders the part as a wireframe object.
NoTrace
Turns off tracing for a part.
FullTrace
Displays the entire traced path of the part without animating.
TraceBySteps
Displays the traced path as the part passes each timestep.
TraceLast
Displays the traced path of the part restricted to the last five timesteps.
MeshStyle (Optional)
Displays various line types on the part:
Msh
Displays mesh lines superimposed on the part.
Ftl
Displays feature lines superimposed on the part.
Edg
Displays edges superimposed on the part.
NoL
Displays no lines. This is the default if the argument is omitted.

Context

*BeginGraphic()

*BeginPage()

Report Definitions

Example

*BeginGraphic()
       • • •
      *Part("Sphere 12", On, 7, Opaque, Sha,
         TraceBySteps)
       • • •
*EndGraphic()

Comments

Part names appear in the Entity list on the Part Attributes panel.

Transparent parts are translucent and reveal the obscured entities behind them.

Opaque parts are solid and hide the entities behind them.

FullTrace displays the traced path without animating the model. The model must be animated for TraceBySteps and TraceLast to display the path of motion.

Colors are numbered from left to right, top to bottom starting with 0 in the Entity Attributes panel.

If a part references a material, a material name must be specified instead of a color number.