Profile.CreateOval

Profile.CreateOval

mhillis
Advocate Advocate
307 Views
0 Replies
Message 1 of 1

Profile.CreateOval

mhillis
Advocate
Advocate

Hello everyone,

 

I'm trying to build an object with an oval shape attached to it.  I'm currently trying to use Autodesk.Aec.Geometry.Profile.CreateOval(double width, double height, double rotation, Vector3d normal)

 

When I create the oval using the routine above and give it a width of 6 and a depth of 3, it works just fine.  When I give it a depth of 6 and a width of 3, however; I get an exception, eInvalidInput. 

 

I realize that Oval shapes are a bit of a funny business within AutoCAD, if they're anything in .NET like they are in the Content Builder anyway, however; it seems to me that this should work in some capacity.  I realize I *could* just rotate the 6x3 shape by 90 degrees and call it a day, but like I said, it seems like there should be a mean of inserting these 3x6 if need be.

 

Am I missing something here?

 

Thanks! 

0 Likes
308 Views
0 Replies
Replies (0)