Go to: Synopsis. Return value. Flags. MEL examples.

Synopsis

view2dToolCtx [-boxzoom] [-dolly] [-track]

view2dToolCtx is undoable, queryable, and editable.

This class creates a context for the View Tools "track", "dolly", and "box zoom" in the Hypergraph.

Return value

stringThe context name

In query mode, return type is based on queried flag.

Flags

boxzoom, dolly, track
Long name (short name) Argument types Properties
-dolly(-do) createquery
Dollies the view
-track(-tr) createquery
Tracks the view
-boxzoom(-bz) createquery
Perform Box Zoom

Flag can appear in Create mode of command Flag can appear in Edit mode of command
Flag can appear in Query mode of command Flag can be used more than once in a command.

MEL examples

// Create a new view2dTool context, set it to do dolly in the Hypergraph window, then switch to this tool
view2dToolCtx -dolly view2dToolCtx1;
setToolTo view2dToolCtx1;