Inserting Blocks Within a FIle using VBA

Discussion in 'AutoCAD' started by PedRocK, May 4, 2004.

  1. PedRocK

    PedRocK Guest

    HI,
    im new in VBA i've checked some posts but not really found what I want.
    How can I insert many BLocks from A single File....just like the system of Design center in Autocad, which sees Blocks within the file and drags and drops them...can anyone code it for me?
    thanks in advance
     
    PedRocK, May 4, 2004
    #1
  2. PedRocK

    JRWalker Guest

    Are you wanting to hire someone or just looking for someone to code it for
    free?



    Design center in Autocad, which sees Blocks within the file and drags and
    drops them...can anyone code it for me?
     
    JRWalker, May 7, 2004
    #2
  3. PedRocK

    bcoward Guest

    Maybe he means pseudocode so he can take it from there

    In that case it might be:

    Identify path and file name using extension
    Open file for input
    Do while not EOF
    Insertblock(Name From File)
    Loop

    Msgbox "Done"

    Good luck,

    Bob Coward
    CADS, Inc
     
    bcoward, May 7, 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.