CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]
CZ | EN | DE
Login or
registration
  Visitors: 7352

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    14594×  
Prices - CAD eShop:
applies to: AutoCAD 2016 · AutoCAD LT 2016 ·

See also:
Tip 14059:Import coordinates from CSV files into Fusion profiles.
Tip 14045:In my AutoCAD script file (.SCR) I cannot enter a name containing a space.
Tip 13040:iLogic - display information about complexity of an Inventor part.
Tip 12926:How to import point coordinates from Excel to AutoCAD?
Tip 12837:RenameCSV - rename layers, blocks, layouts, views, linetypes using Excel tables


Back   All CAD Tips



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:
Use Google Earth images in your AutoCAD projects with the Plex.Earth Tools More info


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