Juzwa Posted April 9, 2015 Share Posted April 9, 2015 Hi, I need for my foreach node to make two different calculations and send them out. So I need at least a double output. How do I do that and how do I bind the outputs? 1 Quote Link to comment Share on other sites More sharing options...
woodenduck Posted April 9, 2015 Share Posted April 9, 2015 Can you just let the first operation be the foreach output and object merge the other operation back in to the main network? Quote Link to comment Share on other sites More sharing options...
Juzwa Posted April 9, 2015 Author Share Posted April 9, 2015 Yes in this particular expample I can do this. But I'm just wondering can I add more outputs and bind different data to them? 1 Quote Link to comment Share on other sites More sharing options...
kgmcnamara Posted May 14, 2015 Share Posted May 14, 2015 I'm curious about this as well. Subnets and Digital Assets now support multiple outputs - why not foreach SOPs? Quote Link to comment Share on other sites More sharing options...
sebkaine Posted September 2, 2016 Share Posted September 2, 2016 i would also like to know how to do that ? having 1 for each begin and connect it to 2 for each end. Quote Link to comment Share on other sites More sharing options...
mathieuN Posted September 2, 2016 Share Posted September 2, 2016 try the new for each loop. look working fine. You can duplicate the output just a thought 1 Quote Link to comment Share on other sites More sharing options...
sebkaine Posted September 2, 2016 Share Posted September 2, 2016 Merci mon petit Mat ! C'est vendredi on se promene sur Od Force ? Quote Link to comment Share on other sites More sharing options...
mathieuN Posted September 5, 2016 Share Posted September 5, 2016 voui voila je gambade Quote Link to comment Share on other sites More sharing options...
JDee Posted October 3, 2017 Share Posted October 3, 2017 How did you get it working guys ? I guess something wrong with dependencies if I just duplicate the output. But how to manage it ? 1 Quote Link to comment Share on other sites More sharing options...
Neon Junkyard Posted November 10, 2017 Share Posted November 10, 2017 did anyone figure this out? I am looking for a similar solution, need to have 2 operations done but has to be on the exact same copy index.... Quote Link to comment Share on other sites More sharing options...
tamagochy Posted November 13, 2017 Share Posted November 13, 2017 Just merge it and after foreach separate by some attribute. 3 1 Quote Link to comment Share on other sites More sharing options...
UtilitasArts Posted June 15 Share Posted June 15 (edited) For future reference this is what it would look like. For a game I'm working on I needed something similar. Easiest way is to pack your inputs before merging. this way your detail attributes won't override each other when merging. then you split them by the "path attribute", unpack them do your magic this iteration, pack them back with the same path attribute. and when you are done you can extract both clean without worrying about unmatching attributes, or attributes overwriting. ofcourse after the final split you'd need to unpack again. Edited June 15 by UtilitasArts 1 Quote Link to comment Share on other sites More sharing options...
Fenolis Posted June 18 Share Posted June 18 FYI, there is a Merge Packed node. Quote Link to comment Share on other sites More sharing options...
animatrix Posted June 30 Share Posted June 30 There is no way to output multiple data without merging. Otherwise we would have the ability to modify multiple inputs and return multiple outputs out of nodes like Attribute Wrangle SOP. 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.