I try to get some differences in timeing. It is pure Dynamo 4.0.0.
I got 4 parameters
Hxx =10+msc/20;
Dxx = 0.5+msc/20;
Exx = -1.0+msc/30;
Axx = 0.1+msc/20;
It works
I like to make mine own ranges and frist change Hxx then Dxx etc
Hxx =10..15..1;
Dxx = 0.5..3..0.25;
Exx = -1.0..2.0..0.25;
Axx = 0.1..1.4..0.1;
Can someone give my some advice? ( in de DYN is an example(voorbeeld) i tried to use..)
Test_geo6b.dyn (62.1 KB)
So one method for ‘my own ranges’ is to build the range and then pull the item at index N. Something like this:
count = totalNumberOfFrames;
parts = now.Components;
frame = parts[‘second’]%count;
Hxx =10..15..#count;
Dxx = 0.5..3..#count;
Exx = -1.0..2.0..#count;
Axx = 0.1..1.4..#count;
H = Hxx[frame];
D = Dxx[frame];
E = Exx[frame];
A = Axx[frame];
If your totalNumberOfFrames is greater than 60, add parts[minute] * 60 to the seconds before taking the modulo.
I am not sure what you mean by first change H then D etc..
1 Like