sanostol Posted December 5, 2012 Share Posted December 5, 2012 is there any way to get a list of stored presets and/or apply a stored preset to a node with hom? Martin Quote Link to comment Share on other sites More sharing options...
graham Posted December 5, 2012 Share Posted December 5, 2012 I'm afraid you'll have to wrap the oppreset hscript commands in a hou.hscript() call. 1 Quote Link to comment Share on other sites More sharing options...
sanostol Posted December 5, 2012 Author Share Posted December 5, 2012 Thanks a lot, again Quote Link to comment Share on other sites More sharing options...
mjfx Posted February 13, 2018 Share Posted February 13, 2018 Can you guys give an example of applying preset using command for (example - let take a null and we have a preset for it. So how we can apply using python) Quote Link to comment Share on other sites More sharing options...
f1480187 Posted February 13, 2018 Share Posted February 13, 2018 op_path = '/obj/geo1/null1' preset_name = 'Some Preset' cmd = 'oppresetload %s "%s"' % (op_path, preset_name) hou.hscript(cmd) 2 1 Quote Link to comment Share on other sites More sharing options...
mjfx Posted March 9, 2018 Share Posted March 9, 2018 Thanks F1 ..... 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.