.NET

Reply
Contributor
andy_pu
Posts: 16
Registered: ‎01-21-2014
Message 1 of 3 (177 Views)
Accepted Solution

eInvalidInput on GetSplitCurves Method

177 Views, 2 Replies
01-27-2014 06:28 AM

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)

Valued Mentor
DiningPhilosopher
Posts: 370
Registered: ‎05-06-2012
Message 2 of 3 (151 Views)

Re: eInvalidInput on GetSplitCurves Method

01-27-2014 07:52 PM in reply to: andy_pu

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

Contributor
andy_pu
Posts: 16
Registered: ‎01-21-2014
Message 3 of 3 (130 Views)

Re: eInvalidInput on GetSplitCurves Method

01-30-2014 06:02 AM in reply to: DiningPhilosopher

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

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.