TheSwamp
Code Red => AutoLISP (Vanilla / Visual) => Topic started by: danglar on March 01, 2017, 08:52:16 AM
-
Hi folks.
I wonder whether anyone can help with Lee Mac code...
I slightly modified Elevation Marker (see attached one). Lisp working properly, but elevation text have zero suppression (instead 5.30 function return 5.3)
As I know to change this value I need something like this:
(rtos someValue 2 2)
.. but I don't know how to to do it
Can somebody know how to solve this problem?
I appreciate your quick response and the time you spent in helping me out. Thanks
-
Read the documentation on
The answer lies in one of the 2's
-
I've read a documentation about this function, but in Lee Mak lisp not all clear for me.. can you help me?
-
(setq NumDecimals 2)
Change line Line 48
(setq str (rtos (cadr pt1) 2 NumDecimals)
-
thank you kirby..
it's solve the problem
-
thank you kirby..
it's solve the problem
http://lee-mac.com/about.html (look for the Donate button)
Also, it would be good for everyone if you mentioned where you found the answer in your post.
https://lispbox.wordpress.com/2017/02/23/lee-mac-modified-elevation-marker-added-predefined-text-style-create-ucs-for-0-00-elevation-option-to-change-level-marker-scale-according-to-elevation-marker-text-height/
-
...already done :smitten:
all respect and donates to Master Lee Mak only!
-
...already done :smitten:
all respect and donates to Master Lee Mak only!
[Thumbs-up]
-
Thank you Mark :-)