Quantcast
Channel: Rhino Developer - McNeel Forum
Viewing all articles
Browse latest Browse all 8702

I just created a curve using C#. How can I get the code to find the curve I just made without clicking on it? Rhino student needs help!

$
0
0

@ibrahimxm17 wrote:

So far, I'm know to use:

doc.Objects.AddCurve(Rhino.Geometry.Curve.CreateInterpolatedCurve( points, degree, knotStyle ));
doc.Objects.Delete( doc.Objects.Find(???), true );

but that's about it. I've looked this up on the internet, and all I found was to use the Find method to search for the object's ID. Am I using the right commands? If so, how do I get or assign an ID to a Rhino object?

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 8702

Latest Images

Trending Articles



Latest Images