FrameContextual

Introduced

v5.1

Categories

viewing

Description

Frames the selection or all objects (if nothing is selected) in one or all the 3D views (in the view manager).

Scripting Syntax

FrameContextual( [AllViews], [View] );

Parameters

Parameter Type Description
AllViews Boolean True to reset all views at once.

If this parameter is set to true, the View parameter is ignored.

Default Value: True

View Integer Viewport in which to frame the selection.

You must set the AllViews parameter to false in order to affect only this viewport.

Default Value: -1 (current viewport)

Possible Values:

Description:

-1 Current viewport
0 Viewport A
1 Viewport B
2 Viewport C
3 Viewport D

See Also

FrameAll FrameSelection CenterSelection