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

CAD tip CAD tip # 10246:

Question CAD 
 %  platform  category 
Q - question

How to invoke a nested script (.SCR) in AutoCAD?

A - answer Calling a script with the SCRIPT command will terminate execution of the original (parent) script file, so you cannot nest AutoCAD scripts by default.

But AutoCAD - since version 2016 - offers another command - SCRIPTCALL) - which works similar to SCRIPT, but allows script nesting. After the nested (called, invoked) script is completed, AutoCAD returns to the execution of the former (calling, master) script, immediately after the SCRIPTCALL command.

ACAD2016LT2016
100% *  CAD 
20.3.2015    4554×  
Comments   Tell a friend
applies to: AutoCAD 2016 · AutoCAD LT 2016 ·

See also:
Tip 11664:Which AutoCAD commands do exist also in the commandline (non-dialog) dashed version?
Tip 11604:How to set plot transparency for all layouts in a DWG?
Tip 11511:Assigning elevations to 2D contours (isolines).
Tip 11415:Error in pattern file. Missing parameter on line XXX.
Tip 11244:Labels with incrementing numbers - assembly with numbered labels for laser cutting.


Back   All CAD Tips All CAD tips&tricks

Osnap mode Geometric Center in AutoCAD 2016. « | » How to make DWG texts readable in a 3D view (align to view)?

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:
Increase your productivity with our set of add-on functions for AutoCAD Civil 3D
CADstudio Civil 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.
TOPlist