Advertisement
Guest User

Untitled

a guest
Aug 16th, 2017
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. cmds.file(new=True, force=True)
  2. cmds.file(file_path, open=True, buildLoadSettings=True)
  3. cmds.file(file_path, open=True, loadSettings='implicitLoadSettings')
  4.  
  5. import maya.cmds as mc
  6.  
  7. file_path = '/Users/swift/Desktop/somefile.ma'
  8.  
  9. mc.file(new=True, force=True, bls=True)
  10.  
  11. mc.file(file_path,
  12. o = True,
  13. type = 'mayaAscii',
  14. op = 'v = 0; precision = 20; f = 0',
  15. ignoreVersion = True)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement