Custom importer preview?
-
Hi all!
I have tried to find any information about this, and have come up with nothing, so maybe the sketchUcation community can help.
I have created a custom importer, and am trying to figure out a way to preview my drawing in the little preview space to the right side of the file selection window.
Is this possible? If so, how does one access this functionality?
Thanks!
-Sam -
the task is no simple.
What type of drawing you have? 2D or 3D? raster or vectorial?
BTW you can not use the SU file selector, but a webdialog or other GUI interface.... you need a CANVAS to draw on. -
@voltaicsca said:
If so, how does one access this functionality?
This is an operating system feature.
Previews will display if a thumbnail image has been saved INSIDE the file. (Which SketchUp can do with models.)
-
That is not exposed in the API, but it'd be a nice feature to have though.
-
@dan rathbun said:
@voltaicsca said:
If so, how does one access this functionality?
This is an operating system feature.
Previews will display if a thumbnail image has been saved INSIDE the file. (Which SketchUp can do with models.)
But this works only if a picture is available.... so thinking about SU only if I'm writing an exporter (in the case I've got the SU model and its thumbnail). But what about the opposite situation (an importer, say a DWG/DXF/OBJ etc)?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register LoginAdvertisement