Hi Thomas,

A polyline in Rhino comes in 2 flavours:

OnPolylline and OnPolylineCurve. The Curve wrapper merely adds some
functionality to the OnPolyline class (which is kept to a minimum for
efficiency reasons).
Once you have an OnPolyline instance, you can iterate over the
corners. Note that a polyline is nothing more than an array of
cornerpoints.

Dim PL As OnPolyline = <get polyline from somewhere>
Dim C As New List(Of OnCircle)

For i As Integer = 0 To PL.Count()-1
  C.Add(New OnCircle(PL(i), 1))
Next

A = C

--
David Rutten
Robert McNeel & Associates


On Oct 28, 10:40 am, bildsoe <[EMAIL PROTECTED]> wrote:
> Hi,
>
> ok so this is a very newbie question but i seem to be running my head
> against the wall all the time. I'm trying to find a way to find the
> controlpoints of a polyline in a VB.script component. I've been
> searching through the SDK but can't seem to find it anywhere... i've
> also looked through the demonstrations on the Mcneel website. Are
> there any other sources? what should i read if i want to learn how to
> use the SDK because up until now i haven't been that successfull in
> using it :)
>
> Cheers
> Thmas

Reply via email to