Thanks Roy, Yeah you were right! When I looked a bit deeper into this, I wasn't propagating anything to dirty because it seems worldMatrix and parentMatrix are output plugs. Now, if I make a Matrix attribute that effects my outAttr and pull the outAttr value during compute() then it works like I expect it to once I tie the transform's worldMatrix in.
Thanks for the help, I'm just learning the API and have been sitting on this for about a week :O -Nick On Mon, May 6, 2013 at 2:46 PM, Roy Nieterau <[email protected]> wrote: > Hey Nick, > > You need to get the actual value from the plugs to clean the dirty bits. > Otherwise it will not be 'dirtied' and evaluated again because its still > dirty from its previous positional change. > > The reason it does update with the channel box open is possibly because it > shows values somewhere in the channelbox (or Maya thinks it does) and it's > requesting the values for the UI. (So they are already being 'get'/'pulled' > from the dirty plug.) > > -Roy > > -- > You received this message because you are subscribed to the Google Groups > "Python Programming for Autodesk Maya" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
