Krion Posted September 30, 2020 Share Posted September 30, 2020 (edited) Hi guys, Was wondering how you can convert an object HDA instance into a normal object node? So the parameters become normal spare parameters, thus editable in Edit Parameter Interface instead of Type Properties. Would like to keep the keyframes and all in tact, so basically disconnect the instance from the HDA. Thanks for the help - Edited September 30, 2020 by Krion Quote Link to comment Share on other sites More sharing options...
bunker Posted October 1, 2020 Share Posted October 1, 2020 You'll need to use Python for that. You should get most of it working with a few steps: - create an empty subnet - copy all the parms from the OTL to your subnet with parmTemplateGroup uiparms = sourcenode.parmTemplateGroup() destinationnode.setParmTemplateGroup(uiparms) - copy all the nodes from your OTL to your subnet with hou.copyNodesTo() - to copy the keyframes, you have parm.keyframes() and parm.setKeyframes() hope that helps Quote Link to comment Share on other sites More sharing options...
Krion Posted October 12, 2020 Author Share Posted October 12, 2020 (edited) Thanks bunker, I will look into that. It has no urgency at the moment anymore, but it's on my todo this and if I find proper body of code I'll post it here. Edited October 12, 2020 by Krion 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.