Autocad How Run Same Autolisp on Multiple Drawings

About

JTB SmartBatch (aka SmartPurger) is a batch and script utility for processing multiple DWG drawings with full control with AutoCAD, BricsCAD, ZWCAD, GstarCAD, DraftSight, NanoCAD, G raebert's ARES Commander and more.

JTB SmartBatch closes dialog boxes that might otherwise stop batch processing like for example dialog box showing missing fonts. Execute LSP or SCR files on multiple drawings. JTB SmartBatch handles crashes so the AutoCAD batch processing continues to the end and leaves bad drawings to be corrected manually. Many purge and cleanup settings available. Useful before backups and distribution of drawings. The file's modified time stamp can be restored.

The free trial without license file is fully functional except that you can only batch process 10 drawings per session to give you the chance to confirm that the program works as expected. When you purchase you can use JTB SmartBatch with no limitations.

Batch process drawing files with JTB SmartBatch to avoid bloating or corrupt files by running AUDIT and PURGE on them or any other custom command you want.

JTB SmartBatch batch processing for AutoCAD is useful if you want to minimize the size of files before a backup or before sending drawings by e-mail, burning to CD or just to use as a quick viewer of drawings. You have options to save the files to a separate folder or to a different drawing version.

JTB SmartBatch can execute custom script files (.SCR) or AutoLISP files (.LSP, .FAS or .VLX). We can help you create them based on your special needs.

JTB SmartBatch can make use of AutoCAD Core Console that was introduced in AutoCAD 2013 making the scripting process faster then ever as the Core Console takes less than a second to open per drawing. In a test using the Core Console took 11 minutes compared to normal AutoCAD 2013 that took 58 minutes to process 145 drawings.

You can set up JTB SmartBatch to run different AutoCAD applications for different drawing file versions. Optionally specify the profile to be used when starting AutoCAD.

From a real project: 1773 drawings and a total size of 526MB in 2000 DWG format become 218MB in 2004 DWG format. Conversion and purging was made totally unattended. JTB SmartBatch can without problem process 10,000 drawings and more.

You can run audit, zoom extents, create preview icons. Convert between versions. Purge Blocks, Detail view styles, Dimension styles, Layers, Linetypes, Materials, Mline styles, Multileader styles, Plot styles, Regapps, Section view styles, Shapes, Text styles, Table styles, Visual styles, Page Setups, Filter states, Layer states, Layer manager states (Express Tools), Line objects without length, Text objects without text, embedded VBA code, registered applications collections, Anonymous Groups, Groups, Orphaned Data. It's possible to restore the date and time of the file to what it was before the scripting. Delete .BAK and other temporary or garbage files. And much more.

ZWCAD usage.

Remember that this is a very powerful tool and make sure you understand and know what you do when you use it. Read the documentation before you run it. Try on some test files/folders as a start. To be on the safe side make sure you have backups before you run.

Do you have a large list of text strings that you need to find and replace on many drawings? Contact us for a special command that can be used with JTB SmartBatch.

If AutoCAD's -PURGE command crashes AutoCAD because it runs out of memory (FATAL ERROR: Out of memory - shutting down) when purging Regapps make sure to use the purge option "Purge all registered applications collection" instead. It can take really long time (from some minutes to some hours) so set the timeout to max value (100000) and leave it running during the night. Sometimes it can help to unload the xrefs on all drawings you want to purge from Regapps otherwise they just keeps coming back (this is not needed when using accoreconsole.exe or for AutoCAD 2018 and newer if XREFREGAPPCTL is set to 0, run on both host and xrefs). Create a small lsp file with this code and run it first on all drawings.

(command "._-xref" "_u" "*")
After that you can run the files, purging the Regapps. Remember that all nested xrefs has to be run.

Then run a lsp file that loads the xrefs again using code like this:
(command "._-xref" "_r" "*")

Since release 2.6 you can use the option "Purge Regapps using ASDKCleanRegAppARX.arx (2004-2008)". Thanks to James Maeding that provided it and the ADN team that created it. This is much better than the other options "Purge all Regapps" and "Purge all registered applications collection". Layer filters too are purged with this option.

garrettanet1982.blogspot.com

Source: https://jtbworld.com/jtb-smartbatch

0 Response to "Autocad How Run Same Autolisp on Multiple Drawings"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel