I need help putting a comma in area section of command LIST

I need help putting a comma in area section of command LIST

JamieLeeAutodesk
Contributor Contributor
1,004 Views
3 Replies
Message 1 of 4

I need help putting a comma in area section of command LIST

JamieLeeAutodesk
Contributor
Contributor

Hello guys

I'm new to this forum. I'm using Autodesk AutoCAD 2021 64bit on a Windows 10 machine. Hope you can help me out:

When I use the LIST command, I can see the area of the object I used the command on. But.. there's no comma there, what I need is a comma to appear 4 digits before the dot.

 

Example: in the following picture you can see the area of the object is: 3.35 (rounded + in meters in a model of 1:100 scale), but it appears like "33599.99" while I'd like it to appear like "3,3599.99" with a comma 4 digits before the ".99"= this way it's easier for my eyes to see the meters (3) and the centimeters (3599) that are before the ".99" at the end in that example..

Example 1.JPG


Another example: in the following picture you can see the area of the object is: 115.65 (rounded + in meters in a model of 1:100 scale), but it appears like "1156352.23" while I'd like it to appear like "115,6352.23" with a comma 4 digits before the ".23" = this way it's easier for my eyes to see the meters (115) and the centimeters (6352) that are before the ".23" at the end in that example..

Example 2.JPG

 


I tried "playing around" with settings in "options" or even in "user interface settings" and couldn't find a way to put that comma as described above. Can it be set up through settings or do I have to load some LISP file to AutoCAD to recognize this and put that comma? 
I'd like your help

And.. if a LISP file is needed please guide me what to write into it + how to create the script into a LISP file, as I have no idea how to do it

 

Thank you very much in advance!!

Jamie.

0 Likes
1,005 Views
3 Replies
Replies (3)
Message 2 of 4

Moshe-A
Mentor
Mentor

@JamieLeeAutodesk  hi,

 

if you want the measurements in meters than you should work in meters. AutoCAD measures distances\areas in drawing units and you decide what 1 drawing unit is in reality.

 

be aware that you are confusing between comma with decimal point.

 

i sure there are out there (web) plenty lisps on this mater to offer - search google 

 

cheers

Moshe

 

   

0 Likes
Message 3 of 4

leeminardi
Mentor
Mentor

Please note that "The decimal separator for numeric values cannot be changed in AutoCAD. It is always the dot ".".
In some countries the decimal separator is the "," (comma), so the numeric keypad cannot be used easily for entering numeric values."

 

I think you would need to run a replace text function to substitute a comma for periods that are located within a numeric string.

lee.minardi
0 Likes
Message 4 of 4

ВeekeeCZ
Consultant
Consultant

As was mentioned before, this is not customize-able. You can set only precision.

Even with a LISP, it's not as simple task as set one or two properties. But definitely recommendable to learn at least basics of LISP.

 

But yes, the LISP can be a solution but with more complex algorithm. See the attachment. This LISP exports just an area to the command line. I does not mimic the LISP function, it's not that simple. If you need more properties to listed, just tell. Not sure how much if're versed with LISP, see the tutorial HERE if you need it.

 

Then the result would look like this:

Z9E3zK5E_0-1601282532910.png

The precision still honers the UNITS setting.

0 Likes