Managing viewports from the command line
Command line: -VPORTS, -VIEWPORTS
The command allows managing viewports both in model space and paper space. The prompt with available options is displayed in the command line, after the command is launched:
Enter viewport option [Save/Restore/Delete/1/2/3/4/Object/Polygonal/REctangular/ Fit/ON(off)/Lock(unlock)/Clip]<1>:
Command options:
Save | Saves a current configuration of viewports in model space. When the option is selected, model space is switched to paper space. |
---|---|
Restore | Restores previously saved configuration of viewports (selected configuration is shown on the screen). When a configuration is selected in paper space it is offered to create a configuration of viewports the same as a current configuration of viewports in model space. You can perform the operation with Restore configuration command. |
Delete | Deletes a previously saved configuration of viewports in model space. You can perform the operation with the Delete configuration command |
1 | Restores a configuration with one viewport (view is taken from the last viewport) in model space. Creates one viewport in paper space. |
2 | Creates a configuration with horizontal or vertical arrangement of viewports. An arrangement is specified with an option from the command line: Enter an option [Horizontal/Vertical]: |
3 | Creates a configuration of three viewports. An arrangement is specified with an option from the command line: Enter an option [Horizontal/Vertical/Left/Right/Top/Bottom]: |
4 | Creates a configuration of four viewports. |
Object | Transforms previously created closed objects (circles, ellipses, closed polylines and splines) into viewports in paper space (for more information see “Create a viewport by object” section). |
Polygonal | Creates a polygonal viewport in paper space. Option is available in a current layout, where you want to place a viewport, and also is available in model space (for more information see “Create a polygonal viewport” section). |
REctangular | Creates a rectangular viewport in paper space. Option is available in a current layout, where you want to place a viewport, and also is available in model space (for more information see “Create a rectangular viewport” section). |
Fit | The option allows creating an inscribed viewport in a current layout, where all objects from model space are inscribed. |
ON(off) | Switches on/off display of viewport content. |
Lock(unlock) | Locks/unlocks a viewport. You can lock a viewport to make earlier specified scale unchanged (zooming inside a viewport does not change a scale of viewport). |
Clip | Clips borders of viewports (for more information see “Set show boundary for a viewport” section). |
Post your comment on this topic.