mobel
April 30, 2021 21:26:26
I am trying to get/set exposed parameter values on a HoudiniAssetActor with python. So far, I tried actor.get_editor_property("my_parm") on the actor and its HoudiniAssetComponent, but without success.
Is it generally possible to do this with python and I am just not getting the parameter's name right?
Or is this only possible via C++?
If not possible via python as of now, are there plans for access to exposed parms via python in a future release?
Cheers for your answers!
dpernuit
May 17, 2021 12:57:53
Hi,
We're currently putting the finishing touches to the plugin's public API.
It will let you change parameters, inputs, instantiate HDAs, etc... either from python/BP/c++
The API will be available in a few weeks (early June).
johnLIC
May 17, 2021 16:35:21
Will we be able to set defaults per HDA on "Do Not Generate Outputs" and the other checkboxes in the Asset Options section? That would be very useful.
dpernuit
May 17, 2021 16:51:41
You can already do that via detail generic property attributes, but yes the API will give you access to most of the Houdini Asset Component's property.
If you wanted to use an attribute, you could add i@unreal_uproperty_Outputless = 1 on the HDA's details.
johnLIC
May 17, 2021 22:24:20
I dropped that line by itself in an attribute wrangle, set it to Run Over "Detail", but it did not check the checkbox, or prevent the behavior. How should I set it up?
johnLIC
May 24, 2021 15:38:30
dpernuit
You can already do that via detail generic property attributes, but yes the API will give you access to most of the Houdini Asset Component's property.
If you wanted to use an attribute, you could add i@unreal_uproperty_Outputless = 1 on the HDA's details.
Can anyone clarify how to do this?
Tokodboy
Oct. 18, 2023 08:41:45
Any updates?
I have the same problem.
I can't get/set parameters from HoudiniAssetActor.
I found that Houdini_AssetActor has a get_editor_property function but it not working.
vyudin
Oct. 20, 2023 08:01:15
Tokodboy
Any updates?
I can't get/set parameters from HoudiniAssetActor.
I found that Houdini_AssetActor has a get_editor_property function but it not working.
Please refer to this doc:
https://www.sidefx.com/docs/houdini/unreal/apihda.html [
www.sidefx.com]
You have to use the Wrapper class instead of Houdini Asset directly.