protected override void TrySolveInstance(IGH_DataAccess DA) { DB.Sketch sketch = null; if (!DA.GetData("Sketch", ref sketch)) { return; } DA.SetData("Sketch Plane", sketch?.SketchPlane); DA.SetDataList("Profile", sketch?.Profile.ToPolyCurves()); }
public Sketch(DB.Sketch sketchPlane) : base(sketchPlane) { }