Jump to content

amin.khormaei

Recommended Posts

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.

ForLoop.png

ForLoopError.png

Link to comment
Share on other sites

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.

Untitled-1.jpg

Edited by Atom
Link to comment
Share on other sites

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.

Untitled-1.jpg

I did that, the expression successfully change the stop condition from 0 to 1 and vice versa, but the loop didn't stop.

Link to comment
Share on other sites

  • 3 weeks later...
  • 1 month later...

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...