Apologies if this is actually quite a simple question.
When I try to generate a slab with a circle perimeter, I get a resulting error about line being too small. Do I have to set a span direction or similar to resolve this?
Example code below:
Autodesk.Revit.DB.Plane pln = new Autodesk.Revit.DB.Plane(XYZ.BasisZ, XYZ.Zero);
CurveArray ca = new CurveArray();
Autodesk.Revit.DB.Arc a = app.Create.NewArc(pln,40, 0, Math.PI*2.0);
ca.Append(a);
doc.Create.NewFloor(ca, true);
Thanks in advance for any light shed on this,
Jon
Hi there,
Based on this article it seems that maybe you should split the circle into two semi circles:
http://thebuildingcoder.typepad.com/blog/2010/11/newblend-sample.html
Cheers,
Adam Nagy
Autodesk Developer Network