Community
Bifrost Forum
Welcome to the Bifrost Forum. This is the place for artists using Bifrost to ask and answer questions, browse popular topics, and share knowledge about creating effects procedurally using Bifrost. You can also visit the Bifrost Community on AREA to download an array of ready-to-use graphs, read Bifrost news and updates, and find the latest tutorials.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to get the correct output array from a do_while inside of a for_each?

1 REPLY 1
SOLVED
Reply
Message 1 of 2
mcw0
176 Views, 1 Reply

How to get the correct output array from a do_while inside of a for_each?

I have an array of point positions that I want to pass through a do_while loop until a certain condition is met.  My input arrays are all set to "Set Port Iteration Target" = True.  The problem I'm having is the data coming out of the do_while is all the same.  Every index of the output array is the same value.  I would have thought setting the port iteration target would have informed the do_while to populate the output indices accordingly.  But it doesn't.  So what's the trick?  How do I get the correct output in this situation?

doWhile.png

1 REPLY 1
Message 2 of 2
mcw0
in reply to: mcw0

UGH!!!  ID.10.T strikes again!!!  My bad.

 

But it doesn't explain why every index in the array was the same value.  But at least I got the values I wanted...so moving on.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report