This issue only occurs when we attempt to use an in-house vba plot routine to plot views from model space. The offending drawings always have a invalid plotter configname. If we first use the plot button and acknowledge the invalid plotter configuration and chose a valid plotter and either save (on page setup) or plot, our vba routine then works fine. If we don't then AutoCAD errors out as follows ... --------------------------- AutoCAD Error-abort --------------------------- Error handler re-entered. Exiting now. --------------------------- OK --------------------------- The code snippet is as follows: where sPlotterCfg is a valid ConfigName .. ThisDrawing.ActiveSpace = acModelSpace Set aLayout = ThisDrawing.ModelSpace.Layout aLayout.ConfigName = sPlotterCfg '<- Error Occurs Here aLayout.RefreshPlotDeviceInfo
In addition to any replies you might receive or already received, you may find more information or responses by posting future VBA related questions in the following discussion group: By NNTP discussion group reader at news://discussion.autodesk.com/autodesk.autocad.customization.vba By HTTP (web-based) interface at http://discussion.autodesk.com/forum.jspa?forumID=33