Jump to content

Descriptive Parameter to Node


gemini

Recommended Posts

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 by gemini
Link to comment
Share on other sites

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!  

Link to comment
Share on other sites

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
 

 

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...