DRAG - v14


drag                           {r} | SIN=<n_array>,OS=<svar>

Function

Drag a selected GDIMENSION or a selected item. The accepted item types are Points, Vectors, Infinite lines and Arcs/Circles.

 

The "dragging" starts from the reference point of the selected item and finishes when the left most button ( button = 1 ) of the mouse is pressed.

If the central button ( button = 2 ) is pressed, an "undo-evaluation" is performed to re- establish the original geometry.

 

Parameters

r

When dragging a circle/arc the radius is modified.

 

 

SIN=<numeric_array>

Define with a numeric arraynrray[1] the active accelerators during dragging. Also see OS entry below Update 12.5.4 (b05):  

 

 

OS=<svar>

Define the output string where Eagle stores the ASCII code of the accelerator pressed, if any. When a configured accelerator is recognized, then the command stops and sets the VB variable to 5 and the “output-string” to the accelerator’s ASCII code. Example:

DRAG SIN=n_array[1],OS=s1

 

 

 

With no parameters when dragging a circle/arc the centre is used without changing the radius.

 

Note

This command works only if there is a permitted item in the partition index. To use this command, an evaluation set must not have been previously freed. This is ensured by specifying the primer H in the previous EVALUATE.

 

If the geometry of a selected item is not valid then the error flag (IFERR) is set. The geometry of an item is not valid when it is not part of the current evaluation set.

 

Update 11.7 (b07):Two new cursors have been added to be used by the application before a dragging operation with the DRAG command :

Drag

Drag R

The corresponding re sources are 2013 and 2014 :

2013            

2014          

 

 

Update 12.5.4 (b05):   “Automatic orthogonal positioning” is not achieved through a specific primer of the DRAG command but simply doing:

partition

gdimension ...

drag

Examples

Drag

Drag R

See also

gdimension, evaluate, revaluate.