Grasshopper

algorithmic modeling for Rhino

Hi all,
I  am trying to define an Interval like that but it retrurns an error
   
Dim t0 As Double
Dim t1 As Double
Dim myInterval As New Interval

t0 = 0.2
t1 = 1.7   
myInterval  =  (t0, t1)

can someone help me ?
thx









Views: 351

Replies to This Discussion

Dim myInterval As New Interval(t0, t1)

The following is not valid VB syntax:
something = (t0, t1)

--
David Rutten
david@mcneel.com
Poprad, Slovakia
ok thanks

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service