Copy objects from Xref

Discussion in 'AutoCAD' started by michael montagne, Dec 18, 2003.

  1. I'm looking to copy some objects selected by the user from an xref in to
    the current drawing. In this case, I'd like to be able to select an
    object ala (entget (car (nentsel))) and find the handle. Then use the
    Xrefdatabase object to specify the object fom the handle and use
    CopyObjects. Is there a VBA equivalent of nentsel? Is this the best
    way to go about this problem? Anyone have any other ideas? I like the
    nentsel approach because the item selected to copy may be part of a
    block or another xref.

    thanks,
    -mjm
     
    michael montagne, Dec 18, 2003
    #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.