sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    Sketchup URL scheme / pseudo protocol

    Scheduled Pinned Locked Moved Developers' Forum
    4 Posts 2 Posters 503 Views 2 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.
    • nikusknxN Offline
      nikusknx
      last edited by

      Do you know if it's possible to start Sketchup with an URL?
      Somethink like this:

      
      sketchup;//<projectName.skp>
      
      

      Any Idea??

      1 Reply Last reply Reply Quote 0
      • TIGT Offline
        TIG Moderator
        last edited by

        Something like
        UI.openURL('file:///the/full/path/to/my.skp')
        Will open the specified SKP using its default application - SketchUp.exe...
        You can't pass arguments to an exe this way - use cmd/vbs/mac-terminal 'system' commands etc for that...

        TIG

        1 Reply Last reply Reply Quote 0
        • nikusknxN Offline
          nikusknx
          last edited by

          @tig said:

          Something like
          UI.openURL('file:///the/full/path/to/my.skp')
          Will open the specified SKP using its default application - SketchUp.exe...
          You can't pass arguments to an exe this way - use cmd/vbs/mac-terminal 'system' commands etc for that...

          Thanks for this tip, but I would like to start Sketchup from a web link without that Sketchup has been starting before.
          I just want to start Sketchup without any project , is it possible?

          1 Reply Last reply Reply Quote 0
          • TIGT Offline
            TIG Moderator
            last edited by

            A URL like:
            file:///C:/Program Files/SketchUp/SketchUp 2013/SketchUp.exe
            should open SketchUp [with a new file from a template] when run in IE, but the user will be prompted to let it execute because any exe has to have express permission - these are strict internet protocols to protect from virus/trojans etc that might otherwise do things without the user's prior knowledge...
            In other browsers like Firefox/Chrome you'll get different results, but all will ask the user what to do - usually they as you if you want to save the file NOT run it ! ...

            TIG

            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