• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    Autodesk GIS Design Server

    Reply
    Member
    Posts: 3
    Registered: ‎07-13-2007

    !dbobji.cpp@6266: eNotOpenForWrite

    1418 Views, 0 Replies
    10-23-2007 12:47 PM
    Hi. Somebody please help me.

    I get this error when I try to plot a Map in Autodesk Map 3D 2006 / AGDS 8.4.1:

    "INTERNAL ERROR: !dbobji.cpp@6266: eNotOpenForWrite"

    I have created an input adapter and attached it to the current document.

    pIAdapter = new CFurnasAdapterInput();
    AcApDocument *doc = curDoc();
    pIAdapter->setDocument( doc );

    bool CAdapterInput::addingEntity(AcDbEntity *pEnt, LPCTSTR sHandle) {
    if ( !this->addEntity( pEnt, sHandle ) )
    return(false);
    return(true);
    }

    The plot command calls the addingEntity method. If I comment this line: "this->addEntity( pEnt, sHandle )", it doesn't crash.

    It's strange that in Autocad Map 2004, the plot command doesn't call this method, so it doesn't crash. Message was edited by: stancato
    Please use plain text.