Hello to all of you fabulous people!
I have a client asking why the AutoCAD MEP 2019 Alias Editor does not accept the aEC commands and only understands the vanilla acad commands. Are those not accepted? or they need to be defined elsewhere? maybe via a startup lisp?
Solved! Go to Solution.
Solved by cdodge. Go to Solution.
LOL. Are you serious?
Did you even read my question?
Thanks for your reply.
Hi,
I do not believe that the Alias editor accepts AEC commands but I could be wrong. I have always added them via a lisp file. Something like this in any lisp that loads for each document.
;; OSnap Shortcuts (defun c:oc() (command "osnap" "cen") (princ)) (defun c:osd() (command "osnap" "node") (princ)) (defun c:oe() (command "osnap" "endp") (princ)) (defun c:oi() (command "osnap" "int") (princ)) (defun c:om() (command "osnap" "midp") (princ)) (defun c:one() (command "osnap" "nearest") (princ)) (defun c:ois() (command "osnap" "ins") (princ)) (defun c:oo() (command "osnap" "none") (princ)) (defun c:op() (command "osnap" "per")
Thank you, Keith!
Actually I do the same thing with LISP for my own use. The client assured me the aliases worked with the older versions - but only 2019 seems to not accepting it. I really don't know what to say at this point 8-)
When you have to enter a command that is not in the default AUTOCAD list of commands (such as an AutoCAD MEP or Civil 3D command) it has to update the following file:
"C:\Program Files\Autodesk\AutoCAD 2019\Express\alias.pgc"
The alias editor will give an error "access to the path is denied".
The solution is simply to right-click your desktop icon and "Run as administrator".