See the top rated post in this thread. Click here

Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: Delete layout tabs

  1. #11
    I could stop if I wanted to cadd4la's Avatar
    Join Date
    2001-12
    Location
    Newport Beach, CA
    Posts
    399
    Login to Give a bone
    0

    Default Re: Delete layout tabs

    Big-AL,

    Thank you for your clarification.

    Cadd4la

  2. #12
    All AUGI, all the time
    Join Date
    2003-07
    Posts
    561
    Login to Give a bone
    0

    Default Re: Delete layout tabs

    Here is 1/2 the question answered.

    Code:
    (setq doc (vla-get-activedocument (vlax-get-acad-object)))
    (setq lst '())
    (vlax-for lay (vla-get-Layouts doc)
    (setq lst  (cons (list  (vla-get-name lay) (vla-get-taborder lay) ) lst))
    )

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Help! I do not want to delete my layout tabs
    By Jgoduti25 in forum AutoLISP
    Replies: 4
    Last Post: 2013-12-18, 03:31 AM
  2. 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
  3. Delete Layout tabs in script?
    By ecochic in forum AutoCAD General
    Replies: 4
    Last Post: 2007-09-26, 04:24 PM
  4. Publish layout tabs and layout tab names to PDF
    By dfuehrer in forum AutoCAD Plotting
    Replies: 9
    Last Post: 2005-11-09, 02:49 PM

Tags for this Thread

Posting Permissions

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