Showing posts with label SmartPurger. Show all posts
Showing posts with label SmartPurger. Show all posts

Monday, June 23, 2014

SmartPurger 3.6 - batch processing for AutoCAD

SmartPurger 3.6 comes with support for Autodesk AutoCAD 2015 and the new Orphaned Data purge (remains from MicroStation DGN linetypes)  and support for sharepoint folder locations.

SmartPurger is a batch and script utility for processing multiple AutoCAD drawings with full control. Execute LSP or SCR files on multiple drawings. SmartPurger handles crashes so the AutoCAD batch processing continues to the end and leaves bad drawings to be corrected manually if needed. Many purge and cleanup settings are available.

The free trial 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 SmartPurger with no limitations.

Check out more about SmartPurger here.

Monday, January 13, 2014

SmartPurger 3.5 released

SmartPurger 3.5 from JTB World is now available both from our product page as well as on Autodesk Exchange Apps. A free trial is available of SmartPurger so you can give it a try.

SmartPurger not only purges multiple drawings but can also batch process most anything you like if you have any Script or AutoLISP files you want to run on a bunch of DWGs. If you don’t know how we can help to create it so you can automate your manual tasks. An AutoCAD based application is required to run SmartPurger but it can also work with other DWG compatible CAD applications.

These are the bug fixes for this release:

-Fixed a bug where accoreconsole did not save to specified DWG version
-Purge multileader styles bug fixed where it did not always purge these styles.
-Handle dialog box about VBA not installed
-Fixed bug where Educational Version - Terminated sometimes show up in status column even though the drawing is not educational

If you are interested in other useful AutoCAD helper functions take a look at JTB Sheet Set Creator, DigSigStamp,Batch Publish for AutoCAD, DimensionPatrol, TransTips or OffsetInXref.

If you need any custom app created, small or large, for AutoCAD or Revit you are welcome to contact us.

Tuesday, December 17, 2013

How to recover and fix problematic or corrupt DWGs in AutoCAD

This is a great resource for AutoCAD users. Troubleshooting corrupt DWG files - TS22753433

Usually there is a way to correct drawings with technical problems.

An AutoCAD DWG file cannot be opened and causes AutoCAD to show error messages or alerts, or to freeze or crash.

Open Drawing - Damaged File - The drawing file requires recovery. Errors were detected in the drawing. The file cannot be opened without being recovered.

The drawing file requires recovery.

Drawing file is not valid.

Drawing file is not valid.

Possible causes of file corruption:

  • Network (transmission errors, file locking, latent writing of data)
  • Storage media degradation (bad sectors on a hard drive)
  • Defective or failing RAM
  • Operating system issues
  • Power surges
  • 3rd - party applications running inside the Autodesk product
  • DWGs created or saved by non-Autodesk non-RealDWG products
  • AutoCAD terminated while saving DWG (less frequent)

Recommendation: Audit and purge before saving

If a file cannot be opened, take the following steps:

  • RECOVER command
    --Recovers a selected drawing file
    --If successful, open and run AUDIT command
    --Evaluates drawing integrity and possibly more error correction
    --Set system variable AUDITCTL=1 to create a report of audit results

The drawing file was recovered.

  • RECOVERALL command (introduced in AutoCAD 2008)
    --Recovers a selected drawing file
    --Attached and nested xrefs are also opened, repaired, resaved, and closed
  • Start a new DWG with no template
    --Run INSERT and selected the corrupted drawing
    --Check the “Explode” option

If a file can be opened but still shows signs of corruption, take the following steps:

  • PURGE command
  • Copy and Paste into a new drawing
    --Exports to a pure AutoCAD file in selected drawing version
    --Strips potentially corrupt custom objects
  • WBLOCK command
    --Set all layers ON, THAWED and UNLOCKED
  • WBLOCK all objects in the drawing to an external block file
  • INSERT the resulting file as block into a new drawing (check the “Explode” option or EXPLODE the block after inserting)
    --DXFOUT to create a new .dxf file
    --Start new drawing and DXFIN to import the new .dxf file
    --Also try exporting as AutoCAD 12 DXF
  • XREF into a new drawing and BIND

See also Recover damaged drawing when RECOVER command not successful - TS19369

  • Using Windows Explorer or the Windows Find feature, search the entire hard disk for autosave (SV$) files or backup (BAK) files with the same name as the drawing. Rename those files so that they have a DWG extension, and you may be able to open them. (By default, SV$ files are in the %TEMP% folder and BAK files are in the same directory as the DWG file.)
  • Use WBLOCK command to insert the corrupt drawing into a new drawing. Insert at the 0,0,0 coordinate.
  • Open the drawing in a previous release of the software, if available (AutoCAD only).
  • Export the drawing as a DXF™ file, then import the DXF file.
  • If the drawing was last saved in an older format, try using partial open to load the drawing one layer at a time until you find a layer containing an error. Then repeat, skipping that layer next time. See related documents for instructions on using the partial open feature (AutoCAD only).

Drawing Recovery Manager (command DRAWINGRECOVERY)
Displays a list of all drawing files that were open at the time of a program or system failure. You can preview and open each drawing or backup file to choose which one should be saved as the primary DWG file. After a program or system failure, the Drawing Recovery Manager opens the next time you start the application. Drawing Recovery Manager displays a list of all drawing files that were open. The System Variable RECOVERYMODE controls whether drawing recovery information is recorded after a system failure and whether to show the Drawing Recovery Manager or not.

If you want to help yourself, Autodesk and other AutoCAD users make sure to send in any errors to Autodesk when you see the Customer Error Report dialog box (CER).

Finally a solution that sometimes helps if AutoCAD cannot fix the problem is to try to fix the drawing in another program that can open and save DWG files. The more users having the similar problem the better chance it will be fixed in a service pack or future version. Eventually you might get an email saying the problem is fixed.

You may find JTB World’s SmartPurger useful to batch process drawings that needs to be fixed. It includes Audit and Purge functionality as well as a lot more.

Monday, April 30, 2012

SmartPurger 3.4 with support for scripting using AutoCAD 2013

SmartPurger 3.4 is now available. SmartPurger is a scripting and batch application for processing many AutoCAD drawings. It’s possible to use the built-in settings to purge and save to different versions as well as execute custom LSP or SCR files on multiple drawings. The possibilities are almost endless. Make changes to title blocks, update layers, add or remove xrefs, prepare drawings for as built or for release to customer, update MicroStation drawings that needs to be fixed and so on. And if you don’t know how to create the custom routines we can help you.

Here are the main news for this release.

Support for AutoCAD 2013 and the new 2013 DWG file format.

AutoCAD apps support. Get SmartPurger on the Plug-Ins Ribbon tab panel using the special bundle download.

Soon to be available also on Autodesk Exchange Apps.

Added support for AutoCAD console mode. SmartPurger can make use of AutoCAD Core Console (this is AutoCAD running in “DOS” mode without any GUI overhead) 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. This is more than 5 times quicker in this case.

Here is the result after using accoreconsole.exe (AutoCAD Core Console executable).

Thumbnail color can be changed.

As default it is black

but can be change to any other color like white.

Support for purging of Detail view styles and Section view styles that was added to the PURGE command in AutoCAD 2013.

Support for custom Windows DPI settings. If you change to 150% or 200% it should now look good too.

Free trial now allows to script up to 10 drawings. But if you contact us we’ll send a time limited license so you can run SmartPurger without this 10 drawing limitation.

Existing customers get this update for free.

Now, stop all manual boring drawing processing and let SmartPurger to the work for you.

Monday, June 13, 2011

Autodesk Exchange Apps introduced in AutoCAD 2012

Companion Apps Now Available in AutoCAD 2012

New In-Product Access to Download, Buy and Sell Apps and Content for AutoCAD.

Did you disable Autodesk Exchange from starting automatically with AutoCAD click on the Exchange icon in InfoCenter at top right in AutoCAD, press F1 for help or run the EXCHANGE command.

Note the Apps link at the top left and the Search Apps just below as well as “AutoCAD Apps Developers!” where you can sign up and publish products.

If you’re in a non-English country you may need to select English as language at top right in the Autodesk Exchange window.

At this point verticals like AutoCAD Architecture 2012 does not have access to Apps. But if you have both AutoCAD and ACA installed the app will show up on a plug-in tab in ACA even though a bug will make each app end up in its own tab.

To find products from JTB World just search for JTB. A few are available now and more will be. Give it a try and you can even add a rating and write a review.

SmartPurger from JTB World helped me clean up and reduce the size of 100's of files from our architects. Many were DWG files converted from DGN and contained a lot of Regapp IDs and other artifacts. I am delighted with its read version number feature, which I use regularly to check that I am sending the correct version of DWG, when I am sending a large number of files to co-consultants who work in lower releases of AutoCAD.”

Plessey Mathews, Architect

SmartPurger from JTB World is the fastest and most versatile batch and scripting utility I have ever used.  It is also high in cool factor!”

Ken J. Fisher, Design Software Manager
Shive-Hattery, Inc.
Cedar Rapids, IA

"The AutoCAD Automation Tools from JTB World save me a lot of time when editing individual files, and there have been many times when I couldn’t have met deadlines without them."

Don McLeod, Electrical Engineer
PENTA Engineering, P.A.
Charlotte, NC

Here are some of JTB World’s apps as seen on the Plug-ins tab:

From the Press Release:

Companion Apps Now Available in AutoCAD 2012

SAN RAFAEL, Calif.--(BUSINESS WIRE)--Autodesk, Inc. (NASDAQ:ADSK), a world leader in 3D design, engineering and entertainment software, announced that direct access to download and purchase companion apps is available in AutoCAD 2012.

AutoCAD software users can immediately browse, download and purchase more than 100 apps using the new Apps tab within AutoCAD. The companion apps help design professionals find and immediately download solutions to some of their most pressing design challenges.

“Providing direct, in-product access to AutoCAD companion apps connects innovative software developers with AutoCAD customers around the world,” said Jim Quanci, director of the Autodesk Developer Network. “In turn, AutoCAD software users now have a trusted marketplace with a wealth of solutions to help solve today’s most complex challenges.”

Simply put, AutoCAD companion apps extend the power and flexibility of AutoCAD with the help of numerous plug-ins, from productivity tools to translators, together with other content, such as blocks and learning tools. AutoCAD users will have the ability to discover a range of apps in a single location. Coins Translate, for example, is a free app that enables designers to quickly and easily translate text in a drawing into a variety of languages, using the Google Translate web service.

Autodesk customer, Summit Consulting Services, values industry plug-ins to enhance design productivity: “SoftDraft’s QuickNotes plug-in app is one of the most productive products we have purchased so far,” said Jack Turner, owner. “It eliminates wasted effort on repetitive tasks, saving time and money.”

The new Apps tab is featured as part of AutoCAD software’s in-product support feature, Autodesk Exchange, and helps software developers quickly upload AutoCAD companion apps, enabling users to more quickly download, purchase and install apps directly into AutoCAD 2012. Developers, users and visitors can also rate and review apps and content. Many of the companion apps are the creations of Autodesk Developer Network (ADN) members, but all developers using AutoCAD 2012 are welcome to submit apps or content for AutoCAD 2012. All applications and content submitted are reviewed through a quality-control process, providing users a secure and trustworthy experience.


Companion apps are now available through the English version of AutoCAD 2012. Apps and content can be downloaded for free, as a trial or for a fee. Fee-based apps can be purchased in 40 countries using the popular PayPal payment service.

Questions and Answers

1. General Information

1.1 What is the Apps tab within AutoCAD 2012?

The Autodesk® Apps tab is a safe online marketplace where people can buy, sell, and rate apps from within AutoCAD® 2012 software. These companion products for AutoCAD provide the ability to customize designs to meet the needs of various industries. AutoCAD users can immediately browse, download, and purchase more than 100 companion apps on the new Apps tab within Autodesk Exchange – AutoCAD, helping design professionals get immediate solutions to solve specific and pressing design challenges.

1.2 How does the Apps tab for AutoCAD work?

The Apps tab can be found on the AutoCAD Exchange landing page that launches when AutoCAD 2012 is first opened. With AutoCAD open, click the X icon in the upper-right corner of the AutoCAD window, and AutoCAD Exchange will relaunch with the Apps tab present. Once users have accessed the Apps tab, they may purchase, download, and organize numerous apps for AutoCAD 2012.

1.3 Are there any advanced system requirements for the Apps tab?

The system requirements are the same as those for AutoCAD 2012, with the additional requirement that users need an Internet connection to access apps tab.

1.4 What makes the Autodesk Apps tab a safe and reliable place to purchase apps?

The Apps tab is safe because every piece of content is validated by an Autodesk team dedicated to making sure it works as described, and that it is relevant, useful, and secure. Autodesk also uses PayPal for purchases, insuring buyers and sellers have a smooth and easy purchase experience.

1.5 Will the Apps tab be available for other software such as Autodesk Inventor or Autodesk Revit?

The Apps tab is available only for AutoCAD 2012. Autodesk cannot outline future plans beyond what we’re making available currently. A complete catalog of all companion apps for AutoCAD, Autodesk® Inventor®, Autodesk® Revit®, and Autodesk® 3ds Max® software can be found at

1.6 What kinds of apps are available on the Apps tab?

These companion apps extend the power and flexibility of AutoCAD and include numerous plug-ins from productivity tools to translators, as well as content such as blocks and learning tools. Plug-ins can be scripts, LISP, .NET, or ObjectARX® based. Content includes blocks, linetypes, and hatch patterns, as well as learning tools, including books in PDF file format. The key requirement is that the apps provide value to the AutoCAD 2012 user.

1.7 Who can submit products to be included in the Apps tab? Do you have to be an Autodesk Developer Network partner?

Any developer can submit products for Autodesk to evaluate for potential sale on the Apps tab. Professional or amateur software developers, Autodesk sales partners with software development expertise, users with great content, authors of learning tools, and more. If it delivers value to the AutoCAD user, the product will be carefully considered for inclusion on the Apps tab.

1.8 What is the price of products in the Apps tab?

Apps can be downloaded for free, as a trial, or for a fee. There is no price minimum or maximum.

1.9 What are the requirements to publish apps in the Apps tab?

First and foremost, apps made available in the Apps tab must deliver AutoCAD users immediate value through easy installation and ease of use. Autodesk requires that all products available in the Apps tab follow a few basic standards for install and user interface, as well as license management.

1.10 What is the cost to submit and sell an app in the Apps tab?

Currently, there is no cost to submit an app for evaluation; however, this could change in the future as we learn about the types and volumes of products being submitted.

1.11 What percentage of revenue will go to Autodesk from the sale of products in the Apps tab?

Autodesk is not taking any commission for the sale of products in the Apps tab at this time.

2. Payment

2.1 How do I pay for apps?

Autodesk has partnered with PayPal to handle all transactions.

2.2 Can purchase orders be used to pay for apps?

No, all payments for companion apps must be made through PayPal.

2.3 What is the return/refund policy if I am dissatisfied with my purchase?

There is no special refund or return policy beyond what is offered through the publisher of the app purchased and PayPal. To get a refund, the buyer will first need to contact the publisher who can refund the purchase through PayPal. If the buyer doesn’t get a satisfactory response from the publisher, they can then submit a dispute to PayPal (within 45 days of purchase). There is no guarantee of a full refund. In addition, any customer experiencing problems with a purchase can contact the Autodesk Apps support team by emailing for help settling a dispute with any application publisher.

2.4 Are there any hidden fees upon purchase?

Autodesk charges no additional fees. For purchases, PayPal charges a fee to the publisher (seller) (currently 2 percent, to a maximum of US$1), as well as some currency conversion fees. There is no cost to buyer or seller for free and trial products.

3. Licensing

3.1 Can I migrate my purchases from one machine to another? If I have more than one computer (work and home) with an install of AutoCAD on each, do I have to pay twice?

Purchases are identified by name and login, not a specific computer or copy of AutoCAD, using Autodesk’s standard Single Sign-On that most Autodesk users already have. Access to specific apps and purchases can be done on any machine as long as their Autodesk Single Sign-On username and login are used.

4. Support

4.1 Who do I contact for support?

The first point of contact for support should be with the publisher of the companion app. If the publisher is unable to provide the help needed, customers can contact Autodesk Apps support at

4.2 How does the rating system work?

The rating system is similar to other systems that can be found on websites such as Amazon, Android Market, and so on. Users can rate 1–5 stars (1 = worst; 5 = best) and provide comments.

Wednesday, May 4, 2011

SmartPurger 3.2.1

SmartPurger has been updated to version 3.2.1.

Here are the news:

  • Fixed a problem showing file properties on 64-bit systems.
  • There is also a portable download with the possibility to get the files without the need run the installation. Just extract the files to any folder on your computer or USB memory and run SmartPurger.exe. AppShortcuts.vbs can be used to create either a Desktop or Start Menu shortcut for the program.

Download SmartPurger and update if you previously have purchased a license or give it a try for free. Limitation with the download without a license file is that only three drawings can be processed per SmartPurger session. For a trial that is fully functional but time limited Contact us.

About SmartPurger:

SmartPurger is a batch and script utility for processing multiple AutoCAD drawings with full control. Execute LSP or SCR files on multiple drawings. SmartPurger handles crashes so the 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.

Friday, August 6, 2010

SmartPurger 3.2 released

SmartPurger 3.2 is now available. Existing customers can just download the new version and if you’re interested there is a trial available to download from the SmartPurger page.

SmartPurger is a robust scripting tool for any AutoCAD based product. Thousands of drawings can be automated with SmartPurger. You can make use of custom AutoCAD script or AutoLISP to do most any kind of work from simple changing layer states to more advanced tasks.


Monday, December 14, 2009

SmartPurger update available

After the posting SmartPurger 3.0 for AutoCAD scripting now with 64-bit support there is now available an update of SmartPurger with version number 3.0.4 that fixes some of the regression bugs from 3.0. Update is available free for existing customers.

Monday, November 16, 2009

SmartPurger 3.0 for AutoCAD scripting now with 64-bit support

Finally SmartPurger 3.0 is released with a refreshed look and available as 32-bit and 64-bit application making it possible to use together with AutoCAD 32-bit and 64-bit on both Windows 32-bit and 64-bit operating systems.

Many customer uses SmartPurger because of its ease to purge different objects within drawings/DWG files to make them smaller.

Others uses SmartPurger to process scripts (SCR or LSP) on thousands of drawings unattended over night or weekend as it does not halt for dialog boxes or corrupted drawings.

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

Contact us for a license to activate the time limited fully functional version for free.

Friday, June 26, 2009

Purge unreferenced images in AutoCAD with AutoLISP

Here is some AutoLISP code that can be used to purge unreferenced images from a drawing and delete and detach all images that are not found.

It is prepared to be used together with SmartPurger so multiple drawings can be processed.

An unreferenced image is attached to the drawing but have been erased. A Not Found image is no longer existing in the valid search paths. An Unresolved image cannot be read by AutoCAD.

(defun purge-unreferenced-images (/ ss1 ctr id symlst enamelst delent vl_delent ipath iname tmp)
 (defun remlst (/ tmp1)
    tmp (length (member (cdr (assoc 340 (entget delent))) enamelst))
  (repeat (- (length symlst) tmp)
    (setq tmp1 (cons (car symlst) tmp1))
    (setq symlst (cdr symlst))
  (setq tmp (list (car symlst)))
  (setq symlst (append (reverse tmp1) (cdr symlst)))
 (defun massoc (key alist / x nlist)
  (foreach x alist
    (if (eq key (car x))
      (setq nlist (cons (cdr x) nlist))
  (reverse nlist)

  (setq ss1 (ssget "x" '((0 . "IMAGE"))))
  (setq ctr 0)
  (setq id (dictsearch (namedobjdict) "acad_image_dict"))
  (setq symlst (massoc 3 id))
  (setq enamelst (massoc 350 id))
  (if ss1
      (while (< ctr (sslength ss1))
 (setq delent (ssname ss1 ctr))
 (setq vl_delent (vlax-ename->vla-object delent))
 (setq ipath (vla-get-ImageFile vl_delent))

 (setq iname (strcat (vl-filename-base ipath) (vl-filename-extension ipath)))

 (if (and (not (findfile ipath))
   (not (findfile iname))
     (dictremove (cdr (car id)) (car tmp))
     (append tmp symlst)
     (ssdel delent ss1)
     (vla-delete vl_delent)
     (setq ctr (1+ ctr))
  (while symlst
    (dictremove (cdr (car id)) (car symlst))
    (setq symlst (cdr symlst))
(command "QSAVE")
(command "_QUIT")

Friday, February 6, 2009

SmartPurger now works with AutoCAD 2010 and Windows 7

SmartPurger 2.8 has been released. It is working with AutoCAD 2010 based applications as well as it installs easier on both Windows Vista and Windows 7. SmartPurger can not only purge multiple drawings, SmartPurger can close dialog boxes that might stop the script processing and can also run custom script or AutoLISP files as well.

Friday, August 8, 2008

Batch convert drawings to DXF 2000 format using SmartPurger

SmartPurger has support to run a script or AutoLISP file and here is a sample I showed a client how to do to save drawings to AutoCAD 2000 DXF file format. It can easily be change to save to other DXF versions like AutoCAD 2007 DXF, AutoCAD 2004 DXF or AutoCAD R12 DXF.

Here is the code for the Script file:

(command "._saveas" "_DXF" "_V" "_R2000" "" "")
(while (wcmatch (getvar "cmdnames") "*SAVEAS*")
  (command "_y")
(if (not (equal 0 (getvar "dbmod")))
    (while (not (wcmatch (getvar "cmdnames") "*QUIT*"))
      (command "_.quit")
    (while (wcmatch (getvar "cmdnames") "*QUIT*")
      (command "_y")
  (command "_.quit")

Thursday, March 27, 2008

DWG TrueView 2009 includes measuring ability

DWG TrueView 2009 is Autodesk's free viewer for DWG files and is found here:

DWG TrueView 2009

The big news are:

  • Measure objects with these new inquiry commands: Distance, Area, List, Locate Point, Region/Mass properties, and Object Snaps.
  • Enhanced UI with the addition of Ribbon Navigation
  • Measure objects with these new commands: Distance, Area, List, Locate Point, Region/Mass properties, and Object Snaps
  • Navigate drawings in 2D and 3D with SteeringWheel
  • Enhanced 3D view selection with ViewCube
  • Restore views and play new "animated" views with ShowMotion


It is quite a big install on almost 200 MB for the 32-bit version and bit more for the 64-bit version.

DWG TrueConvert is available from within the program and can convert from and to different versions of the DWG format.

DWG TrueView 2009 can be installed side by side with for example AutoCAD 2009.

Here is a tip I maybe should keep quiet about as I might sell fewer licenses of SmartPurger because of it. You can with some limitations batch purge drawings using DWG Convert as there is an option to purge included and even "Check and Fix Errors" (When active, drawings are checked for the presence of errors. Drawings are automatically recovered if errors are found).

Silent installation of DWG TrueView 2009 could be done with a VBScript like this:
on error resume next
Set WshShell = CreateObject("WScript.Shell")
runstring="msiexec /I ""\\DWGTrueViewx86InstallImage\DWGVIEWR.msi"" /qb! " & _
"INSTALLDIR=""C:\Program Files\DWG TrueView 2009"" " & _
WshShell.Run runstring,1,true
msgbox "Ready"

This previous post describes more details on silent installation.

For more important details like how to handle drawings created with a vertical like AutoCAD Architecture or 3:rd party applications that creates custom objects see the FAQ.

Friday, March 7, 2008

Purge of DWG takes forever - solution

I got an example drawing that needed to be purged and cleaned using SmartPurger. The problem was that it took forever. Increasing the timeout did not help.

Here was my tip.

I suggest you select only the Purge Regapps using ASDKCleanRegAppARX and set the script timeout to something high like 1000 seconds.
After that you can purge using other options.

General tab

Purge tab

Using this tip it still took a few minutes to remove all the Regapps but it helped and it worked even with AutoCAD 2009 as I was using it to confirm this.

This functionality was added with the 2.6 release of SmartPurger as previously described.

Monday, November 26, 2007

Detect educational plot stamped drawings with SmartPurger

SmartPurger can be used to help you detect drawings that has been created or saved by an Educational (Student and Faculty) version of AutoCAD® or AutoCAD-based software.

Why would you like to find these? PRODUCED BY AN AUTODESK EDUCATIONAL PRODUCT will be added along all four edges of any plot of these drawings. If one or more drawings with this stamp is circulating among your non educational drawings you might end up with getting more and more drawings affected. This can happen if you attach an xref or insert a drawing as block. If the xref or block has the stamp the host drawing will get it too.

A dialog box "AutoCAD Alert" shows when opening a drawing like that.

It says: "Educational plot stamp detected. If you continue with this operation, the drawing will be plotted with the following banner: "PRODUCED BY AN AUTODESK EDUCATIONAL PRODUCT" Do you want to continue?"

AutoCAD Alert

Learn your users or yourself to not answer Yes to the above question unless they know about the consequences.

Here is how SmartPurger can help. It's a bit semi automatic. But it can help if you want to go through thousands of drawings.

SmartPurger automatically creates a log file named SmartPurgerClosedPopUps.log in Windows temp folder. If a dialog box shows up that SmartPurger closes, it will be listed in this log file like this:
2007-11-25 15:34:34;D:\test\Educational Plot Stamped.dwg;AutoCAD Alert

Notice "AutoCAD Alert". This indicates that it could be an educational plot stamp in that drawing. If you script through 1000 drawings and find 10 with Alert you can open them manually and check if they have the Educational plot stamp or if the Alert was about something else.

Make sure to check "Close Popups Automatically" in SmartPurger>Options>Settings.


In this case you don't want SmartPurger to do anything with the drawings so make sure to just save the drawings to a temp folder that you can empty afterwards. If you have older drawings it can be a good idea to set "Convert to" as showed below.


Here is a sample DWG with the Educational plot stamp that you can try with.

UPDATE: We now have a separate application EduFinder that quickly can identify all drawings with the educational plot stamp.

Friday, September 21, 2007

SmartPurger 2.7 released

A minor update of SmartPurger that makes sure to close some more popups like "Previous Version MEP Objects Detected" and the Customer Error Reports when needed.

An issue with AutoCAD Architecture 2008 is that it crash when starting and closing it with the use of a script file.

The error in acad.err is: "INTERNAL ERROR:  Attempt to access AecUiBaseServices after shutdown!"

It seems like the SCR file is loaded and run before the palettes are loaded. And the problem is probably related to _aecprojectpalettestartup, _aecprojectnavigator or ProjectNavigatorOnce.

Here is the solution that also works with ScriptPro or other batch/script applications.

First start AutoCAD Architecture. Close the active project using the Project Browser and right click on the project in bold and select close current project. Close AutoCAD Architecture.
Now you can run SmartPurger without getting these crashes.

Saturday, August 18, 2007

Run-time error '339' component problem solution

Run-time error '339':

Component 'acThumb.ocx' or one of its dependencies not correctly registered: a file is missing or invalid

This problem can show up if something went wrong when installing SmartPurger typically on Windows Vista.

Make sure acthumb.ocx is in C:\Windows\System32

Start the Command Prompt as administrator by right clicking and select Run as administrator.


Then run these commands:

regsvr32 /u "C:\Windows\System32\acThumb.ocx"
regsvr32 "C:\Windows\System32\acThumb.ocx"

Sunday, July 29, 2007

SmartPurger 2.6 released

With this release of SmartPurger you can use the option "Purge Regapps using ASDKCleanRegAppARX.arx (2004-2008)". Thanks to James Maeding that provided it. This is much better than the other options "Purge all Regapps" and "Purge all registered applications collection" that previously were available.

SmartPurger can also execute custom script files (.SCR) or AutoLISP files (.LSP, .FAS or .VLX), batch plot or any other automated work you need to have done.

Thursday, April 5, 2007

ScriptPro has been resurrected

Thanks to R.K. McSwain I know that finally the ScriptPro update has been released to support AutoCAD 2007/2008 based applications as well as Windows Vista. It really is no change to ScriptPro since 2003 but now the installer works. You find it here:

Speaking of scripting you might want to consider SmartPurger. Not free as ScriptPro but with somewhat more functionality. 

Wednesday, December 13, 2006

Why SmartPurger can batch run AutoLISP files directly

Most batch programs for AutoCAD and its verticals can only run script files (files with the SCR extension). SmartPurger can also run AutoLISP files (files with the LSP, FAS or VLX extension) directly among all other useful things. Here is one reason why it can be useful.

If you want to redefine a block definition without inserting a new block in a drawing you can insert a file using = as this example shows.

(command "insert" "blockname=c:\\path\\filename.dwg"))

The row (command) cancels the insert command but still the block is updated. But if this is run by the script command (command) stops the script from executing any further. It doesn't help to load a lisp file from the script file. But this can work when running a lisp file using SmartPurger like this sample below. The last to rows are needed for SmartPurger to continue and process the next drawing.

; The name of the block to redefine
(setq blockname "Tag - Metric")
; The path and name to the block use for redefining
(setq blockfile "C:\\temp\\Tag - Metric.dwg")
; Insert the new block and cancel using (command)
(command "insert" (strcat blockname "=" blockfile))
(command "QSAVE")
(command "_QUIT")

Click here to download the free trial of SmartPurger. It also for the AutoCAD 2007 platform where you might have trouble to get ScriptPro to work. The trial is fully functional except that you can only batch 3 drawings at a time. The fully functional version can be purchased from 25 USD. Since it has ability to close dialog boxes like the one for missing shapes it can almost run forever without interruption.

Technorati tags: ,

Some of the latest blog posts

Subscribe to RSS headline updates from:
Powered by FeedBurner