Macro Language Reference > Macros > Document > tdgrid
  
tdgrid
Description
Controls PTC ALD grid and snap options, offering more choices than the tdslevel macro.
Syntax
tdgrid options:s? hor size:uh? ( vert size:uv? ( angle snap:n? ( grid gravity:uh? ) ) )
tdgrid
[no parameter]
Invoke the Grid/Snap dialog box.
options
A string of characters which allow you to activate and deactivate the grid display and various snap options:
+
Set options to on (default)
-
Set options to off
!
Toggle mode
a
Carry out an angular snap action: depends on the current mode
c
Carry out a snap to column action: depends on the current mode
d
Carry out a display grid action: depends on the current mode
l
Carry out a snap to lines action: depends on the current mode
s
Carry out a snap to grid action: depends on the current mode
hor size
Horizontal resolution of the grid, i.e. the horizontal distance between each point on the grid
vert size
Vertical equivalent of hor_size. If vert_size is not specified then it will be the same as hor_size, e.g. to change the grid to a 2mm square use the macro tdgrid 2mm .
angle snap
Angular snap value (in degrees)
grid gravity
How close the mouse cursor shown on the screen must come to a snap point before snapping to it.
* 
This value refers to the real distance that you see on the screen and is not affected by the scaling of the document.
Related Links