Maya Training

Introduction to Hard Surface Modeling

Maya Training

Interiors and Furniture Vol 1 & 2 - Modeling & Cloth

Maya Training

Shading, Lighting and Rendering the Bedroom in MR

Maya Training

Robot volume one - Modeling with animation in mind

Maya Training

Spach-Alspaugh House the complete courseware

Maya Training

Burt The Cartoon Dinosaur Vol 01 - Modeling

New Maya Training

Robot Volume 02 - Hybrid Rigging
You are here > Home > SimplyMaya Community Forums
Loading

Welcome to Simply Maya

Please Sign in or Sign up for an account

Member Login

Lost your password?

Not a member yet? Sign Up!

Old 14-07-2006, 05:19 PM   #1
discostu
Registered User
 
Join Date: Apr 2003
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
Question Use MEL to specify directory for File Dialog

I am working on a animation short with a group of about 8 people and we have an area where all the master files are stored. I want to keep my project directory in my home area, but I often want to open files in directories in the shared area. Maya provides no way of bookmarking this that I could find. I thought maybe MEL would offer a solution, but there seems to be no way to specify a directory for the "OpenScene" command.

BTW, I am on a linux machine.

Thanks.
Stu
discostu is offline   Reply With Quote
Old 14-07-2006, 05:28 PM   #2
vladimirjp
Subscriber
 
vladimirjp's Avatar
 
Join Date: Jun 2003
Location: stuck in the 90's boston, USA
Posts: 1,871
Thanks: 0
Thanked 4 Times in 3 Posts
Default

u can just make a GUI

with different set project commands,

i.e. one button could have the command to set to your project dir :
setProject "filepath here" ;


and another button with a differnt project file path.
__________________
Image dump
vladimirjp is offline   Reply With Quote
Old 14-07-2006, 06:30 PM   #3
discostu
Registered User
 
Join Date: Apr 2003
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I don't want to change my project. I just want to bookmark directories. But since maya has no way to do this I wanted to make a shelf button that opens the open file dialog with a specific path.
discostu is offline   Reply With Quote
Reply


Similar Threads
Thread Thread Starter Forum Replies Last Post
MEL headache! happymat27 Members Lounge 5 05-12-2010 09:43 AM
MEL headache!! happymat27 Mel Scripts & Programming 1 03-12-2010 04:41 PM

Thread Tools





A little bit about who we are
Links you might find useful
Catch up with SimplyMaya
SimplyMaya specialises in Maya tutorials. We offer over 1,000 individual Maya training videos, ranging from basic Maya tutorials through to intermediate Maya tutorials. Our tutorials are created by instructors with industry experience and are designed to get you up and running in Maya quickly without making it seem like hard work.

Copyright © 1999-2015 SimplyMaya - vBulletin® Copyright © 2000-2015, Jelsoft Enterprises Ltd.