Hi,
Does anyone have any advice regarding scope of rhino objects (eg Online,OnArc etc)? Specifically, within a loop, is there a way to redefine what an Online or OnArc is? I find that I have to declare a new variable if I want to draw another object of similiar type within a loop. Otherwise, the last declaration sticks and doesn't clear.
Is there a way to clear the definition of the object and use Line.Create again within a loop?
Thanks.
'START OF LOOP
Dim Line As New online(Pt1, Pt2)
HSSLong.Add(Line)
Dim Line2 As New OnLine(Pt2, Pt3)
HSSDiagonal.Add(Line2)
LOOP
Tags: