See the top rated post in this thread. Click here

Results 1 to 8 of 8

Thread: Getting the number of a layout tab

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Login to Give a bone
    0

    Default Getting the number of a layout tab

    Hey all,

    Just getting started with AutoLISP.

    At work we don't use sheets but layouts instead. Perhaps it's not the most proper way but that's the way it is. We find layouts are faster since each person completes 15-20 multi-page projects a day.
    Considering the volume of work I want to automate some things, like populating fields.

    The subject of this thread is getting a text object to display a page count such as "3 of 5"

    I Googled the subject and you may be quick to point out that similar sounding questions have been asked before. Maybe not quite.

    What I have:
    (setq layout_count_var (length(layoutlist)))
    in acaddoc.lsp happily returns the count of layout tabs, but that's only half of the solution.

    I found a suggested solution that used DieselExpression, BUT. IT. JUST. DIDN'T. WORK.

    Is there an AutoLISP solution to make a text object (in each layout) display a layout tab's order number?

    I use AutoCAD 2018 if it matters.

    Insight is appreciated.

    Thanks!
    Last edited by whackoprogrammer760234; 2017-12-03 at 05:06 AM.

Similar Threads

  1. 2011: Express Tools Auto Number - Skips Number in Multi-line Mtext
    By stusic in forum AutoCAD General
    Replies: 3
    Last Post: 2013-01-29, 02:38 PM
  2. Linked door number and security arrow number
    By 01chang in forum Revit Architecture - General
    Replies: 2
    Last Post: 2009-08-19, 01:54 PM
  3. Layout Page Number
    By kwest in forum AutoCAD LT - General
    Replies: 4
    Last Post: 2009-03-27, 01:29 PM
  4. Link Layout TAB to the drawing number
    By boyerd in forum AutoCAD General
    Replies: 4
    Last Post: 2008-03-06, 07:02 PM
  5. Layout tab displays wrong name and number
    By jfields.61630 in forum AutoCAD Sheet Set Manager
    Replies: 3
    Last Post: 2006-12-18, 08:50 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
  •