Exemplo n.º 1
0
        protected override GH_GetterResult Prompt_Singular(ref Grasshopper.Kernel.Types.GH_Plane value)
        {
            Rhino.Geometry.Plane?plane = SelectionUtils.SelectPlane();
            if (plane == null)
            {
                return(GH_GetterResult.cancel);
            }

            value = new Grasshopper.Kernel.Types.GH_Plane(plane.Value);
            return(GH_GetterResult.success);
        }