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

   2910   3   1
User Avatar
Member
19 posts
Joined: Nov. 2018
Offline
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
Staff
3455 posts
Joined: July 2005
Online
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: Nov. 2018
Offline
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: Aug. 2017
Offline
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