Jump to content

foreach block, iterate over prim/points not piece attributes like the old for-loop subnetwork "fortype" set to point/prim.


Recommended Posts

Hey everyone.

Excuse me firstly, as I am sure this has been asked many times before.

But with the new block-type foreach sop setup from H15 and onwards. 

How do we get it to iterate over each prim or point and not a piece or attribute.
I know I could easily drop down a wrangle and make an id attrib for each ptnum or primnum but just wondering if there's something obvious I'm missing with the new setup where I don't always have to throw down the wrangle beforehand...

So I want to iterate over prim/points , not attributes like in the first image with the old method , forloop subnetwork. 
But in the second image with the new method you see there is only an option to iterate over a piece attributes from what I can tell.

Would appreciate some info here if anyone knows.

Thanks,
Chris.F

exmp1.png

exmp2.png

Link to comment
Share on other sites

on the foreach_end1 uncheck "piece_attribute" ??

Also on the foreach_begin if you click the "create Meta Import Node" you will have access to the iteration and numiterations on the detail view.

Edited by Sepu
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...