*graphuserwindow_byXYZandR

Re-centers the graphics display to center on a specified point, and resizes (zooms) the display based on a specified view radius.

Syntax

*graphuserwindow_byXYZandR x y z r

Type

HyperMesh Tcl Modify

Description

Re-centers the graphics display to center on a specified point, and resizes (zooms) the display based on a specified view radius.

Inputs

x
The x coordinate of the specified point.
y
The y coordinate of the specified point.
z
The z coordinate of the specified point.
r
The radius of a sphere that defines the zoom level of the user’s view. The display is zoomed in or out so that a sphere of this radius originating at the specified point fits within the display.

Example

To re-center the view on a point with coordinates (20, 15.3, and 72) and zoom to display entities within 24.2 units of this point:
*graphuserwindow_byXYZandR(20,15.3,72,24.2)