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

CAD tip CAD tip # 7169:

Question CAD 
 %  platform  category 
Q - question

PreSave reactor - automatic operations on drawing save.

A - answer Often you would need to add an automatic process to your DWG drawing file save operation - e.g. to save the drawing without unnecessary block definitions (Purge), with the modelspace active, and/or with the thumbnail preview covering the whole drawing.

In such situations you can use the automatic save reactor CADstudio PreSave. After you load it (APPLOAD, ACADDOC.LSP), all standard drawing saves (OnSave, using a command, keyboard shortcut, closing the window or closing AutoCAD) will be automatically preceded by the selected preset operations. The reactor parameters can be set with the PRESAVE command (dialog). You can also define other, custom actions performed before save (e.g. saving an older version copy or an extract from the saved DWG, update title blocks, unload some images, etc.). All settings are stored in the Registry - so they are valid for all drawings and all sessions.

PreSave dialog

The currently (V1.5) defined internal actions include:
  • Zoom extents
  • Set layer to "0"
  • Switch to the Model tab
  • Perform Purge (repeated)
  • Save a PNG preview image to the drawing folder
  • Set the property Author to the current user's login name
  • Create/Update the custom property LastACADver with your AutoCAD version - in the format e.g.:
    AutoCAD 2016 – English: M.107.0.0 (UNICODE)

You can download the CADstudio PreSave utility from There you can get also the Authorization code required for advanced functionality of PreSave.

100% *  CAD 
18.1.2010    8586×  
Prices - CAD eShop:
applies to: AutoCAD ·

See also:
Tip 11780:How to rename layouts by a specific attribute of the title block?
Tip 10702:How to find which AutoCAD version was used to save a particular DWG drawing?
Tip 9514:Automatically set the Author property in DWG files.
Tip 9428:Save DWG drawing automatically after every N commands.
Tip 8778:How not lose edited DWG drawing even when closed without saving.

Back   All CAD Tips All CAD tips&tricks

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 is not responsible for possible problems that may occur as a result of using any of these tips.