wreath 4 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 Share this post Link to post Share on other sites
AntoineSfx 35 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 Share this post Link to post Share on other sites
wreath 4 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) ? Share this post Link to post Share on other sites
wreath 4 Posted October 17, 2019 Got it working thanks! putting the file in case someone else also needs it. ForeachMetaImport_02.hip Share this post Link to post Share on other sites
AntoineSfx 35 Posted October 17, 2019 Negative numbers point to spares. Hover the spares in the UI, they reveal how to refer to them 1 Share this post Link to post Share on other sites
wreath 4 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! Share this post Link to post Share on other sites