• This forum is the machine-generated translation of www.cad3d.it/forum1 - the Italian design community. Several terms are not translated correctly.

sum/discount of a number of texts (numbers)

kitemaster64

Guest
Hello everyone, thank you very much for your contributions, which are precious! !

I have a problem .. I tried to search but I couldn't find ... sorry. .

I have a dwg file with about 7000 entities (point, cross) on various layers. each point has attached a number that represents the quota z, this number
is simply a text.. logical that all numbers/texts have different values: 65.29
I think this file was created by a topography application.. the problem is that the relief was wrong and therefore all these values are wrong. Fortunately the error is constant and they have mistaken of a value of 45.33 more, so I should number a number subtract the value 45.33. example if I find written 65.29 I should turn it into 19.96 as I subtracted the value of 45.33

If I have to do it for 7000 I get hurt:36_1_25:
Is there any lisp that allows me to select these numbers in large quantities also layer by layer and recalculate them automatically?

Please I'm desperate..:36_1_4:
I have to deliver the job on Monday.. Thank you thank you
 
It works!!!! I have no words, a weekend earned. I already saw myself.. tennis cuff for pain in the carpal tunnel by muose and calculator
thank you thank you thank you!!!! "rpos66" coffee with brioche paid.
you are all great..:36_1_11::36_1_11:3545:


ps: just to do a perfect thing... it is possible to make sure that it returns after calculation a number with 2 decimal digits and not 3...?
thanks
 
for that just set up by command _units decimals at 2.
or change the lines where the command is present rhe adding after 2, 2:
(rtos (+ dbltxt dblnewtxt) 2)
(rtos (+ dbltxt dblnewtxt) 2 2)
 
fantastic is reduced.. . ! !
rpor66 you're a great! !

I think we definitely got to double brioches with ice cream at least. .
My children thank... He's going out to eat pizza tonight. . !
Thank you!!!!!!! a rpor66 e a tutti :4410:quelli che contributing to this forun..:4425::36_1_11:
 
Hello everyone, where I found this incredibly useful lisp, could I ask you if there is a way to make it work with multiline text too?
or a way to convert multiline text to classic text.

Thank you very much in advance
 

Forum statistics

Threads
44,997
Messages
339,767
Members
4
Latest member
ibt

Members online

No members online now.
Back
Top