what about python ?

Houdini Integrated Plugin

Moderator: juanjgon

Post Reply
gui2one
Licensed Customer
Posts: 47
Joined: Thu May 19, 2016 8:16 pm

Apart from standard ui parameters, are there any part of the octane plugin exposed to python ?

Right now my goal is to control the ipr window size.
I am trying to make shader ball previewer by dynamically creating the few necessary nodes to replicate octane standalone shader ball scene.
---------------------------------
Windows 10 |NVIDIA RTX TITAN - 24GB| i9-9900K | 64GB RAM
User avatar
juanjgon
Octane Plugin Developer
Posts: 8867
Joined: Tue Jan 19, 2010 12:01 pm
Location: Spain

Nope, sorry. Currently there are no commands to set the IPR window size from a script. You can set the default IPR window size in the preferences.

There is a command to open the IPR window (Octane_openIPR). I could add a new command to set the IPR size before open the window. Let me think about it.

-Juanjo
gui2one
Licensed Customer
Posts: 47
Joined: Thu May 19, 2016 8:16 pm

Hi Juanjgon,

any updates on some python access to cancel rendering ?
---------------------------------
Windows 10 |NVIDIA RTX TITAN - 24GB| i9-9900K | 64GB RAM
User avatar
juanjgon
Octane Plugin Developer
Posts: 8867
Joined: Tue Jan 19, 2010 12:01 pm
Location: Spain

gui2one wrote:Hi Juanjgon,

any updates on some python access to cancel rendering ?
To cancel the render or to close the IPR window?

-Juanjo
gui2one
Licensed Customer
Posts: 47
Joined: Thu May 19, 2016 8:16 pm

to cancel the render preferably.
I am trying to avoid overwriting existing image files.
but having access to closing IPR window could be handy in some situations. :)
---------------------------------
Windows 10 |NVIDIA RTX TITAN - 24GB| i9-9900K | 64GB RAM
User avatar
juanjgon
Octane Plugin Developer
Posts: 8867
Joined: Tue Jan 19, 2010 12:01 pm
Location: Spain

Ahh, yes, I've just remembered this feature request. It is in my TODO list. I could also add an option to skip the rendered frames.

-Juanjo
gui2one
Licensed Customer
Posts: 47
Joined: Thu May 19, 2016 8:16 pm

yes that would be nice too
---------------------------------
Windows 10 |NVIDIA RTX TITAN - 24GB| i9-9900K | 64GB RAM
gui2one
Licensed Customer
Posts: 47
Joined: Thu May 19, 2016 8:16 pm

Hi again,
I didn't think of that before, but if it is easier for you, I don't mind if these commands are Hscript, as long as it's possible to to use the python hou.hscript() method.
---------------------------------
Windows 10 |NVIDIA RTX TITAN - 24GB| i9-9900K | 64GB RAM
Post Reply

Return to “Houdini”