Pierre L

pi-R

About Me

Expertise
Not Specified
Location
Not Specified
Website

Connect

Recent Forum Posts

Issue accessing context options inside a 'For each' block Sept. 10, 2020, 5:23 a.m.

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.