Over 1.096.000 registered users (EN+CZ).
AutoCAD tips, Inventor tips, Revit tips.
Try the new precise Engineering calculator and the updated Barcode generator.
New AutoCAD 2026 commands and variables.
CAD tip # 6544:
Question
A
If you often need to change or assign a coordinate system in your drawings (maps), you may need a commandline version of the coord.systems command in Map (a dialog-based command by default).
You can use e.g. the following LISP macro:
(defun C:SetWGS () (setvar "CMDDIA" 0) (command "ADESETCRDSYS" "_ses" "LL84" "_ex") (setvar "CMDDIA" 1) (princ) )The newly defined command SetWGS can be then assigned to a toolbar button or keyboard shortcut.
Another - simpler method is to use the LISP function:
(ade_projsetwscode "LL84")
Map2009Civil2009TB2009


24.2.2009
13151×