As you can see default method of reassigning maximum is limited by max value from current iteration (see left text-window)

Writing max value outside the loop and bringing it back through Set/Get Attribute (see right text-window) is working but it's bulky when needed more Subprograms to copy.

enter image description here

  • $\begingroup$ What problem are you trying to solve exactly? I would say just use the Float List Math node to get the max then do what you want with it. $\endgroup$
    – Omar Emara
    Aug 4, 2019 at 18:44
  • $\begingroup$ Your suggestion is technically correct for this example. Real thing I am parsing some 2d vectors from text data, calculating distances and other stuff inside loop, then need max distance to go further... $\endgroup$
    – Serge L
    Aug 4, 2019 at 19:00
  • 1
    $\begingroup$ My advice, don't complicate things, create your node tree and leave optimizations after your are done. Moreover, if the execution time is reasonable, don't waste your time on further optimizations, you are better off doing something else. Just to make sure, what is your question currently? $\endgroup$
    – Omar Emara
    Aug 4, 2019 at 19:19


You must log in to answer this question.

Browse other questions tagged .