Search the Community
Showing results for tags 'autonumber'.
Found 3 results
Help: Auto Number Layouts By its sequence and prefix it if < 10
homasa posted a topic in AutoLISP, Visual LISP & DCLHello Again I found this script that i wanna change because it does not work well when layouts are not "Layout 1", "Layout 2" , etc even for example if i already have the layouts numbered but have to create another one or simply re-arrange them (alert "Use at command line to execute program:\n\n numlay") (defun c:numlay (/ i) (vl-load-com) (setq i 0) (foreach x (layoutlist) (vla-put-name (vla-item (vla-get-layouts (vla-get-activedocument (vlax-get-acad-object)) ) x ) (strcat (itoa (setq i (1+ i)))) ) ) (princ) ) I wanna it to : 1) Auto-number Layout using the sequence in which they really are 2) That autonumbering prefix an 0 before the number if it is this last topic i tryied using this code without sucess .... (cond ((and (> i 0) (< i 10)) (strcat "0" (itoa i)) ) thx in advanced
In need of an auto increment Callout LISP
krpruett posted a topic in AutoLISP, Visual LISP & DCLI've seen others like what I need but none exactly. I need a command so that i can draw a callout from a part using 2 clicks and a number will be placed off of the line but with with an option for a bubble or no bubble and landing or no landing. I will need settings for line color, layer and text offset from end of line. I'd like it to be like a leader as well so that text will stay upright despite movement. The auto-number will need a starting number and amount of increment. Prefix and Suffix a plus but not necessary. I want to enter the command, click click and have a callout. Then keep on clicking. Thanks in advance.
Need Auto numbering LISP sorting by distance
odygaro posted a topic in AutoLISP, Visual LISP & DCLHi all, Very new at this forum. I need an AutoLISP that will help me auto numbering blocks or text. I am aware of "TCOUNT which is handy, however the command only gives you 3 choices in regards to how to number, X, Y and Select order. What I need is a program that will sort and number my blocks/text by distance from a point. Thank you so much for your help.