gemini Posted September 29, 2018 Share Posted September 29, 2018 (edited) Hi, I found a very useful thing in docs but seems like not working for me unfortunately. Can anyone help ? I tried to add a descriptive parm to a node ( the same as a digital asset has ): node.setUserData("descriptiveparm", "parm") THX! G Edited September 29, 2018 by gemini Quote Link to comment Share on other sites More sharing options...
animknight Posted October 2, 2018 Share Posted October 2, 2018 Hi there! I just tried to set the descriptive parameter on a geometry sphere and it works. n = hou.node("/obj/sphere1") n.setUserData("descriptiveparm", "parm") n.userData("descriptiveparm") >>'parm' what exactly is not working for you ? -J Quote Link to comment Share on other sites More sharing options...
gemini Posted October 2, 2018 Author Share Posted October 2, 2018 Thanks, I used it on an object level ROP network node, where I created an own string parameter. Like this: n = hou.node('/obj/ropnet_wip_v6_dRop_2_3') n.setUserData("descriptiveparm", "prog") n.userData("descriptiveparm") Not works! Is it works only on sop node ? THX! Quote Link to comment Share on other sites More sharing options...
animknight Posted October 2, 2018 Share Posted October 2, 2018 This doc does say that it won't override the descriptive parm on certain nodes. http://www.sidefx.com/docs/houdini/network/options.html But I just tried it on an object level ROP network node and it worked. Did you try to get the userDataDict() on the node ? n = hou.node('/obj/ropnet_wip_v6_dRop_2_3') n.userDataDict() Which version of Houdini are you using ? Did you try setting any other user data and see if it's working ? Thanks -J Quote Link to comment Share on other sites More sharing options...
gemini Posted October 2, 2018 Author Share Posted October 2, 2018 Sorry, It works. I replaced the label with the parm name itself. THX!! G 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.