I create a NURBSCurve via code. when cloning it i get this Error.
I thought only Rhino Objects can belong to a document not Geometery classes?
What could be the problem here?
(I am not doing this on the GUI Thread.)
Rhino.Runtime.DocumentCollectedException: This object cannot be modified because it is controlled by a document. at Rhino.Runtime.CommonObject.ConstPointer() at Rhino.Geometry.Curve.Duplicate() at ....