Troubleshooting eWasOpenForWrite Error in AutoCAD Mechanical
Last week I was working on an AutoCAD Mechanical drawing and needed to export the drawing from 'paper space' to 'model space'. But while exporting it produced 'eWasOpenForWrite' error and unable to complete the export. The error read
Un-handled exception has occurred in a component in your application. If you click Continue, the application will ignore this error and attempt to continue.
I immediately searched Autodesk discussion groups for ‘eWasOpenForWrite’ and found some suggestions. But to my dismay those suggestions didn't solve the problem. The unsuccessful suggestions I found in Autodesk discussion groups are
1. Use ‘recoverall’ command to repair the drawing
2. Unbind all ‘Xref’ blocks and purge the drawings
3. Use ‘audit’ command with auto repair option set to ‘No’
Then decided to do my own experiment, and found the following three solutions.
1. AutoCAD Mechanical 2004 Save As
In this method ‘save as’ the drawing in AutoCAD Mechanical 2004 format. Then close AutoCAD (note that you have to close AutoCAD entirely not just the drawing). And open the AutoCAD and open the saved drawing.
2. AutoCAD 2010 Save As
In this method save the drawing in plain AutoCAD (not as AutoCAD Mechanical) and close AutoCAD and reopen the file and try exporting layout to model.
3. Open with AutoCAD
Just close AutoCAD Mechanical and open plain AutoCAD and open the drawing in it and try export layout to model.