View Full Version : extend the display of a value past the thousandth decimal place?
FistsOfCurry 07-17-2003, 06:34 PM http://img.photobucket.com/albums/v177/kevino/marco.jpg
|
|
dwalden74
07-17-2003, 09:46 PM
hmm. there doesnīt seem to be a preference for this for the main Maya UI, but I actually didnīt look very hard. Would be useful...
However, in scripted UI elements that display scalar values you can control the amout of precision shown in value fields.
Try this:
window;
formLayout form;
channelBox -precision 10 dave;
formLayout -e
-af dave "top" 0
-af dave "left" 0
-af dave "right" 0
-af dave "bottom" 0
form;
showWindow;
This was taken from the `channelBox` command online docs. I added the "-precision" flag call. Check out the UI creation online docs for more.
Additionally, the `getAttr` command will return more than 3 decimal places, depending on the value.
:beer:
David
dwalden74
07-17-2003, 10:11 PM
...so following my previous logic:
channelBox -e -pre 10 mainChannelBox;
itīs late. Iīm tired.
:)
FistsOfCurry
07-18-2003, 05:45 AM
http://img.photobucket.com/albums/v177/kevino/marco.jpg
Actualy there is a way to change it with the UI.
In the top of the channelbox there is a menu called "Channels", where you can do it.
Channels > Settings > Change Presision...
dwalden74
07-18-2003, 09:16 AM
thanks for pointing that out, johs.
:beer:
David
FistsOfCurry
07-18-2003, 07:39 PM
http://img.photobucket.com/albums/v177/kevino/marco.jpg
CGTalk Moderation
01-15-2006, 04:00 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.