Search the Community
Showing results for tags 'autonumber'.
-
Anyone see a routine in their travels that does this? (block numbering)
ILoveMadoka posted a topic in AutoLISP, Visual LISP & DCL
Not sure how to even frame the question... Given a block like this: If it is inserted and is the first instance, change the text to 01, each additional insert will be numbered based upon the total number of that particular block being inserted. Can the text be text/mtext or would it have to be an attribute? I suppose it would search the block table when it is run and number additional inserts based upon the total existing in the drawing at the time of the insert. Has anyone seen such a routing/proggie that does that? If I used diesel (or other) could the numbers update automatically if one is deleted either by regen or some other trigger? Based upon their order within the blocktable? I do not even know how to search on something like this... Since I figured something would have to be written, I asked here but other forums might know of solutions.. -
Help: Auto Number Layouts By its sequence and prefix it if < 10
homasa posted a topic in AutoLISP, Visual LISP & DCL
Hello 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- 13 replies
-
- autonumber
- layout
-
(and 3 more)
Tagged with:
-
I'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.
- 1 reply
-
- callouts
- autonumber
-
(and 1 more)
Tagged with:
-
Hi 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.
- 5 replies
-
- sort
- autonumber
-
(and 1 more)
Tagged with: