Multi Tab LISP's

Discussion in 'AutoCAD' started by gdean, Mar 10, 2005.

  1. gdean

    gdean Guest

    I am looking for a routine to change, or plot, every tab in a multi tab drawing. I used to be able to plot all tabs in previous versions of cad.

    I found a portion of a routine that seems like it might work with some manipulation but I don't know what is going wrong with it as is. It was originally a lisp to plot multi tab drawings.

    (progn
    (foreach mb (vl-remove "Model" (layoutlist))
    (setvar "ctab" mb)
    (command
    "INSERT ROUTINE HERE")
    ))

    Any input would help.
     
    gdean, Mar 10, 2005
    #1
  2. gdean

    OLD-CADaver Guest

    OLD-CADaver, Mar 11, 2005
    #2
  3. gdean

    BTO Guest

    (progn
    hi,

    just a add, you don't need
    (vl-remove "Model" (layoutlist))

    because (layoutlist) don't return "Model" layout.

    (foreach LayoutName (layoutlist)
    (setvar "ctab" LayoutName )
    .....
    .....
    )
    )

    Bruno Toniutti
     
    BTO, Mar 22, 2005
    #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.