Over 1.104.000 registered users (EN+CZ).
AutoCAD tips, Inventor tips, Revit tips, Civil tips, Fusion tips.
Try the new precise Engineering calculator.
New AutoCAD 2026 commands and sys.variables and env.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
13581×
this tip shared by ARKANCE experts applies to: AutoCAD Map 3D 2009 · Civil 3D 2009 · Topobase/MapServer 2009 ·
![CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]](../common/arkance_186.png)

