Jump to content

HDA-ception


3dbeing

Recommended Posts

I'm tyring to use a button of an HDA that lives inside another HDA but it seems to think i'm trying to change something and doesn't let do that... I've tried unlocking the HDA

define = node.type().definition()
options = define.options()
options.setLockContents(False)
define.setOptions(options)

but i guess locked/unlocked is not exactly the same as allow editing of contents?

Anyone know how to allow editing of contents via python?

hou.node().allowEditingOfContents

duhhh, seems so obvious in retrospect.. :unsure:

Edited by 3dbeing
  • Thanks 1
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...