I know that is going to be hard to help me, but let’s try
I am working on a plugin and I have a command to redraw all elements.
In short I toggle between 2 visualization modes → full geometry and simple box representation.
In Sketchup 2023 when I do operation like this few times in a row (7-10) with bigger model I have crash, here are the log files (.dmp .log .xml) from Windows 11
2023_01_05 error logs.zip (45.1 KB)
In Sketchup 2017 there are no crash even when I tried to do this operation 50 times in row.
Do you have general advice what it could be?
I close that operation in
model = Sketchup.active_model
and after success undo operation works without issue, but sometimes I just have a crash
In this operation I am doing a lot of math operations to calculate all faces and next I draw them on the scene.