hwI3DViewCtrl SetOrtho

Sets the ortho of the 3D plot.

Syntax

hwI3DViewControl_handle SetOrtho str

Application

HyperWorks Tcl Modify

Description

This command sets the view volume of the 3D plot using a string.

Inputs

str
Inputs a string of six values, “xmin xmax ymin ymax zmin zmax”. This inputs the minimum and maximum for each axis to make the volume of the view a certain size.

Example

hwi OpenStack;
hwi GetSessionHandle sess;
sess GetProjectHandle proj;
proj GetPageHandle p1 1;
p1 GetWindowHandle w1 1;
w1 GetClientHandle plot;
w1 GetViewControlHandle vc
vc SetOrtho "0 5 0 5 0 5"

Error

Returns success (0) or an error message.

Keywords

HyperWorks

3D plot

Tcl

Modify