How to set defaults for Asset Options on an HDA?
2978 2 0-
- johnLIC
- Member
- 44 posts
- Joined: 5月 2013
- Offline
-
- Irene_Howard
- Member
- 5 posts
- Joined: 9月 2023
- Offline
-
- dpernuit
- スタッフ
- 557 posts
- Joined: 9月 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 - 2025年3月3日 18:47:01
-
- Quick Links