Jump to content

foreach on groups


sanostol

Recommended Posts

assuming that your stamp varibles on foreach are set to default

in H11 you can do just:

`stamps("..", "FORVALUE", "")`

it contains group name when working on groups

in H10 you need to use (if I recall correctly that back then FORVALUE variable just contained index)

`arg(primgroupmask(opinputpath("..",0), chs("../groupmask")),stamp("..", "FORVALUE", 0))`

in H11 if you need just index there is variable named FORIDXVALUE by default

Link to comment
Share on other sites

where are you using it?

here is a little scene using it in Font SOP inside foreach

EDIT: of course you need to look at it when outside the foreach, the easiest method is to pin the viewport when outside, then dive inside for modifications and you can see the result in the pinned viewport

foreach_groupname.hipnc

Edited by anim
Link to comment
Share on other sites

  • 11 months later...
  • 9 months later...

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...