Donate Now Goal amount for this year: 2500 USD, Received: 1627 USD (65%)

Results 1 to 3 of 3
Like Tree1Likes
  • 1 Post By newbs1208

Thread: yes/no parameter to control pipe size

  1. #1
    New Member
    Join Date
    August 8, 2016
    Posts
    3
    Current Local Time
    07:51 PM

    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 10:42 AM. Reason: text formatting

  2. #2
    Forum Addict josephpeel's Avatar
    Join Date
    May 3, 2012
    Posts
    1,401
    Current Local Time
    08:51 PM
    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 yes/no parameter to control pipe size-t.jpg  
    Last edited by josephpeel; September 12th, 2018 at 10:12 AM.

  3. #3
    New Member
    Join Date
    August 8, 2016
    Posts
    3
    Current Local Time
    07:51 PM
    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 yes/no parameter to control pipe size-equal.jpg  
    josephpeel likes this.

Similar Threads

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