I have ran into a Python thing that I can’t figure out… I need to return a value that was generated within a definition:
Thanks!
def HoloSpin(strMode):
time1=time.time()
for i in range(100):
rs.RotateView(strView, 0, 3.6)
Rhino.RhinoApp.Wait()
time2=time.time()
dblScore=round(time2-time1,2)
return dblScore
HoloSpin("Wireframe")
print dblScore