Where can I find the variables which you can chooce in the dialog of MAPIOPTIONS so I can change then with VBA or LISP.
x-Greetings,
Marco
Solved! Go to Solution.
Solved by MetroVancouverDrafting. Go to Solution.
It depends on what exactly you want to change. Basically, map keeps it’s variables in the registry. You need to find a proper one.
(setq ImgDetach(vl-registry-read (strcat "HKEY_CURRENT_USER\\"(vlax-product-key) "\\Applications\\AcMapRastUtils\\Options") "ImageDetachMode")) (vl-registry-write (strcat "HKEY_CURRENT_USER\\"(vlax-product-key) "\\Applications\\AcMapRastUtils\\Options") "ImageDetachMode" 1)
I added that to my acaddoc.lsp but i feel like I have the formatting or something wrong although it's not erroring it's also not changing the registry...
;sets the mapioptions so that shift left click doesn't pick an image
(setq ImgDetach(vl-registry-read (strcat "HKEY_CURRENT_USER\\"(vlax-product-key) "\\Applications\\AcMapRastUtils\\Options") "ImageDetachMode")) (vl-registry-write (strcat "HKEY_CURRENT_USER\\"(vlax-product-key) "\\Applications\\AcMapRastUtils\\Options") "ImageDetachMode" 0)
replace "imagedetachmode" with "ShiftLeftClickSelectMode"