Creating custom thumbnails

I’d like to create thumbnail of a component from current point of view. Is there any way to use save_thumbnail to create custom thumbnail or is it just creating default image?


As far as I remember you can not influence it so much… it will create an image of default thumbnail.

Perhaps the #write_image method is can be used to write the current view to an image file.

Have you tried definition.refresh_thumbnail?

The thumbnail still depends of the component axes, not the current point of view… I guess.

Ah, I see. I don’t think that’s a supported feature. The thumbnail might be regenerated at various triggers within a modelling session.

I’d recommend logging a feature request for this: Issues · SketchUp/api-issue-tracker · GitHub