+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Forum Newbie
    Using
    not specified
    Join Date
    Nov 2005
    Location
    New Zealand
    Posts
    2

    Default How can output a list of my layout names?

    Registered forum members do not see this ad.

    How can output a list of my layout names? I need this to create a 'plot all layouts' lsp. Can't use Publisher as it can't run within my custom data base!

  2. #2
    Super Member
    Using
    AutoCAD 2007
    Join Date
    Aug 2003
    Location
    Livingston, Scotland
    Posts
    995

    Default

    Code:
    (setq MylayOuts (layoutlist))
    ResourceCAD.... the Resource for your CAD Solutions

  3. #3
    Super Member CAB's Avatar
    Using
    AutoCAD 2000
    Join Date
    May 2004
    Location
    Tampa, Florida
    Posts
    801

    Default

    Registered forum members do not see this ad.

    Here is a text file output.
    Code:
    (defun c:tabs->prn (/ fn itm)
      (if (setq fn (open "Tab Names.txt" "w"))
        (progn
          (foreach itm (layoutlist)
            (write-line itm fn)
          )
          (close fn)
        )
        (prompt "\nFile 'Tab Names.txt' created.")
      )
      (princ)
    )

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts