<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Tee and TapAdjustable PartType in IDuctFittingAndAccessoryPressureDropServer in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/tee-and-tapadjustable-parttype-in/m-p/7127986#M57978</link>
    <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to realize some specific pressure drop calculation rules for taps and tees.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem is to recognize what is tee and what is tap in IDuctFittingAndAccessoryPressureDropServer.Calculate method.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For any tees and taps data.GetDuctFittingAndAccessoryData().PartType is PartType.Tee&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are two items in data.GetPresureDropItems() and three connectors in data.GetDuctFittingAndAccessoryData().GetAllConnectorData()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The only difference is there is a connector with connector index equals to -1 in the tap. In the tee all connectors' indexes are non-negative.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I suppose it is enough, because there are three connectors in the tee (you can see it as ConnectorElements in family editor), two connectors in the tap and two "air ways", so there is one "virtual" connector without corresponding ConnectorElement in the tap, so it's index equals to -1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What do you think about it?&lt;/P&gt;</description>
    <pubDate>Sun, 04 Jun 2017 19:26:21 GMT</pubDate>
    <dc:creator>aignatovich</dc:creator>
    <dc:date>2017-06-04T19:26:21Z</dc:date>
    <item>
      <title>Tee and TapAdjustable PartType in IDuctFittingAndAccessoryPressureDropServer</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/tee-and-tapadjustable-parttype-in/m-p/7127986#M57978</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to realize some specific pressure drop calculation rules for taps and tees.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem is to recognize what is tee and what is tap in IDuctFittingAndAccessoryPressureDropServer.Calculate method.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For any tees and taps data.GetDuctFittingAndAccessoryData().PartType is PartType.Tee&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are two items in data.GetPresureDropItems() and three connectors in data.GetDuctFittingAndAccessoryData().GetAllConnectorData()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The only difference is there is a connector with connector index equals to -1 in the tap. In the tee all connectors' indexes are non-negative.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I suppose it is enough, because there are three connectors in the tee (you can see it as ConnectorElements in family editor), two connectors in the tap and two "air ways", so there is one "virtual" connector without corresponding ConnectorElement in the tap, so it's index equals to -1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What do you think about it?&lt;/P&gt;</description>
      <pubDate>Sun, 04 Jun 2017 19:26:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/tee-and-tapadjustable-parttype-in/m-p/7127986#M57978</guid>
      <dc:creator>aignatovich</dc:creator>
      <dc:date>2017-06-04T19:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: Tee and TapAdjustable PartType in IDuctFittingAndAccessoryPressureDropServer</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/tee-and-tapadjustable-parttype-in/m-p/7128554#M57979</link>
      <description>&lt;P&gt;Hi &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1257478"&gt;@aignatovich&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I'm no expert with this, but have you investigate the elements using RevitLookup?&lt;/P&gt;
&lt;P&gt;It appears to me that once you use &lt;SPAN&gt;DuctFittingAndAccessoryData&lt;SPAN class="languageSpecificText"&gt;&lt;SPAN class="cs"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;GetFamilyInstanceId to get the familyInstance, you can get the familySymbol, and then the Family. The family has a FAMILY_CONTENT_PART_TYPE =&amp;gt; Part Type builtinparameter. That should give you what you need.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jun 2017 08:19:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/tee-and-tapadjustable-parttype-in/m-p/7128554#M57979</guid>
      <dc:creator>matthew_taylor</dc:creator>
      <dc:date>2017-06-05T08:19:49Z</dc:date>
    </item>
    <item>
      <title>Re: Tee and TapAdjustable PartType in IDuctFittingAndAccessoryPressureDropServer</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/tee-and-tapadjustable-parttype-in/m-p/7128756#M57980</link>
      <description>&lt;P&gt;Hi &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/98018"&gt;@matthew_taylor&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately, there is no access to Revit document from calculation server context, I suppose, this method was added just for debugging purposes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By the way, there is much simpler way (if you have access to family instance, of course): family instance MEPModel property is MechanicalFitting in such cases. MechanicalFitting has PartType property&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jun 2017 10:51:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/tee-and-tapadjustable-parttype-in/m-p/7128756#M57980</guid>
      <dc:creator>aignatovich</dc:creator>
      <dc:date>2017-06-05T10:51:10Z</dc:date>
    </item>
    <item>
      <title>Re: Tee and TapAdjustable PartType in IDuctFittingAndAccessoryPressureDropServer</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/tee-and-tapadjustable-parttype-in/m-p/7128817#M57981</link>
      <description>&lt;P&gt;Hi &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1257478"&gt;@aignatovich&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Perhaps you could show the bones of your application so I can help further?&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jun 2017 11:30:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/tee-and-tapadjustable-parttype-in/m-p/7128817#M57981</guid>
      <dc:creator>matthew_taylor</dc:creator>
      <dc:date>2017-06-05T11:30:49Z</dc:date>
    </item>
    <item>
      <title>Re: Tee and TapAdjustable PartType in IDuctFittingAndAccessoryPressureDropServer</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/tee-and-tapadjustable-parttype-in/m-p/7129312#M57982</link>
      <description>&lt;P&gt;Please, look in attachment&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jun 2017 14:48:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/tee-and-tapadjustable-parttype-in/m-p/7129312#M57982</guid>
      <dc:creator>aignatovich</dc:creator>
      <dc:date>2017-06-05T14:48:22Z</dc:date>
    </item>
    <item>
      <title>Re: Tee and TapAdjustable PartType in IDuctFittingAndAccessoryPressureDropServer</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/tee-and-tapadjustable-parttype-in/m-p/9661424#M57983</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Sorry for replying this topic with a diferent question.&lt;/P&gt;&lt;P&gt;I am looking for the way to store the calulated pressure drop value in te extensible storage of the fitting.&lt;/P&gt;&lt;P&gt;Do you have any idea on how to achieve it in the Calculate() method of the server?&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jul 2020 07:25:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/tee-and-tapadjustable-parttype-in/m-p/9661424#M57983</guid>
      <dc:creator>chema.jimenez</dc:creator>
      <dc:date>2020-07-29T07:25:24Z</dc:date>
    </item>
  </channel>
</rss>

