ikoon Posted June 3, 2018 Share Posted June 3, 2018 Hi, please. I don't like, that the default state of the autoscope of TRS parameters is set to True, even when they are not animated. I have a script (below) and I run it on ~100% of the newly created Geo nodes. I am afraid to touch the "original" nodes. Please, what would be correct (and future safe) way to change the default state of the newly created node? def autoscope_off () : default_autoparms = ["tx","ty","tz","rx","ry","rz","sx","sy","sz"] for node in hou.selectedNodes() : for autoparm in default_autoparms: try: parm = node.parm(autoparm) parm.setAutoscope(False) except: print "parm [" + autoparm +"] doesn't exist" Quote Link to comment Share on other sites More sharing options...
LaidlawFX Posted June 4, 2018 Share Posted June 4, 2018 Hello, Create a new node change the settings to the default you would like, and then go to the gear menu in the parameter dialogue and save the "Permanent Default". Do not worry this does not change how it "Permanently" it will save an .idx file in your personal preference. You can remove or move that .idx from your personal preference to anywhere in the $HOUDINI_PATH in order to distribute it through out your project. There are even are even more zanier ways to change the default preference, but that is the most robust and simple in most cases. -Ben 1 Quote Link to comment Share on other sites More sharing options...
ikoon Posted June 4, 2018 Author Share Posted June 4, 2018 Oh, this is great, thank you very MUCH! 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.