Search - User list
Full Version: Get/Set exposed HDA parameters with python in Unreal
Root » Houdini Engine for Unreal » Get/Set exposed HDA parameters with python in Unreal
mobel
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
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
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
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
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
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
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
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.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB