Maya

Code Thumbnail

MPlugs: Setting Values

This week we’re going to to finish up with MPlugs by covering setting plug values. Much of the foundation for this was setup last week when I cover getting plug values. Like last week we’ll start by setting up a scene in Maya with a single sphere named Ball. [crayon-5fc1ae61ab7ac214585854/]...

Read more

Code Thumbnail

MPlugs: Getting Values

At the end of my last post I briefly covered getting a MObject’s MPlugs with the Python API. To recap, MPlugs are points on a dependency node. Each point represents a spot where an attribute can be connected to the node. So now that you have a plug what do you...

Read more

More Utility Functions

Continuing where I left off, here are a few more functions that have proved useful when working with Maya’s Python API. Creating nodes with the API is pretty easy and done with MDagModifier. The trick is knowing the MTypeId or the MFn::Type of the object you’re creating. The difference between these two...

Read more

1 4 5 6 7 8 9