TheSwamp
Code Red => AutoLISP (Vanilla / Visual) => Topic started by: doductiep on March 30, 2023, 10:32:55 PM
-
Hi every one.
I'm using Lisp to insert value from .txt file in to AttBlock Autocad. However the number after comma doesn't displayed as set (2 number after comma), but instead the number of digits after the comma is the same as in the original .txt file.
In autolisp I was set (setvar "LUPREC" 2), the values insert were convert to text (rtos VALUE 2 2)
This issue only occurs in CAD 2024, and not in CAD 2007 or 2022
Please help me. Thanks.
-
I just fixed it by setvar "DIMZIN" 0.
End of the topic. (I can't delete this topic).
-
We'll leave it as posted in case someone else has a similar problem.
Thanks for providing your resolution to the problem :)
-
On the same topic, this may be of interest -
http://lee-mac.com/consistentrtos.html