Jump to content

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


Krion

Recommended Posts

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
Link to comment
Share on other sites

  • 2 weeks later...

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
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...