Hello everyone ,
First i wanted to apologize for my English , its not my native language .
I am working on a simulation project for a while now , and since i am new to scripting it was very hard for me but i managed it till now some how , i asked a lot of questions here and the answers helped me a lot , until now that my script reached to a critical point and suddenly it started to give me some strange errors.
The funny thing is each time i ran the program the error change and some times it actually work for a while then it start to give error .
i really have no idea what is the problem , i tried anything that came to my mind but it just does not make any sense to me .
so please take a look at my script and help me if you can .
thanks a lot .
Optim-force-11.gh (11.6 KB)
it looks like the problem start when i try to project points to the surface but as i said some times it works a bit !!!