How to set defaults for Asset Options on an HDA?
2650 2 0-
- johnLIC
- Member
- 44 posts
- Joined: May 2013
- Offline
-
- Irene_Howard
- Member
- 5 posts
- Joined: Sept. 2023
- Offline
-
- dpernuit
- Staff
- 556 posts
- Joined: Sept. 2016
- Offline
Hi,
Please see https://www.sidefx.com/docs/houdini/unreal/attributes.html#generic
Generic attributes can be applied to the HDA itself, if the attribute is set as a detail attribute.
To get the list of attributes that can apply to a given class, type the following CMD in Unreal:
Houdini.DumpGenericAttribute XXX
XXX being the name of the class, in your case, you'll type
Houdini.DumpGenericAttribute UHoudiniAssetComponent
Which will list all properties that can be modified on a HoudiniAssetComponent, you'll be interested in:
unreal_uproperty_bOutputless : bOutputless (Outputless) - UE TYPE: BoolProperty - H TYPE: int.
so to automatically change the "Do Not Generate Outputs" toggle, you want to create the detail attribute "unreal_uproperty_bOutputless" and set its value to 1.
Please see https://www.sidefx.com/docs/houdini/unreal/attributes.html#generic
Generic attributes can be applied to the HDA itself, if the attribute is set as a detail attribute.
To get the list of attributes that can apply to a given class, type the following CMD in Unreal:
Houdini.DumpGenericAttribute XXX
XXX being the name of the class, in your case, you'll type
Houdini.DumpGenericAttribute UHoudiniAssetComponent
Which will list all properties that can be modified on a HoudiniAssetComponent, you'll be interested in:
unreal_uproperty_bOutputless : bOutputless (Outputless) - UE TYPE: BoolProperty - H TYPE: int.
so to automatically change the "Do Not Generate Outputs" toggle, you want to create the detail attribute "unreal_uproperty_bOutputless" and set its value to 1.
Edited by dpernuit - March 3, 2025 18:47:01
-
- Quick Links