wreath Posted October 17, 2019 Share Posted October 17, 2019 Hey guys, I have some boxes and running a for each over them what i want is scattering points with varying amounts. I kind of know what to do but i dont know how to? I guess i need to fetch metadata value and use it as a seed for scattering amount, could use a help on how to set that up thanks! ForeachMetaImport.hip Quote Link to comment Share on other sites More sharing options...
AntoineSfx Posted October 17, 2019 Share Posted October 17, 2019 1 hour ago, wreath said: Hey guys, I have some boxes and running a for each over them what i want is scattering points with varying amounts. I kind of know what to do but i dont know how to? I guess i need to fetch metadata value and use it as a seed for scattering amount, could use a help on how to set that up thanks! ForeachMetaImport.hip Add a spare input to Scatter (gear menu), and make it point to the metadata In scatter, set Force Total Count to: (1+detail(-1,"iteration",0))*50 detail(-1, ....) is what you're looking for to fetch the value of the metadata. 1 Quote Link to comment Share on other sites More sharing options...
wreath Posted October 17, 2019 Author Share Posted October 17, 2019 11 minutes ago, AntoineSfx said: Add a spare input to Scatter (gear menu), and make it point to the metadata In scatter, set Force Total Count to: (1+detail(-1,"iteration",0))*50 detail(-1, ....) is what you're looking for to fetch the value of the metadata. Thanks Antoine so on detail function does the first component "-1" means pointing myself (scatter sop) ? Quote Link to comment Share on other sites More sharing options...
wreath Posted October 17, 2019 Author Share Posted October 17, 2019 Got it working thanks! putting the file in case someone else also needs it. ForeachMetaImport_02.hip Quote Link to comment Share on other sites More sharing options...
AntoineSfx Posted October 17, 2019 Share Posted October 17, 2019 Negative numbers point to spares. Hover the spares in the UI, they reveal how to refer to them 1 Quote Link to comment Share on other sites More sharing options...
wreath Posted October 17, 2019 Author Share Posted October 17, 2019 4 minutes ago, AntoineSfx said: Negative numbers point to spares. Hover the spares in the UI, they reveal how to refer to them That i learned now thanks a lot! 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.