Created
March 4, 2020 17:44
-
-
Save redglasses67/41f03c216347e5359993b37604370605 to your computer and use it in GitHub Desktop.
melコマンドを実行する
This file contains hidden or 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.api.OpenMaya as om2 | |
mod = om2.MDGModifier() | |
mod.commandToExecute("polySphere -r 1 -sx 20 -sy 20 -ax 0 1 0 -cuv 2 -ch 1;") | |
mod.doIt() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment