Results 1 to 10 of 10

Thread: Routine to count the number of Layouts in a drawing

  1. #1
    Login to Give a bone
    0

    Thumbs up Routine to count the number of Layouts in a drawing

    Does anybody know about a lisp routine that counts the layout tabs in the DWG?

    Also to set up a detail callout so that if you renumber the details, the callouts automatically update?
    Pedro Gastelum Jr.
    CAD Tech

  2. #2
    All AUGI, all the time
    Join Date
    2015-12
    Location
    Central Oregon
    Posts
    591
    Login to Give a bone
    0

    Default Re: Routine to count the number of Layouts in a drawing

    (length (vl-remove "Model" (layoutlist)))

    Not sure what you want for the other......

  3. #3
    Login to Give a bone
    0

    Default Re: Routine to count the number of Layouts in a drawing

    Is this a field? or a text line for a lisp routine? I do not know how to write lisp routines.
    Pedro Gastelum Jr.
    CAD Tech

  4. #4
    I could stop if I wanted to scwegner's Avatar
    Join Date
    2004-12
    Location
    Minneapolis, MN
    Posts
    449
    Login to Give a bone
    0

    Default Re: Routine to count the number of Layouts in a drawing

    That's a line of vlisp that counts the number of layouts. To get a working lisp you'd need to add a little bit.
    So are you looking for someone to write this for you? That's no fun! It should be pretty easy to do yourself if you give it a shot. www.afralisp.com has a nice simple tutorial that can get you started. If sure everyone here will be happy to help you put it together.

  5. #5
    Member
    Join Date
    2004-11
    Posts
    21
    Login to Give a bone
    0

    Default Re: Routine to count the number of Layouts in a drawing

    So sorry to report this bit of sad coding news, but in response to the last post - Afralisp is no more.

  6. #6
    I could stop if I wanted to
    Join Date
    2004-12
    Location
    California
    Posts
    283
    Login to Give a bone
    0

    Default Re: Routine to count the number of Layouts in a drawing

    Yea....what happened to afralisp??

  7. #7
    All AUGI, all the time
    Join Date
    2015-12
    Location
    Central Oregon
    Posts
    591
    Login to Give a bone
    0

    Default Re: Routine to count the number of Layouts in a drawing

    Afralisp closed last week, apparently due to a dispute between the Site's owner and the Hosting provider. I do know that things are in the works trying to return the site to us......

  8. #8
    I could stop if I wanted to pnorman's Avatar
    Join Date
    2005-02
    Location
    Calgary
    Posts
    203
    Login to Give a bone
    0

    Default Re: Routine to count the number of Layouts in a drawing


  9. #9
    Login to Give a bone
    0

    Default Re: Routine to count the number of Layouts in a drawing

    That site doesn't let you use any of the tutorials.
    Pedro Gastelum Jr.
    CAD Tech

  10. #10
    I could stop if I wanted to scwegner's Avatar
    Join Date
    2004-12
    Location
    Minneapolis, MN
    Posts
    449
    Login to Give a bone
    0

    Default Re: Routine to count the number of Layouts in a drawing

    Quote Originally Posted by joel.78040
    So sorry to report this bit of sad coding news, but in response to the last post - Afralisp is no more.
    That's awful! I loved that site! I really hope it comes back because I've always thought it was far and away the best online resource for learning lisp. Hmmm... maybe AUGI should take up the challenge?

Similar Threads

  1. How to count number of days
    By BeKirra in forum AutoLISP
    Replies: 10
    Last Post: 2013-02-07, 12:27 AM
  2. Replies: 2
    Last Post: 2012-08-08, 10:13 AM
  3. Replies: 14
    Last Post: 2009-05-22, 02:21 AM
  4. Replies: 3
    Last Post: 2006-08-04, 07:02 PM
  5. Count the number of Blocks in a drawing file
    By ajtrahan in forum AutoCAD Fields
    Replies: 9
    Last Post: 2006-06-02, 02:52 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
  •