Jump to content

for each loop and copy stamp question


Recommended Posts

Hi, i'm new here, been lurking for a while. Hope i'm posting this in the right place.
Still learning houdini while trying to build a procedural house.
Now I've come to a problem that i can't seem to solve, altough it's probably something easy,
I'm still missing some of the basics probably..

Anyway, did some copy stamping of a box across a line, then copy stamped that result across another line.
Now I was trying to run a boolean over every box with a for each loop (like in this video) around the 39 min mark,
but the problem is the loop doesn't see 63 seperate boxes, but 21 times 3 boxes,
so eg I can't scale each box on it's local axis.

Probably has something to do with group names, but i tried everything over the last 2 days and nothing came up :(
I attached a simplified file with the issue. Any help would be greatly apreciated! 




Link to comment
Share on other sites

4 hours ago, mine said:

As you say the problem is the name attribute (every name is repeated 3 times). To see it woeoking just put an Assemble node with "create name attribute" checked before the for loop

Thank you so much for the reply! Not sure why it works but it does, need to read up on the assemble node. 
Something slightly related: when i do a boolean in the loop it works ok, altough the result isn't individual objects anymore, some parts are welded together if i try to transform them individually with a primitive node.
Any ideas? Anyway thank you again!


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.

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