Hi, I want to ask a question:
How can I set the default geometry parameters for HDA in the input box in the Unreal Engine?
Because from a user experience perspective, I think it's more troublesome to drag and drop the same geometry into the input box every time when using HDA.
So I want to give the user a preset to make it more convenient.
How can I set the default geometry parameters in the input box?
5135 8 1- LayneHsu
- Member
- 2 posts
- Joined: June 2017
- Offline
- brettmillervfx
- Member
- 13 posts
- Joined: Feb. 2006
- Offline
- dpernuit
- Staff
- 534 posts
- Joined: Sept. 2016
- Offline
Hi,
We've actually added support for this in recent version of the plugin (from 17.5.322).
Geometry inputs can preset their default value:
- The inputs needs to be created from an object merge's objpath parameter (not a SOP input).
- When exposing the parameter, set its default value to a valid asset reference
(obtained via right clicking on the static mesh in the content browser, and choosing “copy reference”)
- After instantiating the HDA, the object should be selected by default
We've actually added support for this in recent version of the plugin (from 17.5.322).
Geometry inputs can preset their default value:
- The inputs needs to be created from an object merge's objpath parameter (not a SOP input).
- When exposing the parameter, set its default value to a valid asset reference
(obtained via right clicking on the static mesh in the content browser, and choosing “copy reference”)
- After instantiating the HDA, the object should be selected by default
- decksounds
- Member
- 109 posts
- Joined: March 2017
- Offline
- dpernuit
- Staff
- 534 posts
- Joined: Sept. 2016
- Offline
- samuelbrunner
- Member
- 38 posts
- Joined: June 2019
- Offline
- dpernuit
- Staff
- 534 posts
- Joined: Sept. 2016
- Offline
- Andrei_K
- Member
- 10 posts
- Joined: Oct. 2018
- Offline
- HuwBowles
- Member
- 1 posts
- Joined: June 2022
- Offline
This did not seem to work unless the HDA parameter name had 'IN' in the name, like 'Object IN' in the example in the previous post. This might be obvious but it tripped me up for a while (at least I think that was the problem).
With that it works for me - sort of. Every time i drag my HDA into a scene it takes down the Houdini session. My default asset reference is to a data table. Perhaps there is a bug with data tables? If i restart the session it seems to wake up happily and take the default asset successfully and from there things work. So I believe my setup is correct.
However i cant ship this to users like this so I will revert back to manually selecting the data table every time for now.
Houdini 19.0.645, UE5.01
With that it works for me - sort of. Every time i drag my HDA into a scene it takes down the Houdini session. My default asset reference is to a data table. Perhaps there is a bug with data tables? If i restart the session it seems to wake up happily and take the default asset successfully and from there things work. So I believe my setup is correct.
However i cant ship this to users like this so I will revert back to manually selecting the data table every time for now.
Houdini 19.0.645, UE5.01
-
- Quick Links