/// <summary> /// This is the method that actually does the work. /// </summary> /// <param name="dataAccess"> /// The DA object is used to retrieve from inputs and store in outputs. /// </param> protected override void SolveInstance(IGH_DataAccess dataAccess) { Topology topology = null; if (!dataAccess.GetData(0, ref topology)) { AddRuntimeMessage(GH_RuntimeMessageLevel.Error, "Invalid data"); return; } dataAccess.SetData(0, topology.Analyze()); }