Exporting without references

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 05 May 2012   #1
Exporting without references

I'm trying to export some stuff selected from a scene, but if i do cmds.file([...], exportSelected = True), it also exports the references in the file, even if nothing from the reference is selected...
The only flag that seems to do something is exportSelectedNoReference which is obsolete!!

so, maya fail or my fail?
 
Old 06 June 2012   #2
from pymel.core import *
exportSelected("path/fileName.mb")


Does this work for you?
 
Old 06 June 2012   #3
I found a workaround, but I will try that tomorrow at work and i'll let you know. The only thing that bothers me is the use of pymel, because I'm trying to make my scripts as library agnostic as possible. Anyway, thanks for the help!
 
Old 06 June 2012   #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 06:51 AM.


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