Using python in parms without the constant calls?

   338   1   1
User Avatar
Member
46 posts
Joined: Dec. 2014
Offline
Hello,

When you use python in a parameter it's not only ran once when the node updates in any capacity but multiple times. This becomes even worse if you use python in a multi parm as this causes the python parm to evaluate exponentially.

I don't know if this is a long time bug or an uncontrollable aspect of how nodes evaluate. I try to avoid using Python in general in parms but sometimes it's necessary. So I was wondering if anyone knows if there's a work around to get these python parms not to run inefficiently or if this is just how it's unfortunately got to work?

Thanks
User Avatar
Member
354 posts
Joined: Nov. 2013
Offline
Updating UI elements like the parameter pane is the most likely culprit. Have you tried hiding UI elements and see if it helps?
  • Quick Links