Well MFnSkinCluster is an interface that facilitates manipulation of skinCluster nodes. I am not trying to override the skinCluster compute method. I still want it to do all that it does, but I want to be able to trigger its compute when my node updates. As of yet I have not found the perfect solution, but I did find that turning on the output mesh's verts in component display causes its compute to trigger reliably.
On Tue, Apr 3, 2012 at 7:14 AM, zhang jian <[email protected]> wrote: > MFnSkinCluster is for setting and querying weights via a command. There is > no MPxSkinCluster class. You cannot override its compute() > > I doubt that is doable. > > I can be dead wrong, > > zhang > > > On Tue, Apr 3, 2012 at 7:00 AM, Judah Baron <[email protected]> wrote: > >> That would do it, but I need the skinCluster node to pull data from my >> node in order for my node's compute to be called. Without that pull, Maya >> doesn't think it needs to call my node's compute even though all of its >> output attributes have been dirtied, because there are no requests for that >> data. >> >> >> On Mon, Apr 2, 2012 at 2:49 PM, Ravi Jagannadhan <[email protected]>wrote: >> >>> Querying its output attributes? >>> >>> On Mon, Apr 2, 2012 at 2:41 PM, Judah Baron <[email protected]> >>> wrote: >>> > I am trying to drive skinCluster weights with another node, but the >>> > skinCluster node's compute doesn't get called. Does anyone know of a >>> way to >>> > trigger a skinCluster node's compute method? >>> > >>> > Thanks, >>> > -Judah >>> > >>> > -- >>> > view archives: http://groups.google.com/group/python_inside_maya >>> > change your subscription settings: >>> > http://groups.google.com/group/python_inside_maya/subscribe >>> >>> >>> >>> -- >>> Where we have strong emotions, we're liable to fool ourselves - Carl >>> Sagan >>> >>> -- >>> view archives: http://groups.google.com/group/python_inside_maya >>> change your subscription settings: >>> http://groups.google.com/group/python_inside_maya/subscribe >>> >> >> -- >> view archives: http://groups.google.com/group/python_inside_maya >> change your subscription settings: >> http://groups.google.com/group/python_inside_maya/subscribe >> > > -- > view archives: http://groups.google.com/group/python_inside_maya > change your subscription settings: > http://groups.google.com/group/python_inside_maya/subscribe > -- view archives: http://groups.google.com/group/python_inside_maya change your subscription settings: http://groups.google.com/group/python_inside_maya/subscribe
