Results 1 to 5 of 5

Thread: Export Layout Tabs to drawing files

  1. #1
    Member
    Join Date
    2000-11
    Location
    Syracuse Utah
    Posts
    47
    Login to Give a bone
    0

    Question Export Layout Tabs to drawing files

    Does anybody know of a way to export or save a layout tab as a drawing file? We are required to do this for a number of our clients and when you have a drawing with 20-30 layout tabs it gets time consuming to do a saveas on each tab and then open up each drawing and then delete the unnecessary tabs and layers and then purge and re-save the file.

    I want the new drawing to be what is in Paperspace and only what is on inside the Viewport for Model Space. I don’t want any of the information from any of the other viewports. Does this make sense?


    TIA

  2. #2
    The Silent Type Mike.Perry's Avatar
    Join Date
    2000-11
    Posts
    13,656
    Login to Give a bone
    0

    Default Re: Export Layout Tabs to drawing files

    Hi

    Check out the following routine from JTBWorld -

    LayoutsToDwgs.lsp

    Have a good one, Mike

  3. #3
    Active Member
    Join Date
    2007-11
    Posts
    68
    Login to Give a bone
    0

    Default Re: Export Layout Tabs to drawing files

    The LISP is great, does anyone know to alter the linked lisp to grab the first 6 characters of the file name to replace the question asked?

  4. #4
    Administrator Opie's Avatar
    Join Date
    2002-01
    Location
    jUSt Here (a lot)
    Posts
    9,100
    Login to Give a bone
    0

    Default Re: Export Layout Tabs to drawing files

    Quote Originally Posted by RobMc View Post
    The LISP is great, does anyone know to alter the linked lisp to grab the first 6 characters of the file name to replace the question asked?
    Find this line of text within the code
    Code:
    (setq fileprefix (getstring "Enter filename prefix: "))
    and replace with this bit of code
    Code:
    ;_ (setq fileprefix (getstring "Enter filename prefix: "))
    (setq fielprefix (substr (getvar 'dwgname) 1 6))
    If you have a technical question, please find the appropriate forum and ask it there.
    You will get a quicker response from your fellow AUGI members than if you sent it to me via a PM or email.
    jUSt

  5. #5
    Member
    Join Date
    2012-07
    Posts
    2
    Login to Give a bone
    0

    Default Re: Export Layout Tabs to drawing files

    In addition to the prefix, I have to change the code to to add a suffixe?
    Even if possible, it would be perfect if I could run the PURGE command before saving each tab.
    Can anyone help me?

    - - - Updated - - -

    In addition to the prefix, I have to change the code to to add a suffixe?
    Even if possible, it would be perfect if I could run the PURGE command before saving each tab.
    Can anyone help me?

Similar Threads

  1. Layout tabs names change when layout renamed in SSM
    By autocad.wishlist1734 in forum AutoCAD Wish List
    Replies: 2
    Last Post: 2013-01-20, 05:07 AM
  2. How to predefine AutoCAD layout tabs for CAD files exported from Revit
    By ejc in forum Revit Architecture - Tips & Tricks
    Replies: 6
    Last Post: 2007-10-02, 05:01 AM
  3. Hide Layout/Model tabs in every drawing
    By robert.1.hall72202 in forum AutoCAD General
    Replies: 5
    Last Post: 2007-06-19, 02:11 PM
  4. LISP routine to create PLT files from Layout tabs
    By Matt Mercer in forum AutoLISP
    Replies: 3
    Last Post: 2007-01-25, 02:30 PM
  5. Replies: 2
    Last Post: 2006-09-22, 06:17 PM

Posting Permissions

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