検索 - User list
Full Version: Issue accessing context options inside a 'For each' block
Root » Solaris and Karma » Issue accessing context options inside a 'For each' block
pi-R
Hi everyone !

I am having a hard time trying to use the ‘For each’ LOP.
In the attached example scene, I am trying to perform a nested iteration : over all the model variants of all the components present on my stage.

On both of the ‘For each end’ LOPs, I rename the iteration variables to prevent any conflict. The loop does occur, but I fail to correctly edit the current iteration's context options via a ‘Python script’ LOP. As the documentation suggests, I am trying to extract the current primitive's name from its full path.

To debug, I write some of the current context options as the metadata of a newly-created primitive from inside the loop.

Please help!

Cheers,
Pierre.

PS: I am running a Houdini Core Version 18.0.532 license.
jason_iversen
Does this response help you at all? https://www.sidefx.com/forum/topic/75412/#post-322668 [www.sidefx.com]
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB