arrays are your friend multi-dimensional arrays are your girlfriend ( varr = for a = 1 to 5 collect #(a,a*(random 4 10)) for v = 1 to varr.count do…
It looks like the problem was caused by not clearing the array returned by the function. I did two things and there is no more issue. I declared the …
I take that back. raymeshgridintersect is blowing my memory out. I am sending it about 700 splines to check against a target and my memory usage skyro…
YEP! Thank you Eric and Klunk! It’s working great now. I am aware of the redundantly redundant placement of the dummy. for h in objects where super…
Looks like I have a fundamental misunderstanding of raymesh intersect. I am trying to find the intersection of a spline to a mesh, i think raymeshinte…
for anyone who might be doing this the azimuth and altitude are returned in radians which need to be converted to degrees. az = ((180*azimuth)/pi)
DOH! Thank you Denis!
Thank you Denis. I did that but it just returns “OK” theInt = DaylightSystemFactory2.Create sunClass:mr_Sun skyClass:mr_Sky –> <MixinInterface…
Max 2012 Help <void>GetAltitudeAzimuth <time>time <&float>altitude <&float>azimuth altitude is In and Out parameter …
This is awesome. Thank you Denis!
haha thanks Michael! It was fun to try. Though I make a conscious effort not to do it now, I have not replied to a few posts I initiated in my day. I …
Reply to original poster with functional script written specifically for poster Expect nothing in return Get nothing in return …well played k…
Sounded like fun so I whipped this up. You can change the values around to suit your needs. Someone can surely make this way better but I got tired an…