I have a custom node with a button. When I click on the button, I receive a result.'m attempting a simple addition of two numbers, which are taken as inputs, and the result is displayed upon clicking the button.Now i want create collable node for this custom node. So how can i perform this button click node.here is C# script
double input1Value = 0;
double input2Value = 0;
DA.GetData(0, ref input1Value);
DA.GetData(1, ref input2Value);
Rhino.NodeInCode.ComponentFunctionInfo addition = Rhino.NodeInCode.Components.FindComponent("SampleCustomNode_PerformAddition");
var result = addition.Evaluate(new object[] { input1Value, input2Value }, false, out warning);
DA.SetData(0, result[0]);
Thanks In advance