insert block from external drawing contains more than one blocks

Discussion in 'AutoCAD' started by sien, Dec 15, 2003.

  1. sien

    sien Guest

    Hello,

    I have a dwg contains 4 blocks (fire1, fire2, fire3, fire4)

    Is there a method to insert this blocks to other drawing using vba?

    This is a part of my code:

    Dim blkObj As AcadBlockReference

    Set blkObj = ThisDrawing.ModelSpace.InsertBlock(coordinate(),
    "c:\temp\test.dwg"
    , 1, 1, 1, angle)

    How can I specify which block I will insert if I just can give one
    parameter in this method(block name or path name?)
    Is there other method I can use?

    Thx!
     
    sien, Dec 15, 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.