Results 1 to 3 of 3

Thread: yes/no parameter to control pipe size

  1. #1
    New Member
    Join Date
    August 8, 2016
    Current Local Time
    02:06 PM

    Not allowed! Not allowed!

    yes/no parameter to control pipe size

    is it possible to use a yes/no parameter to return a pipe connector instance parameter as either the true or false?
    For example if the yes/no parameter is ticked then return the pipe size connected to that connector in the project, and if unticked then return the value of another parameter.
    diameter = If(Yes, diameter, diameter 1).
    what I'm trying to achieve is a tee with one of the connectors being the connected pipe size in the project if the yes/no parameter is ticked and being the same value as another connector if unticked.
    Or can anyone give me a different work around for what i'm trying to achieve?
    Last edited by Munkholm; September 12th, 2018 at 11:42 AM. Reason: text formatting

  2. #2
    Forum Addict josephpeel's Avatar
    Join Date
    May 3, 2012
    Current Local Time
    03:06 PM

    Not allowed! Not allowed!
    I think I understand what you mean. Sometimes you want the T to be made with a small 'tap' the same size as the connected pipe and sometimes you want to force Revit to create a transition to the smaller size instead.

    Your formula is correct but I dont think this will work in one family for both options, because the moment that you set the diameter of a connector with a formula it will no longer automatically get the size from the connected pipe. So even if you set the option to No, the fitting wont automatically make a smaller connector. It will keep using the default size for that connector because it is constrained by the formula and is not free to change.

    I was going to make something similar too, but I think it would have to be with the 'Transition' modelled inside the fitting as well. That way all the connector sizes can freely change to match the connected pipe, but if you want to show a fitting that has all connections the same size and a transition, that is done by changing the extrusions.

    Like this type of fitting;
    Attached Thumbnails Attached Thumbnails T.JPG  
    Last edited by josephpeel; September 12th, 2018 at 11:12 AM.

  3. #3
    New Member
    Join Date
    August 8, 2016
    Current Local Time
    02:06 PM

    Not allowed! Not allowed!
    Yeah, if the yes/no parameter is ticked it will look like the family you have shown with right connector size controlled by the attached pipe in the project. If unticked then the left and right connectors will be equal as below with a reducer added in the project if the pipe size is smaller.
    i'm going to have to have them as 2 separate families instead of the one super family i was hoping.
    I need a formula that says if "Yes/No parameter" = No then give "parameter A" otherwise ignore this formula and give connector size but that is circular chain in Revit currently.
    Oh well, at least it will be less of this trying to figure out a solution.
    If you do come up with something for this let me know.
    Attached Thumbnails Attached Thumbnails Equal.JPG  

Similar Threads

  1. Filter by Pipe Size
    By koolair in forum MEP - General
    Replies: 4
    Last Post: February 6th, 2017, 11:11 PM
  2. pipe fittings and pipe valves size adjustment
    By Darius in forum Dynamo BIM
    Replies: 3
    Last Post: May 20th, 2016, 02:19 PM
  3. Cannot use decimal in pipe size
    By Jrobker in forum MEP - General
    Replies: 5
    Last Post: November 21st, 2013, 11:46 PM
  4. Generic annotation with size control
    By Tomcsie in forum Architecture - Family Creation
    Replies: 4
    Last Post: October 30th, 2013, 12:00 PM
  5. Revit OpEd: Pipe Size Parameter Usage
    By Revit OpEd in forum Blog Feeds
    Replies: 0
    Last Post: June 25th, 2013, 05:15 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts