view zoom

The zoom command allows the user to magnify or shrink the image of the model in a particular view.

Format:

 
view zoom
view_name =
an existing view
auto_zoom =
zooms
pick =
location
screen_coords =
real
zoom_factor =
real

Example:

 
view zoom &
view_name =
view__1 &
auto_zoom =
off &
pick =
10, 20, 30 &
zoom_factor =
1.2

Description:

 
Parameter
Value Type
Description
view_name
An Existing View
Specifies an existing view
auto_zoom
Zoom
The AUTO_ZOOM parameter is used to compute the extents of the model, part, or analysis in a particular view and fill the viewport.
pick
Location
Specifies a position in a view by picking with the mouse or pen.
screen_coords
Real
The SCREEN_COORDS parameter refers to the number of x, y, and z screen units to translate in an screen fixed coordinate system.
zoom_factor
Real
The ZOOM_FACTOR parameter is used with the ZOOM command. If entered the ZOOM_FACTOR acts as a multiplier to the current size of the image displayed in the viewport (e.g. a zoom_factor of 2.0 would double the size of the image).

Extended Definition:

1. Each view created has a name associated with it. The view_name parameter is used to identify a view for a particular operation. In most cases, view_name=all is also a valid entry. The all option indicates "all displayed views". There are eight standard views available when the Adams View is started. These views are: front, top, right, iso, bottom, left, and back. The first four of these standard views are displayed by default when Adams View is started.
The user may create new views using the 'VIEW MANAGEMENT CREATE' command, and save/restore their attributes.
If the VIEW_NAME parameter is used, the desired view can be identified by picking in the window or entering the name from the keyboard. Typing the name is the only way to identify a stored view that is not displayed.
2. The magnification can be done in one of three ways; auto_zoom, zoom_factor, or pick. The auto_zoom method calculates the maximum dimensions of the model and attempts to fit it entirely into the viewport. The zoom_factor method applies a multipier to the current size of the image displayed in the view port (for example, a zoom_factor of 2.0 would double the size of the image). The pick method allows the user to pick two corners of a box and then places those two positions in the appropriate diagonal corners of the viewport.
3. The auto_zoom parameter is particularly useful when the object in the view is made so small, or translated so far off the view, that the user literally can't find it. This parameter is optional and mutually exclusive with the PICK and ZOOM_FACTOR parameters. If none of the three are entered, no action will be taken by the system. If the AUTO_ZOOM parameter is entered, the legal values are ON and OFF. ON will cause the system to perform the operation described above. OFF, the default, will cause the system to take no action.
4. The pick parameter is used in the context of various commands. The response from a pick of the screen is usually the view name and the screen coordinates of the pick. Some of the ways a pick is used is to select the position to split a view to create a new view, to select the box corners of a view to zoom in on and so on. To enter a pick move the cursor to the location in the desired view using the mouse or pen. Once in the desired position depress one of the mouse buttons.
5. The SCREEN_COORDS parameter is used in conjunction with the translate command. The graphics in a view can be translated based on SCREEN_COORDS or OBJECT_COORDS. SCREEN_COORDS referring to a coordinate reference tied to the terminal screen and OBJECT_COORDS referring a coordinate reference tied to the model global coordinate system.
The SCREEN_COORDS parameter refers to the number of x, y, and z screen units to translate in an screen fixed coordinate system. This screen fixed coordinate system is defined by the orientation of the terminal screen. If entered, this parameters requires three real number values separated by commas (,). The first value refers the to the positive "x" direction which points to the right as one faces the terminal screen, the second refers to the positive "y" direction which points to upward as one faces the terminal screen, and the third refers to the positive "z" direction which points out of the screen as one faces the terminal screen.
This parameter is mutually exclusive with the OBJECT_COORDS parameter. If neither is entered no action is taken.
6. The ZOOM_FACTOR parameter is used with the ZOOM command. If entered the ZOOM_FACTOR acts as a multiplier to the current size of the image displayed in the viewport (e.g. a zoom_factor of 2.0 would double the size of the image). This same functionality can also be effectively performed using the control panel. However, the ZOOM command is useful in the creation of repeatable macros (See the "file command" and "file log_file" commands).
This parameter is optional and mutually exclusive with the PICK and AUTO_ZOOM parameters. If none of the three are entered, no action will be taken by the system. If the ZOOM_FACTOR parameter is entered, the legal values include all positive real numbers.