Announcement

Collapse
No announcement yet.

Door tag to read parameter

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

    Door tag to read parameter

    Good morning..

    I am trying to create a door tag, that we only use for our fire plans. This tag would read the Fire door information parameter that I have created for my standard doors.

    The tag would then pick the door, read the FD 30 or FD 60 info contained, and display this in the tag. Problem is, I cant quite work out how to extract this data in the door, and get the tag to display it.

    If anyone has a link to a tutorial, or any info, it would be greatly appreciated.

    many thanks

    Andy
    I learned long ago, never to wrestle with a pig. You get dirty, and besides, the pig likes it

    #2
    Here you go dude - go to edit your tag family, then follow the steps explained in attached jpeg...

    Of course, your tag might look different, and be sure to save it as a "Fire Tag" before reloading it into your project if you intend to keep the tag used previously.

    Of course, there is building the tag so it has Visibility yes/no controls that will allow you to "compose" different types (ie. Mark, Type & Mark, Mark & Fire, Type, Mark & Fire, etc etc) but some argue having a number of simpler families is better.

    Oh and if you've introduced a new fire parameter, (over the Revit standard one) to your doors; it will need to have been a shared parameter for you seek out and introduce to your tag's list of available parameters.
    Attached Files
    Last edited by snowyweston; July 11, 2011, 10:45 AM.

    Comment


      #3
      Thanks Snowy,

      Lazy question... I have a parameter on my doors that I use for schedule info. In fact there are 2, FD30 or FD60. These are simple yes/no param's so that the schedule can pick them up. I want my new fire door tag to pick up this piece of info, and then return "FD30" or "FD60" on my tag..? If I do it the other way I just get "yes" or "no"..

      Cheers..
      I learned long ago, never to wrestle with a pig. You get dirty, and besides, the pig likes it

      Comment


        #4
        You want Revit to convert two yes/no Parameters into one single text parameter automaticly? No way. But you can add a calculated value to the schedule. This way using a formula to generate the text field based on the two yes/no parameters.
        [email protected]

        http://4revit.com

        Comment


          #5
          Originally posted by dalmore View Post
          You want Revit to convert two yes/no Parameters into one single text parameter automaticly? No way. But you can add a calculated value to the schedule. This way using a formula to generate the text field based on the two yes/no parameters.
          Ar but there is a way - conditional statements!

          But this has to be worked into the doors, not the tag...

          First off, a door type can't be both a FD30 and a FD60 - so you first you need to write for your door families some rules, (by the way, these should all be shared parameters so you can dig them out within your project schedules).

          First, base one on the other ie. FD60 [yes] =not(FD30) - so that when FD30 [yes], FD60 = [no]. Following so far?

          Then you need a text-based "result" parameter based on the results of the yes/no output of those two user-defineable fields, that reports (in text) a predefined output from an "if" statement, ie. [FIRE_CODE_TEXT] =if(FD30=yes, FD30, FD60).

          If that's all a bit fluffy, here's a rough snapshot to explain...


          PS: Of course, this route has it's complications; the "reporting text" style of parameter is quite limited by the defined equation, which can get very long if you have many variables (or want to introduce more later) - and to be honest, fire rating is certainly not one I'd try to lock people out of in this way - afterall, field population in a filter-by-types schedule is no real hardship:
          "60">ENTER>(ignore types edit warning)>ENTER>"60">ENTER>(ignore types edit warning)>ENTER>"30">ENTER...
          but then maybe that's me being tolerant of manual editing methods of yesteryear.
          Attached Files
          Last edited by snowyweston; July 11, 2011, 06:43 PM.

          Comment


            #6
            Ah yes. I see.. Well that works ok.. I can get the door to register as being FD30 or FD60.. (after I realised that for functions, your parameters shouldnt really include spaces............ doh..!)

            But I have one more question ... Not all of our doors are fire rated. So, I would ideally like to have:

            FD30
            FD60
            Not_FD

            So, if I select "Not_FD" it blanks out the other 2 etc... I cannot seem to include more than 1 argument in the formula..? Is there a way to do this..??

            Cheers
            I learned long ago, never to wrestle with a pig. You get dirty, and besides, the pig likes it

            Comment


              #7
              SLightly off topic, but this has always confused me a little.

              Shouldn't the door fire rating be taken from the fire rating of the wall it is inserted into?? I know there is no automatic way in Revit of doing this but it is easy to do using the API. Change the fire rating of the wall and all doors fire rating change automatically. Is there any need out there for this? I could whip that up pretty quickly and also do a blog post on how it is done.

              Any interest in that?

              Cheers

              Phillip
              Phillip Miller
              Kiwi Codes Solutions Ltd
              Makers of "Family Browser" and "Project Browser" for Revit.

              Comment


                #8
                Originally posted by Alfienoakes View Post
                But I have one more question ... Not all of our doors are fire rated. So, I would ideally like to have:

                So, if I select "Not_FD" it blanks out the other 2 etc... I cannot seem to include more than 1 argument in the formula..? Is there a way to do this..??
                I'm fairly busy at the moment, and at work trawling the forum for answers to my own questions, but yes, you can, you'd do with adding an "=or" statement to the formula, off the top of my head I don't want to write one that might be wrong - but if you think of it as

                "if you have FD30 ticked you get #this#, if not you get #this#, BUT if you have either #this# OR #this# AND #that# you will get #this#"





                Originally posted by KiwiCodes View Post
                Shouldn't the door fire rating be taken from the fire rating of the wall it is inserted into??
                Early on, it'd be a nice speedy trick - but what if you've not got the fire rating of your walls? Or you have a fire rating (performance) and fire class (desired) - also what if you have a 30min (performance) wall, but don't need a 30min door? Also, it'd have to be instance driven, which isn't how we (at least) spec. and order our doors.

                What's annoying me is that there is something very similar I would have... but I can't quite grasp it. I may have to follow up that email I just sent you when it comes to mind!

                Comment


                  #9
                  So to settle my own curiousity, here's the formula in action :
                  Attached Files
                  Last edited by snowyweston; July 12, 2011, 06:31 PM.

                  Comment


                    #10
                    Originally posted by KiwiCodes View Post
                    SLightly off topic, but this has always confused me a little.

                    Shouldn't the door fire rating be taken from the fire rating of the wall it is inserted into?? I know there is no automatic way in Revit of doing this but it is easy to do using the API. Change the fire rating of the wall and all doors fire rating change automatically. Is there any need out there for this? I could whip that up pretty quickly and also do a blog post on how it is done.

                    Any interest in that?

                    Cheers

                    Phillip
                    I would say there should be a lot of interest! It would be something applying to windows also, not just doors.
                    To stay a little on this topic, our door tag uses a Shared Parameter that shows what the fire rating is (an instance param) when it's filled in, if it's empty the door tag shows nothing. We don't have any formulas we just type it in.
                    Last edited by Elisa; July 12, 2011, 06:45 PM.
                    ~Elisa
                    BIM Director, AC Martin

                    Comment

                    Related Topics

                    Collapse

                    Working...
                    X