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

transform the relative quotas of a topographic relief into absolute quotas

  • Thread starter Thread starter YENZOS1980
  • Start date Start date

YENZOS1980

Guest
hi, everyone, I'm new to the forum and I signed up for a need for the last hour.
I thank all those who will answer me in advance.
I would like to ask you if there is a lisp that allows to transform the relative quotas of a topographic relief (then referred to a quota 0 of the first topographic station of the relief) to absolute quotas.
I hope to have been quite clear in the question and greet you.
Thanks.:biggrin:
 
these two files, written long ago, working but perhaps to review as aesthetic and as synthesis, should do to your case. they simply add or subtract a certain amount from the selected numerical strings. if a selected string contains non-numerical characters, the string itself is jumped. works on texts and multiple texts.
 

Attachments

It's what I was looking for!! thank you so much!! I tried sum but it doesn't work, while subtracting works, but giving a negative value subtracts also becomes sum, so problem solved.
Thanks again!!! ! ! !
 
I realize that yenzos1980 has already solved everything, but in any case I attach a version of the "rejuvenated" command using other functions and implementing the possibilities if the strings did not meet certain conditions. if the string contains characters other than the numerical ones, if it contains multiple + symbols, - and . (point), if the + and - are not at the beginning of the string, the string itself is jumped.
 

Attachments

Alas, I don't want to hurt the administrators of this forum if I place several times in a row, but the program as it does not work, I forgot to define a function inside, I apologize.
 

Attachments

Forum statistics

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

Members online

No members online now.
Back
Top