Skip to content

Instantly share code, notes, and snippets.

@renaudll
Created May 5, 2014 15:35
Show Gist options
  • Select an option

  • Save renaudll/74b1ab095827f4f1c21b to your computer and use it in GitHub Desktop.

Select an option

Save renaudll/74b1ab095827f4f1c21b to your computer and use it in GitHub Desktop.
from maya import cmds
sFile = cmds.file(q=True, sceneName=True)
cmds.file(sFile, open=True, force=True)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment