Announcement

Collapse
No announcement yet.

Revit and URL parameter

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Revit and URL parameter

    Hi,
    As usual, some of you may be aware of that already.

    As I was investigating parameters behavior, I got a closer look at this type of parameter: URL.
    That makes my day.

    What I did was simply adding a shared URL parameter to everything in my project, instance. And depending of what you put on that field, you can attach various thing to a specific object like:

    - picture
    - document
    - running an application
    - open your browser to connect to RFO
    - etc...

    Two ways for doing this:

    1- type in the parameter field the name of a file that is in the same folder than your project, it will open if you click on the little button with the 3 dots
    2- copy-paste in the same field (for another object) the target string a Windows link that is on your desktop, the application or whatever will start

    And to me the most usefull thing I found is that doing a zip file with inside a rvt file that as objects with such parameters, linked for example to a pdf or a picture, hyperlinks are still available in the zip. see pictures attached.(I did a group of two columns, and zipped the rvt with a pdf and a jpeg).

    Hope you like it. If yes, you will surely have a use for this.
    Attached Files
    Julien
    "Au royaume des aveugles, les borgnes sont mal vus!"
    P. DAC
    Follow me on Twitter @Jbenoit44 - Blog: http://aecuandme.wordpress.com/

    #2
    Did you by any chance test this with the eTransmit addin for Revit?
    Martijn de Riet
    Professional Revit Consultant | Revit API Developer
    MdR Advies
    Planta1 Revit Online Consulting

    Comment


      #3
      Not yet, but the purpose is not exactly the same. I will have a look.
      Last edited by jbenoit44; November 17, 2011, 09:32 PM.
      Julien
      "Au royaume des aveugles, les borgnes sont mal vus!"
      P. DAC
      Follow me on Twitter @Jbenoit44 - Blog: http://aecuandme.wordpress.com/

      Comment


        #4
        Nothing magic in Etransmit regarding the URL parameters.

        But It works at it should. great and definitly needed stuff.
        Julien
        "Au royaume des aveugles, les borgnes sont mal vus!"
        P. DAC
        Follow me on Twitter @Jbenoit44 - Blog: http://aecuandme.wordpress.com/

        Comment


          #5
          Too bad. I was hoping eTransmit would pick up the link and pull all those files in the zip automatically. That would have been totally awesome. But this is a great tip nonetheless!
          Martijn de Riet
          Professional Revit Consultant | Revit API Developer
          MdR Advies
          Planta1 Revit Online Consulting

          Comment


            #6
            after a few more tests, I think links don't work always when sharing files.

            but something I've checked is the command mailto:email_address.
            could be great to put this in families to get feedback!
            Julien
            "Au royaume des aveugles, les borgnes sont mal vus!"
            P. DAC
            Follow me on Twitter @Jbenoit44 - Blog: http://aecuandme.wordpress.com/

            Comment


              #7
              This is a great feature and my firm has been taking advantage of it. However, I'm getting sick and tired of searching for the URL that we, my firm, use (it's long), copying and pasting it into every family we create. Is there a formula that I could place in the family template that would allow me to just input one shared parameter and the URL parameter would automatically be updated?

              For example, we have a shared parameter, let's say it's '000000', this number changes for each family. And let's say the URL is 'www.revitforum/com/000000'. The first half never changes, just the digits at the end. The 'digits' are located in the shared parameter. Is it possible to create a formula that cherry picks the number and adds it to the end of the URL automatically?

              Hopefully this isn't too complicated and confusing. Thanks in advance!
              Last edited by paintedblue; December 20, 2011, 04:18 PM.

              Comment


                #8
                I guess there's no way to link an URL with a parameter, except maybe with API and/or Revit DB link.
                Julien
                "Au royaume des aveugles, les borgnes sont mal vus!"
                P. DAC
                Follow me on Twitter @Jbenoit44 - Blog: http://aecuandme.wordpress.com/

                Comment


                  #9
                  This is (almost) what I need!
                  I tried it, and downloaded the example, but the PDF and JPG won't open....

                  And what I really want is to use this in a family, not as a project-parameter.
                  I already have some families with URL's to the manufacturer's website, but sometimes I have some more info on a product that I want to link and is not on a website.
                  Also, for archiving purposes, it would be nice to have the website's URL as a local page. If the website changes the link is broken. And if a door needs replacement, maintanance should be able to click on the productinfo to see what kind of door was used.

                  Comment


                    #10
                    In case anyone has struggled with this, as I have, I've learned two other things. You can use relative and absolute paths, but absolute paths to your server need to be formed as

                    \\file01\Shares\System\BIM

                    according to what things are called on your server, rather than

                    W:\BIM

                    which is how windows explorer shows the path when the directory is already mounted

                    Comment

                    Related Topics

                    Collapse

                    Working...
                    X