HyperWorks Desktop

*SetOrientation()

Specifies the model orientation for graphics windows.

*SetOrientation()

Specifies the model orientation for graphics windows.

Previous topic Next topic No expanding text in this topic  

*SetOrientation()

Specifies the model orientation for graphics windows.

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

Syntax

*SetOrientation(Front/Back/Iso/Left/Right/Top/Bottom)

Arguments

Names

Description

 

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.

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()

• • •

Application

MotionView and HyperView.

Context

*BeginGraphicDefaults()

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.

See also

 

*BeginGraphicDefaults()

List of Preference Statements