How to clear a Stash in an HDA

   753   5   0
User Avatar
Member
81 posts
Joined: Aug. 2006
Offline
I am working on an HDA where I have a stash in the HDA, its exposed and I have set the stash to "editable"

my issue is that in development when I save the HDA it also saves the contents of the stash to the HDA, which balloons the size of the HDA and gives bad feedback to the end user. how can I clear the stash when I save the HDA?
User Avatar
Member
8575 posts
Joined: July 2007
Online
asmischney
, its exposed and I have set the stash to "editable"
Don't make the node editable

Only promote the stash dataparm (or also the buttons if you are using those unless you have custom ones) and as long as it's default value is empty it should always save into definition as empty
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
81 posts
Joined: Aug. 2006
Offline
tamte
asmischney
, its exposed and I have set the stash to "editable"
Don't make the node editable

Only promote the stash dataparm (or also the buttons if you are using those unless you have custom ones) and as long as it's default value is empty it should always save into definition as empty

Im not sure i follow, if i dont make the stash node editable i would get errors when the hda was locked and someone tried to use it
User Avatar
Member
81 posts
Joined: Aug. 2006
Offline
tamte
asmischney
, its exposed and I have set the stash to "editable"
Don't make the node editable

Only promote the stash dataparm (or also the buttons if you are using those unless you have custom ones) and as long as it's default value is empty it should always save into definition as empty

If i dont set the stash as editable i get this

Attachments:
2023-12-07_14-53-45.png (6.8 KB)

User Avatar
Member
8575 posts
Joined: July 2007
Online
asmischney
If i dont set the stash as editable i get this
As I said, promote the stash data parm to your HDA
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
81 posts
Joined: Aug. 2006
Offline
tamte
asmischney
If i dont set the stash as editable i get this
As I said, promote the stash data parm to your HDA

Ok, i get it now!

this is not just a label, which it looks like, its the geometry itself.
to anyone else showing up asking the same question, drag this into your HDA params. it can be set as hidden

thanks!

Attachments:
2023-12-07_16-31-34.png (13.3 KB)

  • Quick Links