[Contents] [Index] [Books]

CoCreate OneSpace Designer - Commands Reference Manual


CENTER_VP interrupt action

CENTER_VP makes the specified point the center of the specified viewport.

Syntax


---->(CENTER_VP)---|viewport|---|point|---->

Options

This action has no options.

When to use

Use this action to quickly move a given point to the center of the viewport. The x and y values specified must lie in a 0.0 to 1.0 scale. In other words, the point 0.5,0.5 is the center of each viewport.

In certain circumstances, using this action could be more efficient than using PAN_VP or DYNAMIC_VP.

After using CENTER_VP, you may need to use ZOOM_VP to resize your view.

If you interrupt this action, the menu button is greyed out until the new operation is complete.

Example

The following parameter sequence specifies "vport1", as the viewport to be centered.

CENTER_VP "vport1"

You must now specify the viewport center by clicking a point on the screen.

See also

DYNAMIC_VP interrupt action PAN_VP interrupt action WINDOW_VP interrupt action ZOOM_VP interrupt action SELECT_VP_SA subaction
[Contents] [Index] [Books]