@cadguy wrote:
Saving a variable
intAmount_ev = Rhino.GetSettings(Rhino.InstallFolder & "Gelfling.ini", "AdvancedDivideCurves", "Amount_ev") If IsNull(intAmount_ev) Then intAmount_ev = 1 Else intAmount_ev = CInt(intAmount_ev) strResult = Rhino.GetInteger("Specify Number of Objects...", intAmount_ev, 0) If Not IsNull(strResult) Then intAmount_ev = strResult Rhino.SaveSettings Rhino.InstallFolder & "Gelfling.ini", "AdvancedDivideCurves", "Amount_ev", intAmount_ev
Posts: 1
Participants: 1