Jump to content

ForEach SOP loop over point groups


Recommended Posts

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...