Hi oompa,

OnCircle is not of the same type as OnPolyCurve, so they do not like
to sit side by side in a list.

There are 2 easy solutions:

1) Make a list of OnCurves, not OnPolyCurves. OnCurve is more generic
than OnPolyCurve and thus you can encapsulate more types of curves in
a single list. However, OnCircle is also not related to OnCurve,
you'll have to create an OnArcCurve (which *is* related to OnCurve)
from your OnCircle.

2) Turn your OnCircle into OnPolyCurve. Make a new OnPolyCurve and
turn your OnCircle into an OnArcCurve (again), and then append it to
the new OnPolyCurve.

--
David Rutten
[email protected]
Robert McNeel & Associates


On Mar 31, 2:02 am, oompa_l <[email protected]> wrote:
> i think the problem was elsewhere - I wasn't using the word new when I
> was constructing the OnCircle. Now the problem is I can't append an
> OnCircle to a list of IOnPolyCurves. Is there something that works
> like a circle that could fit in this list?

Reply via email to