I just faced a little issue trying to use the object Curve into C# script component.
I initialized a curve :
var tempCurve = new Curve();
and I get this error message:
1. Error (CS0122): ‘Rhino.Geometry.Curve.Curve(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)’ is inaccessible due to its protection level (line 62)
Now, I see that the Class is Protected; what does it change? how can it be used?
Thanks for your help!