In a new Sketchup session, my ruby code tooks just 1 minute to complete.
But also in a brand new Sketchup session, if I ever click Render then stop render, then run my code, it will tooks 5 minutes.
I noticed that after clicking render, Ruby console printed “Initializing Renderer”.
So I wonder if there is any command to close/unregister or Un-Initializing renderer (for the purpose running code as fast as before render)?
The test scene can be downloaded here: https://wetransfer.com/downloads/890...6042322/5fdb8e
(or you can use any scene above 100k faces to easily see the different)
The test code can be viewed here (it just simply add layer to all Face): https://pastebin.pl/view/2dcd4718
(another forum bug: cannot paste this code directly here because chaos forum report 403 error...)
But also in a brand new Sketchup session, if I ever click Render then stop render, then run my code, it will tooks 5 minutes.
I noticed that after clicking render, Ruby console printed “Initializing Renderer”.
So I wonder if there is any command to close/unregister or Un-Initializing renderer (for the purpose running code as fast as before render)?
The test scene can be downloaded here: https://wetransfer.com/downloads/890...6042322/5fdb8e
(or you can use any scene above 100k faces to easily see the different)
The test code can be viewed here (it just simply add layer to all Face): https://pastebin.pl/view/2dcd4718
(another forum bug: cannot paste this code directly here because chaos forum report 403 error...)
Comment