GeordieM Posted June 8, 2015 Share Posted June 8, 2015 Hi all, I have point data that doesn't have any primitives but it's partitioned into groups. I'd like the ForEach SOP to loop once per group. I've seen examples of this working for primitive groups: http://forums.odforce.net/topic/15277-how-to-access-the-iterating-group-inside-foreach-sop/ But I can't get it to work for point groups. Any suggestions? Thanks! G Quote Link to comment Share on other sites More sharing options...
anim Posted June 8, 2015 Share Posted June 8, 2015 works the same way as for prim groups/attribs/etc just check Apply To Points checkbox Quote Link to comment Share on other sites More sharing options...
GeordieM Posted June 8, 2015 Author Share Posted June 8, 2015 Thanks! Arrg missed that check box Quote Link to comment Share on other sites More sharing options...
GeordieM Posted June 8, 2015 Author Share Posted June 8, 2015 Had some more problems but sorted them out: 1. I'd deleted and re-added the Each SOP which had nuked it's connections to the ForEeach SOP 2. had hou.node("..").stampValue("FORVALUE", 0) instead of hou.node("..").stampValue("FORVALUE", "") which was forcing the output to 0. TNKS! G 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.