View Full Version : Exporting without references

05 May 2012, 05:06 PM
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?

06 June 2012, 12:15 AM
from pymel.core import *

Does this work for you?

06 June 2012, 01:01 AM
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!

CGTalk Moderation
06 June 2012, 01:01 AM
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.