26/09/22


For the first time using Python in Maya, I was mainly getting used to the basic commands and seeing what everything did. The first line I put in was "import maya.cmds", to let Maya know that I wanted to use the Python bindings. I then used some code from the Maya Autodesk to use and edit, and was able to spawn in a poly cube through code instead of using the button in the menu. The code to spawn this cube is cmds.polyCube( depth = x, height = x, width = x ) with the x values being numbers put in to customise each value. 

Leave a comment

Log in with itch.io to leave a comment.