I'm having trouble accessing Perpendicular Frames derived from a Curve. I may (or may not) be successfully getting the frames into an array but I certainly can't get them out. Any ideas? Perhaps I'm going about this in the wrong way altogether... Here's the code:
Dim myDouble As New List(Of Double)
myDouble.Add(.5)
Dim arrPlane As Plane()
arrPlane = myCrv.GetPerpendicularFrames(myDouble)
Dim myPlanes As New List (Of Plane)
myPlanes.Add(arrPlane(0)) 'ERROR IS HERE I THINK!
A = myPlanes
David Rutten
If you want to add more than one item at a time to a List, you need to use AddRange() instead of Add().
--
David Rutten
david@mcneel.com
Poprad, Slovakia
Jun 3, 2011