*SetOrientation()
Specifies the model orientation for graphics windows.
Syntax
*SetOrientation (Front/Back/Iso/Left/Right/Top/Bottom)
Application
MotionView and HyperView.
Inputs
- Front
- Orients the model so that you are looking at the front.
- Back
- Orients the model so that you are looking at the back.
- Iso
- Orients the model in an isometric view.
- Left
- Orients the model so that you looking at the left side.
- Right
- Orients the model so that you looking at the right side.
- Top
- Orients the model so that you are looking down on it from above.
- Bottom
- Orients the model so that you are looking up on it from below.
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)
*Marker(Default, Off, 5, Opaque, Shaded, NoTrace)
*SetPartColorList(8,9,10,11,12,13,14,15)
*EndGraphicDefaults()
• • •
Comments
When a script is saved, the orientation is defined as a view matrix. When writing your own script or editing an existing one, the view matrix can be replaced with any one of the four primary views available on the control panel: top, isometric, front, and left views. It is not recommended that view matrices be edited.