I have a big problem with RhinoScript memory.
AObjets = Rhino.AllObjects
AxeX = Array(1, 0, 0)
For i = 1 To 20
Rhino.RotateObjects AObjets, pCC, 2, AxeX
At each execution of the RotateObjects function, a portion of the memory is used, and is not returned.
This leads to crash Rhino.
Do you know a solution?
When you run a script, everything that the script does is undo recorded. So when you move a bunch of objects a bunch of times, every move is recorded. This behavior is identical to the way regular commands operate.
If you find yourself running out of memory, you might consider running the ClearUndo command inside of your For loop.
Hope this helps.
Thank you, Dale,
This is exactly the right job!
Another big thank you from France.