<?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 Re: Duct Sizing with the API in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/duct-sizing-with-the-api/m-p/9688644#M32600</link>
    <description>&lt;P&gt;Hi&lt;BR /&gt;&lt;BR /&gt;Although I haven't used that particular class my self, I tried to figure out some hints for you:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So the DuctPressureDropData&amp;nbsp; class is a part of the "external service" provided by the Revit. The External Service Framework (ESF) is a Revit API concept providing a way to extend Revit internal services. The very basic idea is that the 3rd party developer creates a "server" for the service in order to provide customized functionality.&lt;BR /&gt;&lt;BR /&gt;Following are the key items in the API:&lt;BR /&gt;&lt;BR /&gt;ExternalServices.BuiltInExternalServices.DuctPressureDropService: This tells you the identifier for the calculation service&lt;BR /&gt;IDuctPressureDropServer: This is the interface you need to implement for the server&lt;BR /&gt;IDuctPressureDropServer.Calculate(): In the signature of this method, you actually can see the class you were talking about.&lt;BR /&gt;&lt;BR /&gt;For some reason the API .chm wasn't able to find the relationship between the interface and the DuctPressureDropData class, so that's why you kind of needed to know what to search for.&lt;BR /&gt;&lt;BR /&gt;One more thing. From here you can find quite comprehensive tutorial for the ESF, highly recomend you study that one first:&lt;BR /&gt;&lt;A href="https://www.autodesk.com/autodesk-university/class/Revit-External-Services-Make-Built-Features-Behave-Your-Way-2015" target="_blank"&gt;https://www.autodesk.com/autodesk-university/class/Revit-External-Services-Make-Built-Features-Behave-Your-Way-2015&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Lastly, there was somewhat similar question already, but I'm afraid it doesn't help much:&lt;BR /&gt;&lt;A href="https://forums.autodesk.com/t5/revit-api-forum/api-to-run-duct-sizing/td-p/8960819" target="_blank"&gt;https://forums.autodesk.com/t5/revit-api-forum/api-to-run-duct-sizing/td-p/8960819&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope these help you to proceed.&lt;/P&gt;</description>
    <pubDate>Thu, 13 Aug 2020 05:40:26 GMT</pubDate>
    <dc:creator>ollikat</dc:creator>
    <dc:date>2020-08-13T05:40:26Z</dc:date>
    <item>
      <title>Duct Sizing with the API</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/duct-sizing-with-the-api/m-p/9683434#M32599</link>
      <description>&lt;P&gt;I'm working on creating my own version of the duct sizing tool to add additional inputs and constraints beyond what the regular version can do. I believe I should be using the DuctPressureDropData class, but can't figure out how to actually use it. The description of the class lists several inputs and outputs that seem to be exactly what I need, but I can't find a constructor example or anything that shows how to assemble everything.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Really what I'd like to do is iterate through a bunch of duct sizes, given a set of parameters to size with, and check the pressure drop of each size until I find the size that gives the correct pressure drop. Once I have that, assigning the values for height and width to the duct itself is straightforward.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there an example available somewhere? Thank you for your help, I'm a little lost.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Aug 2020 19:32:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/duct-sizing-with-the-api/m-p/9683434#M32599</guid>
      <dc:creator>jelliottCRA</dc:creator>
      <dc:date>2020-08-10T19:32:53Z</dc:date>
    </item>
    <item>
      <title>Re: Duct Sizing with the API</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/duct-sizing-with-the-api/m-p/9688644#M32600</link>
      <description>&lt;P&gt;Hi&lt;BR /&gt;&lt;BR /&gt;Although I haven't used that particular class my self, I tried to figure out some hints for you:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So the DuctPressureDropData&amp;nbsp; class is a part of the "external service" provided by the Revit. The External Service Framework (ESF) is a Revit API concept providing a way to extend Revit internal services. The very basic idea is that the 3rd party developer creates a "server" for the service in order to provide customized functionality.&lt;BR /&gt;&lt;BR /&gt;Following are the key items in the API:&lt;BR /&gt;&lt;BR /&gt;ExternalServices.BuiltInExternalServices.DuctPressureDropService: This tells you the identifier for the calculation service&lt;BR /&gt;IDuctPressureDropServer: This is the interface you need to implement for the server&lt;BR /&gt;IDuctPressureDropServer.Calculate(): In the signature of this method, you actually can see the class you were talking about.&lt;BR /&gt;&lt;BR /&gt;For some reason the API .chm wasn't able to find the relationship between the interface and the DuctPressureDropData class, so that's why you kind of needed to know what to search for.&lt;BR /&gt;&lt;BR /&gt;One more thing. From here you can find quite comprehensive tutorial for the ESF, highly recomend you study that one first:&lt;BR /&gt;&lt;A href="https://www.autodesk.com/autodesk-university/class/Revit-External-Services-Make-Built-Features-Behave-Your-Way-2015" target="_blank"&gt;https://www.autodesk.com/autodesk-university/class/Revit-External-Services-Make-Built-Features-Behave-Your-Way-2015&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Lastly, there was somewhat similar question already, but I'm afraid it doesn't help much:&lt;BR /&gt;&lt;A href="https://forums.autodesk.com/t5/revit-api-forum/api-to-run-duct-sizing/td-p/8960819" target="_blank"&gt;https://forums.autodesk.com/t5/revit-api-forum/api-to-run-duct-sizing/td-p/8960819&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope these help you to proceed.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Aug 2020 05:40:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/duct-sizing-with-the-api/m-p/9688644#M32600</guid>
      <dc:creator>ollikat</dc:creator>
      <dc:date>2020-08-13T05:40:26Z</dc:date>
    </item>
  </channel>
</rss>

