public static bool SetToggle(HEU_HoudiniAsset asset, string paramName, bool setValue) { if (asset == null || asset.Parameters == null) { return false; } return asset.Parameters.SetBoolParameterValue(paramName, setValue); }