Author Topic: Issue with the number of digits after the comma in AutoCAD 2024  (Read 559 times)

0 Members and 1 Guest are viewing this topic.

doductiep

  • Mosquito
  • Posts: 8
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.

doductiep

  • Mosquito
  • Posts: 8
Re: Issue with the number of digits after the comma in AutoCAD 2024
« Reply #1 on: March 30, 2023, 10:44:01 PM »
I just fixed it by setvar "DIMZIN" 0.
End of the topic. (I can't delete this topic).

kdub_nz

  • Mesozoic keyThumper
  • SuperMod
  • Water Moccasin
  • Posts: 2135
  • class keyThumper<T>:ILazy<T>
Re: Issue with the number of digits after the comma in AutoCAD 2024
« Reply #2 on: March 31, 2023, 12:14:21 AM »
We'll leave it as posted in case someone else has a similar problem.

Thanks for providing your resolution to the problem :)
Called Kerry in my other life
Retired; but they dragged me back in !

I live at UTC + 13.00

---
some people complain about loading the dishwasher.
Sometimes the question is more important than the answer.

Lee Mac

  • Seagull
  • Posts: 12913
  • London, England
Re: Issue with the number of digits after the comma in AutoCAD 2024
« Reply #3 on: March 31, 2023, 10:28:00 AM »
On the same topic, this may be of interest -

http://lee-mac.com/consistentrtos.html