Dear Forum users,
I’m new at linking C# and Rhino8. I would like to draw a NURBS surface utilizing four corner point locations. I have written a code as:
using System.IO;
using Rhino;
using Rhino.FileIO;
using Rhino.Geometry;
using Rhino.DocObjects;
using Rhino.Collections;
class Program
{
public static void Main(string[] args)
{
string str2 = "C:\\Users\\SAMSUNG\\Desktop\\C#-Rhino\\Case3yeni4.3dm";
File3dm file3dm = new File3dm();
var point3dList = new Point3dList();
point3dList.Add(0, 0, 0);
point3dList.Add(0.2, 0, 0);
point3dList.Add(0.2, 0.2, 0);
point3dList.Add(0, 0.2, 0);
var SrfFromPoint3dList = NurbsSurface.CreateFromCorners();
However, I cannot find a method as CreateFromCorners() recognized in Visual Studio, though it is defined in the help documentation of RhinoDeveloper.
Which method could I use to create a NURBS surface from four points given in standalone C# code not a plugin?
Best Regards,