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 Tools Search this Thread Display Modes
  03 March 2013
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 ( to chop off the front, but besides it seeming like a messy solution, it didn't seem to work right.

any suggestions?
  03 March 2013
I can playblast from network without problem. Have you tried os.normpath?
  03 March 2013
Ah, no I hadn't tried any python yet and was sticking to mel. I'll give it a try. Thanks!
  03 March 2013
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 01:35 PM.

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