Search - User list
Full Version: setting takes from an otl rop
Root » Technical Discussion » setting takes from an otl rop
sdugaro
I have a rop otl in which id like to piggyback
the rendering of some other rops. Basically,
the rop has a multiparm of oppaths to other
rops in the scene which id like to overlay
some settings driven by the parent rop.

I started setting up takes from the PythonModule.
I can create a new take, include parms in the take,
and enable autotake mode, using the relevant
hscript commands via hou.hscript(). However,
when i subsequently try and modify the parms
for the overlay, (via hou.parm().set() or
hou.hscript(opparm)) the render fails, and the
take overrides don't get set. Without the line
that sets the parms the ‘render’ goes through fine.

Is this possible? Can take parameters to nodes
outside of an otl be modified at render time from
an interior shell node in the otls network? will i
have to setup the takes in a parameter callback?
sdugaro
Actually, takes aside, i'm not even certain if its possible to
script the setting of parameters on nodes external to a rop
node at the time the rop node is told to render.

Can anyone confirm this? What might be an alternate solution?
sdugaro
hmm seems to work in this little mock up otl.

There must be an exception being raised someplace
in my other otl that isnt being caught/reported.
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