CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor and other Autodesk products []
Cesky English Deutsch
 Visitors: 4023 

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).
100% *  CAD 
15.4.2002    5871x  
Comments   Tell a friend
applies to: AutoCAD ·

See also:
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?
Tip 5091:How to run an external EXE program from AutoCAD?

Back   All CAD Tips All CAD tips&tricks

How to plot/print a .PLT file on a printer? « | » How to compute part volume in Inventor?

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   

Use Google Earth images in your AutoCAD projects with the Plex.Earth Tools More info

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