Jump to content
Krion

Have Editbable Parameters (not only via Type Properties) on your HDA?

Recommended Posts

Posted (edited)

Hi,

I noticed that the Camera OBJ node has a tab with parameters that is editable via the Edit Parameter Interface.

Now normally this is not possible with HDA parameters. But these right here act like 'spare parameters'.
How do we get this on our own HDA's? Do you guys think SideFX just did create those with the "On Created" Python script in the Scripts tab?

 

Screenshot 2021-10-03 at 09.25.44.png

Edited by Krion

Share this post


Link to post
Share on other sites

I have messed around a bit, but I managed to get it to work, I think.

Of the HDA, I added the spare parameters with "Edit Parameter Interface", in the nodes parameter editor.
Then I opened the "Type Properties", went to the "Save" tab and enabled "Save spare parameters". I do not add the parameters in here.
When I click accept, it will scream at me saying that some parameters have been changed, with this I say "No changes"

Now when I place the same HDA down it kept all Spare Parameters.

If I right click on the HDA and click "Save Node Type", it will delete all spare parameters
If I add the parameters to "Type Properties" and "Parameter Interface", the parameters won't be editable anymore

Sometimes you have to re enable "Save Spare Parameters" to make it work again.

I'm not sure why you would want to do this though. It seems a little buggy. But then again, I never used it, so I might be wrong.

Also I have no idea if this will work if you use the HDA for other programs, like inside of Maya or Unreal.

Edited by laurups
Want to add 1 extra sentence

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×