-
-
Save fereria/b25e392e743f8ab62cee to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import maya.OpenMaya as om | |
io = om.MFileIO() | |
#開いているファイルのパスを取得 | |
io.currentFile() | |
#ファイル名を変更してセーブ | |
io.setCurrentFile("E:/testB.ma") | |
io.save() | |
#ExportSelection | |
io.exportSelected("E:/testCube.ma") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment