I need to open a scene without loading in maya and get its references, to 
later work on some to load() correctly
*** I would like to use only pymel ***

code example:
import maya.cmds as cmds
sceneNameToOpen = "C:\my_scene\animal.mb"

cmds.file(sceneNameToOpen, loadReferenceDepth = 'none', open=1, 
buildLoadSettings=1):
mel.eval('PreloadReferenceEditor;')

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to python_inside_maya+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/cbedc1bf-2d09-4921-8d95-8795855708d1n%40googlegroups.com.

Reply via email to