algorithmic modeling for Rhino
Tags:
Dim param As Param_Number = DirectCast(Params.Input(5), Param_Number)
Dim value As Double = 0.0
If (param.PersistentDataCount > 0) Then
value = param.PersistentData.FirstItem(True).Value
End IfDim myForm As New Form1
myForm.TextBox1.Text = value.ToString()
If (myForm.ShowDialog() = DialogResult.OK) Then
If (GH_Convert.ToDouble(myForm.TextBox.Text, value, GH_Conversion.both)|) Then
RecordUndoEvent("First Row Horiz Distance")param.PersistentData.Clear()
param.PersistentData.Append(New GH_Number(value))
ExpireSolution(True)
End If
End If
This is what I'd do. The logic here is:
--
David Rutten
david@mcneel.com
Poprad, Slovakia
Welcome to
Grasshopper
Added by Parametric House 1 Comment 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2026 Created by Scott Davidson.
Powered by