Filer error

Discussion in 'AutoCAD' started by lara, Jun 11, 2004.

  1. lara

    lara Guest

    when i try to insert an existing block in a drawing through VBA, the autoCAD throws up the Filer error

    Set blockBlockRef = ThisDrawing.ModelSpace.InsertBlock(dblBlockInsPnt, strBLOCKPATH, dblxScale, dblyScale, dblzScale, dblBlockRotation)

    I am using autoCAD 2004, i checked the past discussion group info.. i had called the Template drawing using the foll.command:
    Thisdrawing.Application.Documents.Open "C:\AcadDrawings\Template.dwg"
     
    lara, Jun 11, 2004
    #1
  2. lara

    Juerg Menzi Guest

    Hi Lara

    Did you add the dwg extension in strBLOCKPATH?

    Cheers
    Jürg
     
    Juerg Menzi, Jun 11, 2004
    #2
  3. lara

    lara Guest

    yes, i had the problem rectified...thanks. the naming convention of string wasnt correct.
     
    lara, Jun 11, 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.