- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
I need help putting a comma in area section of command LIST
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..
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..
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.
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
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
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
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.
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
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:
The precision still honers the UNITS setting.