Your autolisp routines are not coded very well, i.e. refer to AutoCAD documentation on selection sets (ssget),
I quote,
"Selection sets consume AutoCAD temporary file slots, so AutoLISP is not permitted to have more than 128 open at one time. If this limit is reached, AutoCAD refuses to...
If I have understood your original question properly, I think you should try Plot Stamp in AutoCAD, hopefully thats your working platform. I am not sure which versions contains this feature, certainly AutoCAD 2002 has the feature.
Follow this;
borgunit (Mechanical) Jun 11, 2003
Express Bonus Tools 2002 - FREE
Download and install the bonus tools from http://www.contractcaddgroup.com/download/ExpressBonusTools.zip
"Whether you think that you can, or that you can't, you are usually right "
.. Henry Ford
Try this code which I created quickly, I think it will work well, but it still needs to be developed to ensure that it does not affect autocad system variables. Tell me your results. I have tried it on a drg with four simple rectangles only.
(Defun c:htc ()
(prompt "\nSelect Objects...
I have analysed the (command ".text")'s prompt sequence for the different drawings. On all of my drawings the sequence is as follows:
Specify start point of text or [Justify/Style]:
Specify height <0.300>: .3
Specify rotation angle of text <0.00>:
Enter text: 56
Whereas this other...
If I run a lisp which inserts text i.e. (command ".text" pt1 txth1 0 n2) in a certain drawing, Only 0 (zero) is inserted for all the points I require, yet my expected results should be say 56 57 or 58.
If I run the same routine on drawings which I created i get the right answer. Is...
Sorry for the late reply. This is one of my lisp codes, I have even tried cmdecho still no change. Whats the best way to determine which System Variable to use and when? I am still leaning lisp be patient with me.
;|Writen by Eddie Mukahadira. This code is for incremental
labelling of objects...