We have been using VBA for 1 command in our CUI for a long time. Now that VBA requires a separate install and it also slows down AutoCAD we are looking for an equivalent command to eliminate the need for VBA or any other installs. I'm also not looking forward to learning a programming language...
This is our command to open a new file from the templates folder.
^C^C._vbastmt;ThisDrawing.Application.Documents.Add ("filename.dwt");
Anything that replicates the command above through the CUI would be welcome.
Thanks
Solved! Go to Solution.
Solved by hmsilva. Go to Solution.
One way,
if not on MAC, try
^C^C(vl-load-com);(vla-activate (vla-add (vla-get-documents (vlax-get-acad-object))"filename.dwt"));
Henrique