Python api nodes evaluation

Python api nodes evaluation

Anonymous
Not applicable
388 Views
2 Replies
Message 1 of 3

Python api nodes evaluation

Anonymous
Not applicable
Hi,
I have created a python plugin node which works fine but it only starts evaluating once it has been selected with the attribute editor open.

How can I fix this behaviour.

Thanks,
Nathan
0 Likes
389 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
what your node does ? I don't think it's from the node itself by the way. It's the way the DG in Maya is designed to work. It only updates a node if a node NEEDS to be updated.
0 Likes
Message 3 of 3

Anonymous
Not applicable
Hi,
Thanks for the reply.
I thought this may be the case...
My node does some stuff with pyqt4 to update a GUI From within maya....
I now get that you have to plug the output into something maya thinks it needs to evaluate.
Is there a way to force maya to always evalute a node even if it isn't connected to anything?

Thanks.
Nathan
0 Likes