Paste object

Discussion in 'AutoCAD' started by David, Oct 7, 2004.

  1. David

    David Guest

    Hi NG;

    Is i possible to paste object through VBA.

    I would copy some entities in drawing1 and want to paste them in drawing2 as
    a group.

    To do this I thougt of using PASTEBLOCK command and then explode it in VBA
    and creating a group of the entities.

    The problem is that if I use PASTEBLOCK through VBA with SendCommand
    the code will not wait for the user to pick a point.

    Any ideas how to solve this?

    TIA David
     
    David, Oct 7, 2004
    #1
  2. David

    VBA Guest

    Use CopyObjects method.
     
    VBA, Oct 7, 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.