.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

eInvalidInput on GetSplitCurves Method

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
andy_pu
948 Views, 2 Replies

eInvalidInput on GetSplitCurves Method

Hi!

Can anybody explain  why this error thrown when I use GetSplitCurves.

DBObjectCollection objs = curve.GetSplitCurves(new Point3dCollection { pt });

 


When curve ObjectClass.DxfName is "LINE", "SPLINE" or "Arc" - it's ok.
But if ObjectClass.DxfName is "CIRCLE" or "ELLIPSE" - thrown an  exception
Thanks!
(Sorry for my English)

2 REPLIES 2
Message 2 of 3
DiningPhilosopher
in reply to: andy_pu

For a circle or ellipse, I think you may need at least 2 break points.

Message 3 of 3
andy_pu
in reply to: DiningPhilosopher

Oh yeah... It is true. Many thanks!!!

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost