navigate through hard drive n UI

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Display Modes
  04 April 2006
navigate through hard drive n UI

Hi. I'm writing a script that will grab the translate, rotate and scale channels of the animated geometry and write them out into three separate documents for every frame of the animation. The script works fine, but there's one problem I can't figure out in the UI. By default, the text file gets written out to the bin folder of Maya. In the script I can write out the absolute path and it will work, as well. Howevere, I was wondering if there's a way of creating a drop-down menu that allows you to navigate through your hard dirve until you find the proper place to save your file at (like the one you use when you try to open or save your files). I think I looked through the entire UI help section, but didn't find that option. But then again, this is my second experience with Mel and I might have missed it. Thank you,
  04 April 2006
Hey dude. Some days ago rokandic posted the code he uses when he need to navigate through folder. Here it is:

global proc string testPerformBrowser (string $path, string $fileType)
return $path;

button -c ("fileBrowser \"testPerformBrowser\" \"Pick Folder\" \"\" 4");

All credits go for him.

My name is Leo Getz!! Anything you need, Leo gets, get it?!?!?

My Homepage
  04 April 2006
Cool, guys! Thanks a lot!
  04 April 2006
Thread automatically closed

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.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 06:32 AM.

Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.