View Full Version : API: Newbie Deformer Question

03 March 2009, 10:46 PM
I have a fair amount of programming experience but this is the first time I am developing something within the Maya API. So please excuse the novice question.

I'm writing a time-based deformer and as such I need to connect the global time (time1) node to a time attribute that I created for my deformer. I don't need to create any nodes so would the correct place to make this connection be in the deform() function? Or would I need to make a command derived from the MPxCommand class and handle the connections within the doIt() function of the command?

A simple example would be awesome!

Any help will be much appreciated.

Thanks in advance,

03 March 2009, 12:28 AM
To create a deformer you do need to create a deformer node that drives the mesh of what you want to deform.

Here is the online Maya API help docs on deformers:,topicNumber=d0e646949

Also I highly recommend this book. Very handy to have on hand.

CGTalk Moderation
03 March 2009, 12:28 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.