public static bool GetToggle(HEU_HoudiniAsset asset, string paramName, out bool outValue) { outValue = false; if (asset == null || asset.Parameters == null) { return false; } return asset.Parameters.GetBoolParameterValue(paramName, out outValue); }