Objectadded Event

Discussion in 'AutoCAD' started by srinivasan, Nov 15, 2004.

  1. srinivasan

    srinivasan Guest

    Hello all
    When i copy a block object,the objectadded event gets fired
    and i am able to get the insertion point of the source objects.
    How can i get the insertion point of the destination object (i.e the newly created object).

    Bye
    Sri
     
    srinivasan, Nov 15, 2004
    #1
  2. srinivasan

    Warren M Guest

    Hello Sri.

    You need to set a reference to the object being copied.

    ie.

    set newBlk = oldBlock.copy

    Hope this helps
    Warren M
     
    Warren M, Nov 15, 2004
    #2
  3. srinivasan

    srinivasan Guest

    Thanks MR.Warren for your suggestion.
     
    srinivasan, Nov 16, 2004
    #3
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.