Hi Bruce,

the error you get "Name 'myX' is not declared." is indeed the problem.
You've declared myX and myY *inside* the inner loop. In VB.NET, this
means those variables only exist within that loop. If you want to use
them beyond the loops, you'll have to define them earlier, say on line
31.

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


On Mar 24, 2:26 am, bdavison <[email protected]> wrote:
> Hi -
> I am having some vb syntax problems... see attached file.  essentially
> i am trying to split the rec pt grid above and below the intersection
> curve so that I can run a fall off using the graph editor.
>
> http://groups.google.com/group/grasshopper3d/web/atrractor_pt_diagrid...
>
> I think I am almost there with the script, it might be something
> pretty straightforward syntax wise.....
>
> Thanks,
>
> Bruce

Reply via email to