Object not in database error

Discussion in 'AutoCAD' started by mgrigoriev, Feb 4, 2004.

  1. mgrigoriev

    mgrigoriev Guest

    Hi!
    I am trying to copy entities from a closed drawing into the currently open one, using ObjectDBX.
    Here's what I do:

    Set objSpace = ThisDrawing.ModelSpace
    Set objArr(0) = Entity 'Entity from the closed drawing
    varObject = ThisDrawing.CopyObjects(objArr, objSpace)

    On the line "Set objArr(0) = Entity" I get an error: "". What can be done about that?

    Thanks,
    Mike
     
    mgrigoriev, Feb 4, 2004
    #1
  2. mgrigoriev

    mgrigoriev Guest

    Sorry, guys, this was a stupid question. I got it all figured out.
     
    mgrigoriev, Feb 4, 2004
    #2
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.