Professional Documents
Culture Documents
Call attractorPtMod
Sub attractorPtMod
' input
arrObjects = Rhino.GetObjects("select objects", 8+16)
arrAttract = Rhino.GetObjects("select point attractors", 1)
thresholdDist = Rhino.GetReal("distance threshold", 10, 0)
scaleFactor = Rhino.GetReal("scale factor", 1, 0)
Rhino.EnableRedraw (False)
' loop through each object and get the closest attractor
For i = 0 To UBound(arrObjects)
End If
Next
Rhino.EnableRedraw (True)
End Sub