lisux Posted January 4, 2008 Share Posted January 4, 2008 Hi houdiniks I need to get the state of the bypass flags of some nodes in python, i have been looking into the helps and wit the help command and I caouldn't find nothing related to this. In hscript is the opset command, is this implemented in some way in python? I have seen that every node type class have methods to manage their flags, but for the RopNode class there aren't any method for the bypass flag. Thanks Quote Link to comment Share on other sites More sharing options...
symek Posted January 5, 2008 Share Posted January 5, 2008 (edited) Hi lisux, hmm... maybe I don't get your point but this code works perfectly with ROPs: rop = hou.node("/out/mantra1") if rop.isBypassed(): rop.bypass(0) else: rop.bypass(1) What more do you need? sy. Edited January 5, 2008 by SYmek Quote Link to comment Share on other sites More sharing options...
lisux Posted January 7, 2008 Author Share Posted January 7, 2008 Hi houdiniksI need to get the state of the bypass flags of some nodes in python, i have been looking into the helps and wit the help command and I caouldn't find nothing related to this. In hscript is the opset command, is this implemented in some way in python? I have seen that every node type class have methods to manage their flags, but for the RopNode class there aren't any method for the bypass flag. Thanks Yes Symek This works perfectly thanks. 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.