Copy/cut paste and ObjectAdded event

Discussion in 'AutoCAD' started by jmehdwan, Aug 10, 2004.

  1. jmehdwan

    jmehdwan Guest

    Hi, I am writing a small program to take in AutoCAD entities that have been copied/cut and pasted into the modelspace.
    The problem that I am having is that when I paste a Line, I get three ObjectAdded events. They are in the following order: Line Added, BlockReference Added and Line Added.

    After I have clicked on the drawing to paste the Line, the BlockReference gets erased but the first line does not. Is there anyway for me to find out of the Objects that were added to the drawing and are still in the drawing?

    Thanks,
    Jaspreet
     
    jmehdwan, Aug 10, 2004
    #1
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.