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.
Issue accessing context options inside a 'For each' block
3703 1 0- pi-R
- Member
- 3 posts
- Joined: April 2017
- Offline
- jason_iversen
- Member
- 12397 posts
- Joined: July 2005
- Offline
Does this response help you at all? https://www.sidefx.com/forum/topic/75412/#post-322668 [www.sidefx.com]
Jason Iversen, Technology Supervisor & FX Pipeline/R+D Lead @ Weta FX
also, http://www.odforce.net [www.odforce.net]
also, http://www.odforce.net [www.odforce.net]
-
- Quick Links