python function to find output drivers

   1571   2   2
User Avatar
Member
52 posts
Joined: 6月 2012
Offline
Hi,

I can't see to find it, I was wondering if there is a way to check if a node can be used with the render command. So I'd like to make easily a list of the output drivers from each context or at least check if a node is allowed to be rendered with houdini batch.

Thanks
Chris
User Avatar
Member
818 posts
Joined: 9月 2013
Offline
The Python node will actually be hou.RopNode type. So given an existing node, you could do:
node = hou.node('/obj/geo1/rop_geometry1')
isinstance(node, hou.RopNode)
Andrew / アンドリュー
User Avatar
Member
52 posts
Joined: 6月 2012
Offline
Yep, that was what I need, thanks Andrew ! Always here to save me ^^
  • Quick Links