Fix several drawings

Discussion in 'AutoCAD' started by RickW, Jan 26, 2005.

  1. RickW

    RickW Guest

    I know little to nothing about AutoLisp programing.

    I have a set of block drawings (234 of them) I got from a 3rd party. These are simple drawings and have been produced with varying layers.

    What I want is a Lisp (or script?) routine that will 1)open each drawing in a specific folder; 2)change everything in that drawing to layer 0; 3)Zoom Extents; 4)save the drawing (the original name will be fine); and 4)close the drawing.

    Do any of you know where I might find a routine of this kind or would one of you Lisp gurus be interested in writing one?
     
    RickW, Jan 26, 2005
    #1
  2. RickW

    Tom Smith Guest

    No need for lisp, what's required is a script running plain Acad commands.
    You'll need a tool like ScriptPro, which was included with the A2K migration
    tools
     
    Tom Smith, Jan 26, 2005
    #2
  3. RickW

    John Schmidt Guest

    AutoM8 from www.m8tools.com will easily do that.

    John

    These are simple drawings and have been produced with varying layers.
    in a specific folder; 2)change everything in that drawing to layer 0; 3)Zoom
    Extents; 4)save the drawing (the original name will be fine); and 4)close
    the drawing.
    of you Lisp gurus be interested in writing one?
     
    John Schmidt, Jan 27, 2005
    #3
  4. RickW

    Matt W Guest

    I've got something for you.
    It's VBA. If you're interested, let me know and I'll post it.
     
    Matt W, Jan 27, 2005
    #4
  5. RickW

    T.Willey Guest

    I was writting something for this also in vba, just to do it in vba, but I have hit some snags. I have gotten help from the vba forum, but if you don't mind posting your, I would love to learn from it.

    Thanks.
    Tim
     
    T.Willey, Jan 27, 2005
    #5
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.