nilsoncardososa Posted March 17, 2023 Share Posted March 17, 2023 How to access a preset with python, is this possible? Quote Link to comment Share on other sites More sharing options...
Drunkenpanda Posted April 13, 2023 Share Posted April 13, 2023 I don't think it is possible, but what you can do is convert the settings to a python script. I must say I have a memory of finding a way to do this but I`m not sure if its a real one. Quote Link to comment Share on other sites More sharing options...
animatrix Posted April 14, 2023 Share Posted April 14, 2023 Hi, You can use oppresetload: https://www.sidefx.com/docs/houdini/commands/oppresetload.html You can call it from Python using hou.hscript("oppresetload ") ... I do the same thing with my auto node creator for certain nodes: Quote Link to comment Share on other sites More sharing options...
haggi Posted April 14, 2023 Share Posted April 14, 2023 (edited) Yes, @animatrix is right, the oppreset load is the way to go. I got a confirmation from the SideFx support. There is no direct python way to load presets. Edited April 14, 2023 by haggi Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.