OnCurve is an abstract class and as such has no constructor. If you want to make pie segments, I suggest you use the OnPolyCurve class.
You can append curve segments using the AppendAndMatch() function. This one takes classes that derive from OnCurve, so you'll have to use OnArcCurve and OnLineCurve to build your segments. -- David Rutten [email protected] Robert McNeel & Associates On Mar 27, 6:14 pm, oompa_l <[email protected]> wrote: > i know this is all really elementary stuff. Just trying to understand > how to work with vb > > I made a little progress but the OnCurve constructor isn't workingas > expected - when I put in the following I am getting full circles and > not individual arcs based on the radian values I am cycling through: > pieArc.Create(pieCenter, 10.0, i) > > what am I doing wrong? > > Also, if I wanted a closed polycurve to make each pie slice, what > would be the right class for that? Do I make two line segments and an > arc and join them, or is there a single entity that I can use to make > the whole thing?
