How to use "Render" button on custom ROP hda nodes

   4080   3   1
User Avatar
Member
19 posts
Joined: 11月 2018
オフライン
Hi!

I am building some digital assets that pretty much work as wrappers around the geometry, alembic, mantra and arnold ROP nodes.

I need to use customize the “Render” button, by adding a python callback script and potentially some channels. I am not being able to do anything with that button though, as modification seems to be disabled.

How should I go about this? Any suggestions?

Thanks!
User Avatar
スタッフ
3465 posts
Joined: 7月 2005
オフライン
you could try this:
I created an object HDA
added a geometry ROP inside
then promoted the 3 buttons to the HDAs top level
now if I open the Type Properties of the HDA I can add callbacks to those buttons

was this what you were trying to do?

Attachments:
rop.hda (25.7 KB)

Michael Goldfarb | www.odforce.net
Training Lead
SideFX
www.sidefx.com
User Avatar
Member
19 posts
Joined: 11月 2018
オフライン
Actually unfortunately no. The nodes I'm creating must be in the out (ROP) context. When a subnet is created in that context, it automatically creates the “Render” button: that is what I actually need to modify.

Attachments:
pastedImage.png (227.6 KB)

User Avatar
Member
31 posts
Joined: 8月 2017
オフライン
Hey, all you need to do is alt middle mouse button click the render button. This will export the button to type properties in your hda.
  • Quick Links