CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]
Cesky English Deutsch
Login/Register:
 Visitors: 2236 
Plex.Earth connects AutoCAD and Google Earth

CAD tip CAD tip # 2095:

Question CAD 
 %  platform  category 
Q - question

Is it possible to run a macro in the ACAD.PGP file?

A - answer No, you cannot.
But you can define a new command (e.g. using LISP: DEFUN C:TEST in your ACAD.LSP or ACADDOC.LSP files - create them if they do not exist) and use this command after that (or even alias it in ACAD.PGP).
ACAD
100% *  CAD 
15.4.2002    6936×  
Prices - CAD eShop:
applies to: AutoCAD ·

See also:
Tip 11743:How to open a HTML document from AutoCAD?
Tip 9905:Double-click on a text gives: Unknown command DDEDIT.
Tip 9899:How to invoke REINIT without any dialog?
Tip 8538:How to open a PDF file from AutoCAD?
Tip 7051:What is the flag (0-15) in the command alias editor?


Back   All CAD Tips All CAD tips&tricks



Have we helped you? If you want to support the CAD Forum web service, consider buying one of our CAD applications, or our custom software development offerings, or donating via PayPal (see above). You may also add a link to your web - like this "fan" link: CAD Forum - tips, utilities, blocks for Autodesk products
CAD:    OS:    Categ: 
Text:  FAQ glossary   



Featuring:
DwgTextTranslator translates a series of drawings from one language to another using MS Access.
Download a fully functional trial version.


Please use these tips at your own risk.
CAD Studio is not responsible for possible problems that may occur as a result of using any of these tips.
TOPlist