The DataCAD Developer Network (DDN) is an online resource for information and support for DCAL® (DataCAD Applications Language) developers as well as anyone interested in creating fonts, toolbars, hatch patterns, or linetypes for use in DataCAD.
#64590 by joshhuggins
Mon Jul 21, 2014 1:34 pm
Are there discrete codes to toggle:

Grid 1 On
Grid 1 Off
Grid 2 On
Grid 2 Off
Snap Grid On
Snap Grid Off

If not, could we get some please :D ?
#64591 by Roger D
Mon Jul 21, 2014 2:17 pm
Look in the Extended Code List
http://www.datacad.com/ddn/extended_cha ... codes.html

Code: Select all0091   [   Grid 1 Display On/ Off
0093   ]   Grid 2 Display On/ Off
0120   x   Snap Grid On/ Off


Appears they will toggle or change the condition, not an absolute though.
#64592 by David A. Giesselman
Mon Jul 21, 2014 5:06 pm
Josh:

Ya realize it would only effect the Active layer, right? Or are you looking to replicate the old GridLock macro?

Dave
#64597 by joshhuggins
Tue Jul 22, 2014 12:22 pm
I was wanting to set the active layer toggles on/off per our users preferences and then run the grid lock macro as part of our user prefs toolbar buttons.

Who is online

Users browsing this forum: No registered users and 6 guests

About DataCAD Forum

The DataCAD Forum is a FREE online community we provide to enhance your experience with DataCAD.

We hope you'll visit often to get answers, share ideas, and interact with other DataCAD users around the world.

DataCAD

Software for Architects Since 1984