def open_scene(file_path, dir_path, all_process):
# check if scene need saving
new_scene = mel.eval('saveChanges("file -f -new")')
if bool(new_scene):
print('Opening: ' + file_path)
# set_workspace(dir_path, all_process)
cmds.file(file_path, open=True, force=True)
# cmds.file(q=True, location=True) #prtint current scene path
评论列表
文章目录