fit
fit
{-all | -loupe | -next | -previous | -selected | -set d_setObj
| -region {f_xlo f_ylo f_xhi f_yhi} [ -border]}
[ -window_id i_windowID]
Description
Fills the view window with the full design or a rectangular portion of it, and can be invoked at any time, including within another command.
The fit command handles interrupts, although it might leave a partially drawn window on the screen.
The GUI equivalent for this command is View—Fit.
Arguments
|
-all
|
Requests a view of the entire design displayed in the artwork window.
|
|
-border
|
Causes fit -region to use settings for the environment variables, gui.zoom_out_factor and gui.max_track_size_in_pixels, when fitting the region in the window. This allows you to put context around the zoom area. If this argument is not used, the given region is fit to its maximum size in the artwork window.
|
|
-loupe
|
Fits the magnifying loupe area in the artwork window.
|
|
-next
|
Redisplays the next view on the stack.
|
|
-previous
|
Redisplays the previous view on the stack.
|
|
-region {f_xlo f_ylo f_xhi f_yhi}
|
|
|
Specifies the rectangular bounding box for the fit. The area is specified as a list of numbers: lower left x-coordinate, lower left y-coordinate, upper right x-coordinate, upper right y-coordinate.
|
|
-selected
|
Fits the selected set in the artwork window.
|
|
-set d_setObj
|
Fits the specified set in the artwork window.
|
|
-window_id i_windowID
|
Specifies the identifier of the window to work in. If this option is not specified, the view in the active window is used.
|
Examples
Does a window fit of the entire design.
fit -all
Goes back to the previous view.
fit -previous
Related Topics
View Commands
view_layer
Return to top