[Sidefx-houdini-list] setting default values of HDA

Edward Lam edward at sidefx.com
Wed Nov 9 09:07:00 EST 2016

I think the only alternative is to only use _all_ the parameter values of your 
HDA node that you opened the Type Properties from. To do this for your HDA in 
the Type Properties dialog, go to the Save tab. Turn off Save Defaults as 
Initial Parameters.

Turning this off is a bit dangerous though as the setting lives with the HDA and 
you have to be careful about keeping the parameter values of your HDA "clean" 
whenever you save or else you inadvertently change the initial parameter values 
whenever creating a new node of your HDA type.


On 09/11/2016 8:46 AM, Martijn Grootendorst wrote:
> Hi,
> I'm having some fun with creating my own HDA and I was wondering if there
> is an easier way to set default values of the asset.
> Ideally I would like a shelf button or maybe even in a right-click menu to
> create/set the default values from the current values.
> This is already possible for 1 parameter at a time (right-click in a value
> field/ Make Current Value Default), but with an increasing amount of
> parameters this becomes more difficult to manage.
> I know python (but I've only had to use it in maya :)  so any guidance in
> this direction would be great!
> thanks,
> Martijn
> _______________________________________________
> Sidefx-houdini-list mailing list
> Sidefx-houdini-list at sidefx.com
> https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list

More information about the Sidefx-houdini-list mailing list