Grasshopper

algorithmic modeling for Rhino

No Description

Views: 260

Replies to This Discussion

Hi,

take a look at NET:

Namespace: System
Assembly: mscorlib (in mscorlib.dll)

DateTime Method (DateTime)

DateTime Method (TimeSpan)

Simple example with TimeSpan:

TimeSpan interval = new TimeSpan(0, 30, 0);
TimeSpan beginTime = new TimeSpan(18, 00, 00);
TimeSpan endTime = new TimeSpan(21, 00, 00);

for(TimeSpan tsLoop = beginTime; tsLoop < endTime; tsLoop = tsLoop.Add(interval))
{

}

Thanks Raul!

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service