View Full Version : Routine to count the number of Layouts in a drawing
pgastelum77763
2005-07-05, 11:04 PM
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?
Jeff_M
2005-07-06, 02:10 AM
(length (vl-remove "Model" (layoutlist)))
Not sure what you want for the other......
pgastelum77763
2005-07-06, 02:59 PM
Is this a field? or a text line for a lisp routine? I do not know how to write lisp routines. :-(
scwegner
2005-07-06, 03:09 PM
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.
newfoundfreedom
2005-07-06, 03:26 PM
So sorry to report this bit of sad coding news, but in response to the last post - Afralisp is no more.
fletch97
2005-07-06, 04:39 PM
Yea....what happened to afralisp??
Jeff_M
2005-07-06, 05:31 PM
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......
pnorman
2005-07-06, 05:41 PM
temporarily go to
http://web.archive.org/web/20041106095021/http://www.afralisp.com/
pgastelum77763
2005-07-06, 06:11 PM
That site doesn't let you use any of the tutorials.
scwegner
2005-07-07, 02:15 PM
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?
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.