amin.khormaei Posted April 2, 2022 Share Posted April 2, 2022 As it says in the DOC, we can write an expression inside the stop condition field to stop the loop. OK, I used a npoints expression and I referred to the end-block node because it's the only node that accumulates the points and prims I think, but I get an infinite recursion error, Please help me. BEST REGARDS. Quote Link to comment Share on other sites More sharing options...
Atom Posted April 2, 2022 Share Posted April 2, 2022 (edited) Try reaching one node past the end of the loop or before, like sphere1. Use an absolute path. I don't think the foreach_end node can present its final result while calculating it. Edited April 2, 2022 by Atom Quote Link to comment Share on other sites More sharing options...
amin.khormaei Posted April 3, 2022 Author Share Posted April 3, 2022 19 hours ago, Atom said: Try reaching one node past the end of the loop or before, like sphere1. Use an absolute path. I don't think the foreach_end node can present its final result while calculating it. I did that, the expression successfully change the stop condition from 0 to 1 and vice versa, but the loop didn't stop. Quote Link to comment Share on other sites More sharing options...
amin.khormaei Posted April 23, 2022 Author Share Posted April 23, 2022 (edited) does anyone know what's the problem? Edited April 23, 2022 by amin.khormaei Quote Link to comment Share on other sites More sharing options...
Benyee Posted June 10, 2022 Share Posted June 10, 2022 On 2022/4/23 at 8:05 AM, amin.khormaei said: does anyone know what's the problem? try doing accumulation mannually in loop,it seems the legacy loop SOPs are more handy than new ones in loop controls loop_stop_condition_od.hip 1 Quote Link to comment Share on other sites More sharing options...
amin.khormaei Posted June 10, 2022 Author Share Posted June 10, 2022 (edited) 3 hours ago, Benyee said: try doing accumulation mannually in loop,it seems the legacy loop SOPs are more handy than new ones in loop controls loop_stop_condition_od.hip it worked finally. Thank you. Edited June 10, 2022 by amin.khormaei Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.