Jump to content

Multiple inputs For Loop


Recommended Posts

Hi,

I'm trying to replicate the swiss cheese demo from the Houdini docs but using a Cooking SOP instead of VDB. The problem is the Second Block Begin is displaying an error as you can see in the screenshot.

Any idea what I'm doing wrong? The For Loop setup is the same as the documentaion found here : http://www.sidefx.com/docs/houdini/model/looping#swisscheese

Thx!

Christian

EHoudiniScenesCityGeneration-13.hip - Houdini 15.5.523.jpg

Link to comment
Share on other sites

I think what you need to do is:

1. Set the iteration method to "By Pieces" and set the new parameters that pop up.

    Piece Elements = Primitives

    Piece Attribute = name

Then set the "Method" for block_begin2 to "Fetch Piece" and make sure the input objects have a name attribute.

Hope that helps.

  • Like 1
Link to comment
Share on other sites

  • 1 month 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...