converting network path to local for playblast playback

Become a member of the CGSociety

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

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
Old 03 March 2013   #1
converting network path to local for playblast playback

what's the best way to change a network path to a local path in Maya?

I want to have a button to playback the playblast from the directory of the currently selected scene.
currently, the script reads the scene's file path and Maya gives me back the network address, but when I use a system("load" + $scenePath), it doesn't seem to respond. if I manually type in the local address, it works flawlessly.

I tried to use tokenize and an array like this here (http://www.scriptswell.net/2010/03/...l-tokenize.html) to chop off the front, but besides it seeming like a messy solution, it didn't seem to work right.

any suggestions?
 
Old 03 March 2013   #2
I can playblast from network without problem. Have you tried os.normpath?
 
Old 03 March 2013   #3
Ah, no I hadn't tried any python yet and was sticking to mel. I'll give it a try. Thanks!
 
Old 03 March 2013   #4
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.
 
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
CGSociety
Society of Digital Artists
www.cgsociety.org

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

All times are GMT. The time now is 05:37 PM.


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