ror that I get :
Runtime error (MissingMethodException): Method not found: 'Void Microsoft.Scripting.Utils.ExceptionUtils.RemoveData(System.Exception, System.Object)'.
Traceback: line 67, in <module>, "C:\Program Files\Rhino WIP\Plug-ins\IronPython\Lib\types.py" line 8, in <module>, "C:\Program Files\Rhino WIP\Plug-ins\IronPython\Lib\warnings.py" line 12, in <module>, "C:\Program Files\Rhino WIP\Plug-ins\IronPython\Lib\ntpath.py" line 63, in <module>, "C:\Program Files\Rhino WIP\Plug-ins\IronPython\Lib\os.py" line 7, in <module>, "C:\Program Files\Rhino WIP\Plug-ins\IronPython\Lib\shutil.py" line 68, in script
Cheers…
. I commented this out, and the polyline jumps over the curve...
When you get this error its because you have reached a point in a list or array where your index (the index value of the element in the array or list) is outside of the size of your array or list. The way your list works, you have added "pt" in line 68...so your list has one element in it. Once you start in the for loop, you are adding other elements. The first time you go into the loop, you add a point, your list has two elements, upperbound index is 1. But then you increment the i variable, so the next time you go into the loop, line 72 is looking for list_pt(2) when you actually should just be on list_pt(1)...anyways...try it out and see if it does what you need...
Luis…
iginal from the old forum.
For some reason, I'm getting an error message that the points can't be added to the object list, i didn't have any problem with other types of objects. To fix this, you have to substitute line 65 with this one:
Dim tree As New DataTree(Of on3dpoint)
Btw, as Marc pointed out, this will only work if you are going to output 10 lists or less.…