sketchucation logo sketchucation
    • Login
    βŒ› Sale Ending | 30% Off Profile Builder 4 ends 30th September

    User defined DC functions

    Scheduled Pinned Locked Moved Dynamic Components
    sketchup
    23 Posts 6 Posters 5.5k Views 6 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.
    • D Offline
      Dhruv
      last edited by

      Thanks Chris and Remus for your support πŸ˜„

      1 Reply Last reply Reply Quote 0
      • scottliningerS Offline
        scottlininger
        last edited by

        Hey Dhruv,

        Just to add some "official" notes to your question:

        There is no way (currently) to open URLs from an onclick interaction because of security/privacy concerns. We didn't want people spamming you with nasty website links that launch in your browser without you even knowing that a link was coming.

        What we do allow is for html links that originate from inside the Component Options window. Just add something like this to your "description" attribute:

        Click here to <a href="http://mysite.com">Visit my site</a>.
        

        Then anyone selecting your component while the Component Options window is open will see your link.

        It's not as sexy or simple as how you're requesting, but it provides that buffer that we felt was important... if you click on the link you don't know where it's taking you, but at least you knew it was a link.

        • Scott Lininger
          SketchUp Software Engineer
          Have you visited the Ruby API Docs?
        1 Reply Last reply Reply Quote 0
        • D Offline
          Dhruv
          last edited by

          Thanks Scott πŸ˜„

          1 Reply Last reply Reply Quote 0
          • K Offline
            kelvins
            last edited by

            Any chance that this can be adapted for opening a pdf saved in a common network folder?

            1 Reply Last reply Reply Quote 0
            • Chris FullmerC Offline
              Chris Fullmer
              last edited by

              I thought it would work just by replacing the internet url with a file version like:

              file:///C:/Program%20Files/Google/Google%20SketchUp%207/Tools/Sandbox/images/tbflipperlarge.png

              That did not work though. So I'm guessing they manually disabled linking to anything other than internet links. Porbably a pretty major security risk.

              Chris

              Lately you've been tan, suspicious for the winter.
              All my Plugins I've written

              1 Reply Last reply Reply Quote 0
              • K Offline
                kelvins
                last edited by

                I tried this as well.
                Avoiding the the security risk is appreciated, but the function that we are missing here has incredible potential.
                To be able to have a 3D model as a visualization tool and for means of referencing to pdf documents and other files/programs would be the case study of case studies.

                I suppose I am stuck with using the ruby script URL. Just have to make sure that others have it installed as well.

                I guess I could post the documents to a website, but that increases my security risks.

                Don't know what to do, any suggestions?

                1 Reply Last reply Reply Quote 0
                • scottliningerS Offline
                  scottlininger
                  last edited by

                  That's a tough one. We chatted about allowing local files to be opened, but there are all kinds of security concerns with that, so we dropped it from V1.

                  I've added a feature request to our list so we can revisit it for future versions.

                  In the short term, might a password-protected web repository be suitable? You could give a password out to all of your users that allows them to get at the PDFs. If you set up the login to be cookie-enabled, they would only have to log in once and then could get at all of your resources.

                  • Scott Lininger
                    SketchUp Software Engineer
                    Have you visited the Ruby API Docs?
                  1 Reply Last reply Reply Quote 0
                  • Chris FullmerC Offline
                    Chris Fullmer
                    last edited by

                    Does it work if you have your network setup like an internal internet (I have no clue what I'm talking about). But I remember at a place that I worked in another life, you could type an internet url and it would access local servers only - intranet? If an office setup that type of system, would that work?

                    Chris - sorry for my juvenile netowrok knowledge and jargon πŸ˜„

                    Lately you've been tan, suspicious for the winter.
                    All my Plugins I've written

                    1 Reply Last reply Reply Quote 0
                    • X Offline
                      xrok1
                      last edited by

                      is it possible to have an alert popup with a link in it?

                      β€œThere are three classes of people: those who see. Those who see when they are shown. Those who do not see.”

                      http://www.Twilightrender.com try it!

                      1 Reply Last reply Reply Quote 0
                      • scottliningerS Offline
                        scottlininger
                        last edited by

                        @xrok1 said:

                        is it possible to have an alert popup with a link in it?

                        No, unfortunately.

                        • Scott Lininger
                          SketchUp Software Engineer
                          Have you visited the Ruby API Docs?
                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 2 / 2
                        • First post
                          Last post
                        Buy SketchPlus
                        Buy SUbD
                        Buy WrapR
                        Buy eBook
                        Buy Modelur
                        Buy Vertex Tools
                        Buy SketchCuisine
                        Buy FormFonts

                        Advertisement