JoshM
03-19-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,
Josh
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,
Josh
