Phiphat Posted May 6, 2020 Share Posted May 6, 2020 Hi everyone, I'm very new to hscript and python, I just started learning it very recently. I'm trying to add a Pre-Render Script in a rop geometry output in Python. I could do it with hscript with: opparm -C /obj/geo1/ray1 method project I'm trying to find a command that would do the same thing with opparm -C in Python. So far, i only found .pressButton(), which isn't exactly what I need. Please help and thank you very much in advance. Phiphat Quote Link to comment Share on other sites More sharing options...
Phiphat Posted May 7, 2020 Author Share Posted May 7, 2020 I figured it out... it's was pretty easy, i just need to know the right word to look for. it is thisnode = hou.node("/obj/geo1/ray1") thisnode.setParms({"method": 1)} Best, Phiphat 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.