sketchucation logo sketchucation
    • Login
    πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    Custom importer preview?

    Scheduled Pinned Locked Moved Developers' Forum
    5 Posts 4 Posters 175 Views 4 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • V Offline
      voltaicsca
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • bomastudioB Offline
        bomastudio
        last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • Dan RathbunD Offline
          Dan Rathbun
          last edited by

          @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.)

          I'm not here much anymore.

          1 Reply Last reply Reply Quote 0
          • thomthomT Offline
            thomthom
            last edited by

            That is not exposed in the API, but it'd be a nice feature to have though.

            Thomas Thomassen β€” SketchUp Monkey & Coding addict
            List of my plugins and link to the CookieWare fund

            1 Reply Last reply Reply Quote 0
            • bomastudioB Offline
              bomastudio
              last edited by

              @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)?

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              Buy SketchPlus
              Buy SUbD
              Buy WrapR
              Buy eBook
              Buy Modelur
              Buy Vertex Tools
              Buy SketchCuisine
              Buy FormFonts

              Advertisement