Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Close

Revit MEP

- Autodesk Community
- >
- Revit
- >
- Revit MEP
- >
- Re: show me the formula

Topic Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

296 Views, 6 Replies

04-22-2012 06:35 PM

Hello,

This the "Wye 45 Deg Reducing - PVC - Sch 40 - DWV.rfa". We save this as Part Type "Tee" instead of a "Wye"

so that we could use it both as a Wye (figure 1) and tee fitting (figure 2).

The problem is that the distance between the sockets and pipe if it was use for a tee fitting is too large. I can't figure out what parameter and formula that controls this lenght/distance.

Can somebody please show me where it is. I would really appreciate it.

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

04-23-2012 06:03 AM in reply to:
EddieFromDC

If the parameter "**Angle**" remains at a constant 90°, then the horizontal lengths (right and left) are derived from the parameter "**Length 2**", from which the value is ultimately derived from the parameters:

"**Socket Bottom to Socket Bottom Run**"

"**Center to Socket Bottom Run**"

These two formulas reference a value from the lookup table specified by the parameter "**Lookup Table Name**".

So you can create a new table and change the values, which I have not dug into.

--------------------------------------------------

**Easy Solution:**

Since the angle will remain a constant 90°, the root of these lengths can be derived from the parameter "**Length 2**". The actual controlling parameters are:

**"Center to Socket Bottom Run Label 1"**

**"Center to Socket Bottom Run Label 2"**

**"Center to Socket Bottom Branch Label"**

Change the formula for each of these three parameters to: "**=Length 2**". Then, you can create a formula for "**Length 2**", the control these equal lengths based on the greatest connected pipe size:

If (and(Nominal Radius 1 > Nominal Radius 2, Nominal Radius 1 > Nominal Radius 3), Nominal Radius 1, If (and(Nominal Radius 2 > Nominal Radius 1, Nominal Radius 2 > Nominal Radius 3), Nominal Radius 2, Nominal Radius 3)) * 2

The above will take the greatest size and multiply it by 2 to get the length for all three sides.

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

04-23-2012 07:01 AM in reply to:
EddieFromDC

CADastrophe,

I think I undestand but I'm a little bit confuse. Could you please if you have a minute change/edit the fitting in my previous post. That way I can compare the before & after...Thanks.

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

04-23-2012 07:11 AM in reply to:
EddieFromDC

No problem. Attached is the "EASY" solution, RMEP 2012. And as always, feel free to ask whatever questions you need.

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

04-23-2012 07:32 AM in reply to:
EddieFromDC

Hmm..I see what you did....But now its a dedicated "Tee" fitting. I was thinking I could make

from "Wye to Tee" or "Tee to Wye" fitting by just dragging the pipe connected to socket &

connector 3 45 degrees.

I could do with OTB fittring but the "length" was the issue (after changing the part type to "Tee").

Do you think I can still accomplish this?

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

04-23-2012 07:56 AM in reply to:
EddieFromDC

Sorry, misinterpreted exactly what you were looking for, attach is the new family. The formulas have been added to as per below, with the addition in bold text. This creates overriding values for the Tee (90° Angle).

__Changed formula of " Length 2" to:__

**if(Angle = 90°, if(and(Nominal Radius 1 > Nominal Radius 2, Nominal Radius 1 > Nominal Radius 3), Nominal Radius 1, if(and(Nominal Radius 2 > Nominal Radius 1, Nominal Radius 2 > Nominal Radius 3), Nominal Radius 2, Nominal Radius 3)) * 2,** Socket Bottom to Socket Bottom Run - Center to Socket Bottom Run**)**

__Changed formula for " Center to Socket Bottom Branch Label" to:__

**if(Angle = 90°, Length 2,** if(or(Angle = 45°, Angle = 135°), Center to Socket Bottom Branch, if(Length 1 > Max Socket Outside Radius 12, Center to Socket Bottom Branch, Max Socket Outside Radius 123 / tan(Angle 1 / 2)))**)**

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

04-23-2012 08:05 AM in reply to:
EddieFromDC

CADastrophe,

YES!,.,.This was exactly what I was looking for...I thank you for the quick responses and lesson.

THANK YOU!

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements

Start with some of our most frequented solutions to get help installing your software.

Upgrading to a 2015 product? Make sure to check these out 1st!

Created by the community for the community, Autodesk Exchange Apps for Revit helps you achieve greater speed, accuracy, and automation from concept to manufacturing.

- Privacy | Legal Notices & Trademarks | Report Noncompliance | Site map | © Copyright 2014 Autodesk Inc. All rights reserved

Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. Please see the Autodesk Creative Commons FAQ for more information.