How to dynamically set a camera in the camera switcher list?

   3360   2   1
User Avatar
Member
71 posts
Joined: Oct. 2007
Offline
Hello,

I would like to know if there is a way to change the content of a list in a camera switcher.
It the cameras list accessible in Hscript or Python? Can we reorder it and change its content?

I also would like to know if it is possible to add a custom input to a node.

Thank you very much
Video Game Graphics TD
User Avatar
Member
8594 posts
Joined: July 2007
Offline
it's perfectly possible in python
take a look in docs: http://www.sidefx.com/docs/houdini12.0/hom/hou/Node [sidefx.com]
especially functions which deal with inputs like

setInput
setFirstInput
setNextInput
insertInput
inputConnections
inputs

and so on
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
71 posts
Joined: Oct. 2007
Offline
Nice, it looks like a real API

I am still transitionning frm HScript to Python, but the more it goes the more Python convinces me!

Thanks a lot!!
Video Game Graphics TD
  • Quick Links