Cannot find some modify functions in C# using ProtoGeometry

Hi, I couldn’t use the Curve.SplitByPoints function as I did in Python

can anyone tell me what library should I reference in C#?

Thanks in advance.

Hi there
You might be able to check the content of the OOTB nodes by using a .Net decompiler and assembly browser such as jetbrains dotPeek.
Link: dotPeek: Free .NET Decompiler & Assembly Browser by JetBrains

Are you are looking for the Autodesk.DesignScript.Geometry library? That’s located in ProtoGeometry. You can find that here:

With this you can create and modify geometry in C#:

using Autodesk.DesignScript.Geometry; //this is optional but will save you some code writing later on

Autodesk.DesignScript.Geometry.Curve example; 
example.SplitByPoints(); //put points here
1 Like