Text box "REAL" type

Started by HSaias, June 22, 2013, 08:15:34 PM

Previous topic - Next topic

HSaias

There are several type options (filters) to format a text object.
One that is missing is a REAL (nmbr of decimals).

The closest thing is "Numeric Units Filter", but the number of decimals depends on AutoCAD's DIMZIN.
In any case, probably this dependence would work better connected to the UNITS's precision variable.

Fred Tomke

Hi, you're welcome. Since you have to convert the value to string manually before assigning, you have the full control. I prefer to set luprec and dimzin at the beginning of the subroutine to use with rtos and reset them at the end.

Regards, Fred
Fred Tomke
Dipl.-Ing. (FH) Landespflege

[ landscaper - landscape developer - digital landscape and urban design]

HSaias

I will do just that.

For a matter of consistency, since all other data types have a specific filter, I will take this one to the wishlist.

Thanks.

Quote from: Fred Tomke on June 22, 2013, 09:55:23 PM
Hi, you're welcome. Since you have to convert the value to string manually before assigning, you have the full control. I prefer to set luprec and dimzin at the beginning of the subroutine to use with rtos and reset them at the end.

Regards, Fred