Name of the active render node

   2190   2   1
User Avatar
Member
3 posts
Joined: 7月 2007
Offline
Hi, all.


When mantra nodes are connected in series, rendering is also sequential if run from the last mantra node. How do I get a name node which now produces render (c++ or python).

Thanks
User Avatar
Member
1 posts
Joined: 8月 2012
Offline
AlbertR
Hi, all.


When mantra nodes are connected in series, rendering is also sequential if run from the last mantra node. How do I get a name node which now produces render (c++ or python).

Thanks

In python I think what you need is that:

To get the object:
hou.node('node_name').renderNode()

And it's name:
hou.node('node_name').renderNode().name()

Greetings,
Jordi.
User Avatar
Member
3 posts
Joined: 7月 2007
Offline
Hi, Jordi

Well as information about the activity nodes can be obtained if prescribe import hou; print hou.pwd () in the preframe script field



JordiHerrero
AlbertR
Hi, all.


When mantra nodes are connected in series, rendering is also sequential if run from the last mantra node. How do I get a name node which now produces render (c++ or python).

Thanks

In python I think what you need is that:

To get the object:
hou.node('node_name').renderNode()

And it's name:
hou.node('node_name').renderNode().name()

Greetings,
Jordi.
  • Quick Links