Is there a way to make and numerical array (1 2 3 4...)?
Is there a way to make and numerical array (1 2 3 4...)?
(OP)
I was wonder if anyone knew of a way to make a numerical array (1 2 3 4 5). I am coverting wiring diagrams to autocad files and it would make it a lot fast if it is possible. Every terminal has a different # so I am having to type them all in manually. I hope someone can help. Any advice is helpful. Thanks in advance.





RE: Is there a way to make and numerical array (1 2 3 4...)?
I have an old copy of Via Lite which does precisely that but they were bought out by Autodesk and the Lite package was discontinued.
--------------------
Bring back the HP-15
www.hp15c.org
--------------------
RE: Is there a way to make and numerical array (1 2 3 4...)?
;
(DEFUN C:NUMB ( / N) ; Insert & increment IDCircle block
(setvar "ATTDIA" 0)
(setq N (getint "\nEnter beginning number <1>: "))
(if (= N nil) (setq N 1))
(while N
(progn
(COMMAND "INSERT" "IDCIRCLE" "NEA" PAUSE "1" "1" "0" (itoa N) "" )
(setq N (+ 1 N))
)
) ; end while
(princ)
)
;
RE: Is there a way to make and numerical array (1 2 3 4...)?
RE: Is there a way to make and numerical array (1 2 3 4...)?
RE: Is there a way to make and numerical array (1 2 3 4...)?
RE: Is there a way to make and numerical array (1 2 3 4...)?
"Everybody is ignorant, only on different subjects." — Will Rogers
RE: Is there a way to make and numerical array (1 2 3 4...)?