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

CAD tip CAD tip # 995:

Question CAD 
 %  platform  category 
Q - question

How to invoke a command with variable number of inputs from AutoLISP?

A - answer You can use the CMDACTIVE variable to find whether the command is still running - eg:

(defun c:LLINE ()
(command "_LINE")
(while (> (getvar "CMDACTIVE") 0)
 (prompt "(still alive) ")
 (command pause)
100% *  CAD 
1.2.2001    2814x  
Comments   Tell a friend
applies to: AutoCAD ·

Back   All CAD Tips All CAD tips&tricks

How to unfold 3D model (e.g. sheetmetal) into 2D? « | » Selection problem in Object properties window (OPM).

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.