Week 7
Programming for Animation » Devlog
This week we looked into Selecting Objects, Parenting, and Grouping using Python in Maya.
We were told to look up these command for Python
ls • select • file • getAttr • adAttr • setAttr
What I found was:ls
(short for "list") lists the objects in the current Maya scene, or a specific type of objects if specified.
select
selects objects in the Maya scene. For example, select -r pSphere1 pSphere2
will select the objects named "pSphere1" and "pSphere2".
file
is a command that allows you to create, open, and save Maya scenes.
getAttr
retrieves the value of an attribute of an object in the Maya scene.
addAttr
adds a new attribute to an object in the Maya scene.
setAttr
sets the value of an attribute of an object in the Maya scene.Programming for Animation
Status | In development |
Category | Other |
Author | RaeesMalik |
Leave a comment
Log in with itch.io to leave a comment.