Hello Justin,
sceneNameToOpen is a variable like this:
root = '{0}{1}\\shots\\sh{2}\\lit\\work\\maya\\' 
.format(SBpath,SceneEpisodeField,ScenePlanField).replace('/','\\')
...after founded the last maya scene by date, the path of the scene to open 
give me that:
D:\SBpath\ep000\shots\sh000\lit\work\maya\ep000_sh000_lit_000.ma
so the path is ok i think as it open it with the simple command: 
cmds.file( sceneNameToOpen, open=True, force=True, prompt=False ) 
it doesn't find the same scene if i try to open it with the option load no 
references....

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/2d9a2b02-a7a1-417d-b495-545bbec2865d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to