I have a heightfield_output node embedded in an HDA, I have a script that works fine until i get to the part where I need to “press the button” to save out the heightfield.
if I unlock my HDA it executes just fine, if i lock my HDA i get a permission error? Not sure what i am doing wrong, i even looked into the heightfield_output node itself and it uses the same command in order to “press the button” and we dont have to unlock that node for it to work? thanks in advance.
so I got it to work but only if I dive into the copnet on the heightfield_output node. this seems messy, and I cant understand why i can “press the button” deep inside the heightfield_output node but cant “press” the heightfield_output button on the actual node.
it's just an unfortunate design of that node and a few others, it's simply explicitly setting some (hidden) parameters upon execution, whose if not promoted are locked, so it will error out I consider this a bad practice in HDA design as a part of HDA workflow is embedding, if a node is not easily embeddable, then it's a nightmare to use it in setups and can break carefuly crafted workflows when there is a time to scale and include them as a part of more user friendly wrapper assets
you should still be able to use it fully if you promote (and maybe hide) all the parameters that node tries to set
tamte it's just an unfortunate design of that node and a few others, it's simply explicitly setting some (hidden) parameters upon execution, whose if not promoted are locked, so it will error out I consider this a bad practice in HDA design as a part of HDA workflow is embedding, if a node is not easily embeddable, then it's a nightmare to use it in setups and can break carefuly crafted workflows when there is a time to scale and include them as a part of more user friendly wrapper assets
you should still be able to use it fully if you promote (and maybe hide) all the parameters that node tries to set
I guess the issue is that if sidefx fixes this it will “break” people who have worked around it. id still prefer if they fixed them and just gave us a heads up.