When I load my application and try to plot the DWG file, I get the following error:
"INTERNAL ERROR: !dbobji.cpp@6266: eNotOpenForWrite"
And then Autocad aborts (the "plot - model" screen is not even displayed).
The same error occurs with "plot preview" command
I tried to open the Block Table for write - acdbHostApplicationServices()->workingDatabase()->getBlockTable(pBlockTable, AcDb::kForWrite) - (before execute plot command), and then the "plot - model" screen opened sucessfully. But when I push ok button, I got the following error:
"INTERNAL ERROR: !dbutil.cpp@698: eWasOpenForWrite"
This error doesn't happen in Autocad Map 2004 when the same ARX file is loaded.
I can't identify anything wrong in my code.
Did anybody have a problem like this?