<?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: Pipe / Duck spliting using the Revit API in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/pipe-duck-spliting-using-the-revit-api/m-p/3315809#M81048</link>
    <description>&lt;P&gt;Thank you for your suggestion. I have started working on the steps you mentioned since it makes complete sense. However, I was wondering&amp;nbsp;if there a way to create new pipe filter, eg. coupling, which is used in Revit to spilt a pipe? If I could somehow create a new pipe coupling then I can place it at a defined lenght on a pipe. If possible, kindly provide a sample code for creating a new coupling.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know your thoughts on this. Thank you!&lt;/P&gt;</description>
    <pubDate>Thu, 02 Feb 2012 16:08:28 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-02-02T16:08:28Z</dc:date>
    <item>
      <title>Pipe / Duck spliting using the Revit API</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/pipe-duck-spliting-using-the-revit-api/m-p/3312303#M81046</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a C# code that allows users to select a pipe or a duct and&amp;nbsp;can retrieve the lenght property from it. Since I am new to Revit API, I was wondering is there a way to spilt a pipe/duct into specified length. For example, if I have a 50" pipe, I need to split it into 5 pipes of 10" each.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would greatly appreciate any input. Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2012 14:19:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/pipe-duck-spliting-using-the-revit-api/m-p/3312303#M81046</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-01-31T14:19:23Z</dc:date>
    </item>
    <item>
      <title>Re: Pipe / Duck spliting using the Revit API</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/pipe-duck-spliting-using-the-revit-api/m-p/3315105#M81047</link>
      <description>&lt;P&gt;As far as I know, there's no single method for doing the split in API. If you are going to do your own split method, you have to consider following steps&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. disconnect pipe/duct (curve) from the other end if connected&lt;/P&gt;&lt;P&gt;2. disconnect possible tap connections (and store them some how)&lt;/P&gt;&lt;P&gt;3. shorten the curve&lt;/P&gt;&lt;P&gt;4. Create new curve and place it correctly plus connect the other end if needed&lt;/P&gt;&lt;P&gt;5. set similar parameter values that was in original curve&lt;/P&gt;&lt;P&gt;6. reconnect the taps to correct curve&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Optionally you can delete the old curve totally and create two new.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So as you can see, it's not the worlds simplest task to do and that's why I think it doesn't make sense to start copy-paste code here. So just go ahead and start coding &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; If you face some issues, let see if someone can help you with those.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2012 06:09:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/pipe-duck-spliting-using-the-revit-api/m-p/3315105#M81047</guid>
      <dc:creator>ollikat</dc:creator>
      <dc:date>2012-02-02T06:09:01Z</dc:date>
    </item>
    <item>
      <title>Re: Pipe / Duck spliting using the Revit API</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/pipe-duck-spliting-using-the-revit-api/m-p/3315809#M81048</link>
      <description>&lt;P&gt;Thank you for your suggestion. I have started working on the steps you mentioned since it makes complete sense. However, I was wondering&amp;nbsp;if there a way to create new pipe filter, eg. coupling, which is used in Revit to spilt a pipe? If I could somehow create a new pipe coupling then I can place it at a defined lenght on a pipe. If possible, kindly provide a sample code for creating a new coupling.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know your thoughts on this. Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2012 16:08:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/pipe-duck-spliting-using-the-revit-api/m-p/3315809#M81048</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-02-02T16:08:28Z</dc:date>
    </item>
    <item>
      <title>Re: Pipe / Duck spliting using the Revit API</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/pipe-duck-spliting-using-the-revit-api/m-p/3316787#M81049</link>
      <description>&lt;P&gt;I wonder if you mean union? That's a good idea but unfortunatelly doesn't make our life easier. Union is created with Document::NewUnionFitting() method and it takes two connectors. So before you can install union, you have to have two ducts with open ends.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2012 06:36:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/pipe-duck-spliting-using-the-revit-api/m-p/3316787#M81049</guid>
      <dc:creator>ollikat</dc:creator>
      <dc:date>2012-02-03T06:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: Pipe / Duck spliting using the Revit API</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/pipe-duck-spliting-using-the-revit-api/m-p/3322123#M81050</link>
      <description>&lt;P&gt;Thanks! I am looking for a flang and union kind of deal. I would appreciate if&amp;nbsp;someone could provide more explanation on union and flages and the best logic to accomplish it.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Feb 2012 22:54:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/pipe-duck-spliting-using-the-revit-api/m-p/3322123#M81050</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-02-07T22:54:19Z</dc:date>
    </item>
  </channel>
</rss>

