is there a way to unlock an asset in HOM?
4919
2
0
mrice
Member
89 posts
Joined: April 2008
Offline
May 1, 2009 12:33 p.m.
Don't think there is but hopefully I'm missing something! I'd like a user to be able to modify an asset on the fly, but keeping it unlocked has its own set of problems.
graham
Member
1914 posts
Joined: Nov. 2006
Offline
May 1, 2009 12:55 p.m.
You can use hou.Node.allowEditingOfContents() to unlock an asset. To complete the cycle you use hou.HDADefinition.updateFromNode() to save your asset, and hou.Node.matchCurrentDefinition() to lock it.
Graham Thompson, Technical Artist @ Rockstar Games
mrice
Member
89 posts
Joined: April 2008
Offline
May 1, 2009 5:14 p.m.
Many thanks