set_niagara_data_interface_default
Set a Niagara data interface property from a text value, then recompile and save the system. Works with any type the property's ImportText parses.
Instructions
Writes one property of a user-parameter data interface on a Niagara system from text parsed by the property's ImportText, so any type it accepts works ("1.5", "(X=1,Y=2,Z=3)", "(R=1,G=0,B=0,A=1)", an enum name), inside an undo transaction, then requests a system recompile and saves the system; success requires the save. A missing DI or property, or text that does not parse, is an error and the DI is left untouched. value echoes the request; value_read_back is the stored value exported as text. List the DI's properties with get_niagara_data_interface_info; for asset references use set_niagara_data_interface_asset.
Returns: { system_path: string, parameter_name: string, property_name: string, value: string, value_read_back: string, set: bool, saved: bool, save_error?: string }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | String representation of the value (parsed by FProperty::ImportText_Direct) | |
| system_path | Yes | Asset path of the Niagara System. | |
| property_name | Yes | Name of the FProperty on the DI to set | |
| parameter_name | Yes | Short name of the user-parameter DI to mutate |