hwI3DViewCtrl SetOrientation
Sets the orientation of the plot.
Syntax
hwI3DViewControl_handle SetOrientation str
Application
HyperWorks Tcl Modify
Description
This command sets the orientation (view) of the plot to your request.
Inputs
- str
- Input one of the following strings to change the orientation: “left”, “right”, “top”,
“bottom”, “front”, “back”, “reverse” or “iso”.Each string represents an orientation.
- left
- Represents a view of the left side of the 3D plot.
- right
- Represents a view of the right side of the 3D plot.
- top
- Represents the top side of the 3D plot.
- bottom
- Represents the bottom side of the 3D plot.
Each of the above views only shows that particular side, creating a 2D view.- "iso"
- Represents a view of the entire plot, showing the x, y, and z axes in 3D.
- "reverse"
- Sets the plot to the opposite view of th current orientation.
Example
hwi OpenStack;
hwi GetSessionHandle sess;
sess GetProjectHandle proj;
proj GetPageHandle p1 1;
p1 GetWindowHandle w1 1;
w1 GetViewControlHandle vc
vc SetOrientation "reverse"
Error
Returns success (0) or an error message.
Keywords
HyperWorks
3D plot
Tcl
Modify