*Object()
Specifies primitive attributes.
Syntax
*Object ("Part_Name", "Primitive_Name", Off/[empty], On/IDOff/[Empty], color/"Material name"/[Empty], Opaque/Transparent/[Empty], Shaded/Wireframe/[Empty], NoTrace/FullTrace/TraceBySteps/TraceLast)
Application
MotionView and HyperView.
Inputs
- "Part_Name"
- Name of the part to which the object belongs. Must be in double quotes.
- "Primitive_Name"
- The primitive name. Must be in double quotes.
- On
- Displays the object in the graphic window.
- Off
- Turns off the object displayed in the graphic window.
- IDOn
- Displays the name of the object in the graphic window.
- IDOff
- Turns off the name of the object 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 object as solid.
- Transparent
- Defines the object as see-through.
- Shaded
- Renders the object as a filled object.
- Wireframe
- Renders the object as a wireframe object.
- NoTrace
- Turns off tracing for a object.
- FullTrace
- Displays the entire traced path of the object without animating.
- TraceBySteps
- Displays the traced path as the object passes each timestep.
- TraceLast
- Displays the traced path of the object restricted to the last five timesteps.
- [Empty]
- If an option is not specified, the object assumes the attributes of the part to which it belongs.
Context
*BeginGraphic()
Example
*BeginGraphic()
• • •
*Object("Object 1", "Sphere 12", On, 7, Opaque,
Sha, NoTrace)
• • •
*EndGraphic()
Comments
Transparent objects are translucent and reveal the obscured entities behind them.
Opaque objects 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 0 to 63 representing any of the 64 colors on the palette.
If an object references a material, a material name must be specified instead of a color number.
This statement only works for the Animation window.