*viewset
Sets the graphics view.
Syntax
*viewset a00 a01 a02 a03 a10 a11 a12 a13 a20 a21 a22 a23 a30 a31 a32 a33 minx miny maxx maxy
Type
HyperMesh Tcl Modify
Description
Updates include file solver specific information.
The two solver values are for the convenience of template authors. They function in a manner analogous to "config" and "type" for elements, in that they can be used to screen out categories of include files from inappropriate sections in the template.
As an example, in Nastran, there are three sections in the output file, call them A, B, and C. Some include files need to appear in the A section, others in the B section, and the rest in the C section. In this case, solver1 is used to segregate them, with A files having the value 1, B files having the value 2, and C files having the value 3.
Inputs
- a00-a33
- The 3x4 matrix to use to define the view.
- minx
- The viewport x-axis minimum value.
- miny
- The viewport y-axis minimum value.
- maxx
- The viewport x-axis maximum value.
- maxy
- The viewport y-axis maximum value.
Example
To orient the model so that the z-axis is pointing out of the screen, with the max visible area set to (-0.5,-0.5) to (0.5,0.5):
*viewset 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 -0.5 -0.5 0.5 0.5
Errors
if { [ catch {command_name...} ] } {
# Handle error
}