Hi,
Is there a way to retrieve or compute the preview to image file for all scene/page of the current model ?

Regards.
Hi,
Is there a way to retrieve or compute the preview to image file for all scene/page of the current model ?

Regards.
I donât think page thumbnails are available in the Ruby API directly.
My ideas:
Go and iterate through the pages and after make it selected use the View #write_image method to write the current view to an image file with a desired âqualityâ.
( Before iteration âbackupâ Sketchup.active_model.options ["Page Options"] ["Show Transition"], set to false and then restore after iterationâŚ)
The current .skp files (since SU2020 ??) is actually a zip files. Where there is a folder scene_thumbnails for storing this small images. You can probably get out of this. (I have no experience with thatâŚ)
Thanks for this tips, @dezmo !
I will look at that.
Thereâs currently no API access to these thumbnails. Log a feature request if you like: Issues ¡ SketchUp/api-issue-tracker ¡ GitHub
Ok, thanks !