View Full Version : Get Set System Preferences?
gasmasocet 12-11-2005, 01:02 PM Need help how to get/set system maya preferences, like Up axis, FPS seting and translation rotation Units. I try everything i know but no result......
location of my problem -> Settings:General Application Preferences
my exact problem 8) -> World Coordinate System get/set ?????
Working Units get/set ?????
Thanks in advance 8)
|
|
Mikademius
12-12-2005, 10:58 PM
You want to do what?
You want Maya to return some settings like "up-axis" and you want to be able to set the
value to something else? You want to set and get the values of a variety of preferences, am I right?
gasmasocet
12-16-2005, 10:29 AM
I develop camera export import tools between maya lw max and xsi. Yes I need to know how to GET/SET (y up) (z up) axis in maya with mel script.
Mikademius
12-16-2005, 11:00 AM
Well
setUpAxis "z"
and
setUpAxis "y"
will set them. To query them I have to take a further look. No time now :)
gasmasocet
12-16-2005, 05:12 PM
Ok i can read help too, setUpAxis works but how to GET stupied axis, reading preferences file is a possible solution but a litle Hamer Type....
goleafsgo
12-16-2005, 07:08 PM
If you do:
whatIs setUpAxis
it says that it is a script and it gives the location of it. If you look in the script you will see that it just uses the "upAxis" command...which has a -axis flag.
So...all you need to do is:
upAxis -q -axis;
Mikademius
12-16-2005, 07:40 PM
no need to be rude. I said I didn't have the time to solve it back then :curious:
here you go:
upAxis -q -axis;
Hehe, noticed goleafsgo already gave you the fix...
gasmasocet
12-16-2005, 08:32 PM
THANK YOU veri much i just fight that all night... sorry 8) im maya 7 help it is well described but in may 6 help it is diferent, sorry again for my stupied questons 8)
CGTalk Moderation
12-16-2005, 08:32 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.