This is probably not actually correct, but if you change

self.attributeAffects(self.aaaAttr, self.inMeshAttr) 
self.attributeAffects(self.inMeshAttr, self.tttAttr)

to just

self.attributeAffects(self.aaaAttr, self.tttAttr)

it does start triggering the compute for me. Doesn't make a lot of sense 
why though...

On Tuesday, September 18, 2018 at 1:08:32 PM UTC-7, miarmy wrote:
>
> hi! My node only works when it's attributes are displayed in attribute 
> editor or channel Box window!!!!
> How to fix this problem??
> For example:
> https://textuploader.com/dvpzd
>
> in  this node, I want the compute def  to run when my shape that is 
> connected to my node, is moved.... but this example is true when showing my 
> node attribute in attribute editor window
>
>  Excuse me,I don't speak English as well as you 
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/9e623866-0117-4cd9-bdf5-d5d4ef9a5732%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to