*Force()
Specifies default display settings for forces.
Syntax
*Force (Default/"Name", On/Off, Color, Opaque/Transparent, Solid/Wireframe, NoTrace/FullTrace/TraceBySteps/TraceLast, Force/Moment/Both, Component/Resultant, Label/Value/None)
Application
HyperView
Inputs
- Default
- Indicates that all forces are displayed using the default settings.
- "Name"
- A specific name. Must be in double quotes. Attributes are applied to specified force only.
- On
- Displays the force in the graphic window.
- Off
- Turns off the force displayed in the graphic window.
- IDOn
- Displays the force ID in the graphic window.
- IDOff
- Turns off the force ID displayed in the graphic window.
- Color
- A number between 0 and 63 that specifies the color of the force vector.
- Opaque
- Defines the force vector as solid.
- Transparent
- Defines the force vector as see-through.
- Shaded
- Renders the force as a filled object.
- Wireframe
- Renders the force as a 3D wireframe object.
- NoTrace
- Turns off tracing for the force.
- FullTrace
- Displays the entire traced path of the force.
- TraceBySteps
- Displays the traced path of the force as it passes each timestep.
- TraceLast
- Displays the traced path of the force restricted to the last five timesteps.
- Force
- Displays only the force associated with the part.
- Moment
- Displays only the moment associated with the part.
- Both
- Displays both the force and the moment associated with the part.
- Component
- Displays the force as the individual component vectors.
- Resultant
- Displays the force as the combined result of the component forces
- Label
- Displays the vector with the label.
- Value
- Displays the vector with the label and the magnitude of the force.
- None
- Displays the force without a label or value.
Context
*BeginGraphicDefaults()
Example
• • •
*BeginGraphicDefaults()
*SetOrientation(Top)
*SetBackgroundColor(0)
*Part(Default, On, -1, Opaque, Shaded, NoTrace)
*Part("P/999", Off, 8, Opaque, Shaded, NoTrace)
*Force(Default, Off, 2, Opaque, Shaded, NoTrace,
Force, Resultant)
*Force("F/1025", On, 5, Opaque, Shaded,
FullTrace,
Both, Component)
*Force("F/1030", On, 24, Opaque, Wire, NoTrace,
Moment, Component)
*Marker(Default, Off, 5, Opaque, Shaded,
NoTrace)
*SetPartColorList(8,9,10,11,12,13,14,15)
*EndGraphicDefaults()
• • •
Comments
Default attributes for individual forces can be specified by including a *Force() statement for each force and using the name of the specific force in place of the Default option.
Colors are numbered from 0 to 63 representing any of the 64 colors on the palette.
FullTrace displays the traced path without animating the model. The model must be animated for TraceBySteps and TraceLast to display the path of motion.
This statement is used in the Animation window.