private void SetBooleanToFalse(Grasshopper.Kernel.Special.GH_BooleanToggle boolTrigger) { if (boolTrigger == null)return; grp.Colour = System.Drawing.Color.IndianRed; boolTrigger.Value = false; //set trigger value to false boolTrigger.ExpireSolution(true); }