<?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: Retrieving Routing Preferences for Pipe Types in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/retrieving-routing-preferences-for-pipe-types/m-p/5807304#M70572</link>
    <description>&lt;P&gt;Sorry - noticed after posting that the formatting got messed up making the post very difficult to read - so re-posting to try and sort out formatting:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm writing an addin to duplicate pipe types, which requires duplication and renaming of associated fittings as defined in the routing preferences for the type. I'm able to retrieve the pipe type OK, but when I try to retrieve the builtin parameters that store the routing preferences the values that are returned are for a different type.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The same happens when I use "Revit Lookup", which makes me suspect there's an API issue, rather than an addin issue. Has anyone else managed to retrieve routing preference information for pipe types successfully?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To replicate the issue with "Revit Lookup":&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN style="line-height: 15px;"&gt;Create a new project that contains Pipe Types (I used the Autodesk template "UK Pipe Template.rte")&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="line-height: 15px;"&gt;On the project browser, select a pipe type (for example "Families &amp;gt; Pipes &amp;gt; Pipe Types &amp;gt; Copper - Press-Fit")&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="line-height: 15px;"&gt;Activate Revit Lookup using "Snoop Current Selection..."&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="line-height: 15px;"&gt;Select the "Parameters" item&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="line-height: 15px;"&gt;Click the "Built-in Enums Snoop..." button&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="line-height: 15px;"&gt;Select a builtin parameter that corresponds to pipe routing preferences, for example "RBS_CURVETYPE_DEFAULT_TEE_PARAM"&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="line-height: 15px;"&gt;Revit Lookup shows the "As Value String" returning "Branch - Push-Fit - SS: Standard". If you edit the routing preferences using the Revit UI "Junction" is set to "Tee - Press-Fit - CU: Standard".&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This difference occurs for all of the builtin parameters and pipe types that I've tried.&lt;/P&gt;</description>
    <pubDate>Tue, 08 Sep 2015 13:47:52 GMT</pubDate>
    <dc:creator>colin_magner</dc:creator>
    <dc:date>2015-09-08T13:47:52Z</dc:date>
    <item>
      <title>Retrieving Routing Preferences for Pipe Types</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/retrieving-routing-preferences-for-pipe-types/m-p/5807107#M70571</link>
      <description>I'm writing an addin to duplicate pipe types, which requires duplication and renaming of associated fittings as defined in the routing preferences for the type. I'm able to retrieve the pipe type OK, but when I try to retrieve the builtin parameters that store the routing preferences the values that are returned are for a different type. The same happens when I use "Revit Lookup", which makes me suspect there's an API issue, rather than an addin issue. Has anyone else managed to retrieve routing preference information for pipe types successfully? To replicate the issue with "Revit Lookup": 1) Create a new project that contains Pipe Types (I used the Autodesk template "UK Pipe Template.rte") 2) On the project browser, select a pipe type (for example "Families &amp;gt; Pipes &amp;gt; Pipe Types &amp;gt; Copper - Press-Fit") 3) Activate Revit Lookup using "Snoop Current Selection..." 4) Select the "Parameters" item 5) Click the "Built-in Enums Snoop..." button 6) Select a builtin parameter that corresponds to pipe routing preferences, for example "RBS_CURVETYPE_DEFAULT_TEE_PARAM" 7) Revit Lookup shows the "As Value String" returning "Branch - Push-Fit - SS: Standard". If you edit the routing preferences using the Revit UI "Junction" is set to "Tee - Press-Fit - CU: Standard". This difference occurs for all of the builtin parameters and pipe types that I've tried.</description>
      <pubDate>Tue, 08 Sep 2015 12:07:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/retrieving-routing-preferences-for-pipe-types/m-p/5807107#M70571</guid>
      <dc:creator>colin_magner</dc:creator>
      <dc:date>2015-09-08T12:07:29Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving Routing Preferences for Pipe Types</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/retrieving-routing-preferences-for-pipe-types/m-p/5807304#M70572</link>
      <description>&lt;P&gt;Sorry - noticed after posting that the formatting got messed up making the post very difficult to read - so re-posting to try and sort out formatting:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm writing an addin to duplicate pipe types, which requires duplication and renaming of associated fittings as defined in the routing preferences for the type. I'm able to retrieve the pipe type OK, but when I try to retrieve the builtin parameters that store the routing preferences the values that are returned are for a different type.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The same happens when I use "Revit Lookup", which makes me suspect there's an API issue, rather than an addin issue. Has anyone else managed to retrieve routing preference information for pipe types successfully?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To replicate the issue with "Revit Lookup":&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN style="line-height: 15px;"&gt;Create a new project that contains Pipe Types (I used the Autodesk template "UK Pipe Template.rte")&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="line-height: 15px;"&gt;On the project browser, select a pipe type (for example "Families &amp;gt; Pipes &amp;gt; Pipe Types &amp;gt; Copper - Press-Fit")&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="line-height: 15px;"&gt;Activate Revit Lookup using "Snoop Current Selection..."&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="line-height: 15px;"&gt;Select the "Parameters" item&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="line-height: 15px;"&gt;Click the "Built-in Enums Snoop..." button&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="line-height: 15px;"&gt;Select a builtin parameter that corresponds to pipe routing preferences, for example "RBS_CURVETYPE_DEFAULT_TEE_PARAM"&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="line-height: 15px;"&gt;Revit Lookup shows the "As Value String" returning "Branch - Push-Fit - SS: Standard". If you edit the routing preferences using the Revit UI "Junction" is set to "Tee - Press-Fit - CU: Standard".&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This difference occurs for all of the builtin parameters and pipe types that I've tried.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Sep 2015 13:47:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/retrieving-routing-preferences-for-pipe-types/m-p/5807304#M70572</guid>
      <dc:creator>colin_magner</dc:creator>
      <dc:date>2015-09-08T13:47:52Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving Routing Preferences for Pipe Types</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/retrieving-routing-preferences-for-pipe-types/m-p/5807622#M70573</link>
      <description>&lt;P&gt;Dear Colin,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your query.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please pardon my ignorance in this area, but I do not know what exactly you are referring to when you say "This difference occurs..."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You have described the behaviour that you observe.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, I am unclear on what exact behaviour you might be expecting, and what difference you mean.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unrelated to whether I understand the problem or not, I have a suggestion for you, simply based on the fact that you say, "I'm writing an addin to duplicate pipe types, which requires duplication..."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For duplication of elements, types, views, marterials, etc., all kinds of things living in the Revit database, the Copy and Paste API is normally the easiest way to go:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://thebuildingcoder.typepad.com/blog/2013/05/copy-and-paste-api-applications-and-modeless-assertion.html" target="_blank"&gt;http://thebuildingcoder.typepad.com/blog/2013/05/copy-and-paste-api-applications-and-modeless-assertion.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you can make use of that, it&amp;nbsp;will hopefully&amp;nbsp;handle all the parameters attached to the types automatically.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this helps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jeremy&lt;/P&gt;</description>
      <pubDate>Tue, 08 Sep 2015 16:38:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/retrieving-routing-preferences-for-pipe-types/m-p/5807622#M70573</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2015-09-08T16:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving Routing Preferences for Pipe Types</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/retrieving-routing-preferences-for-pipe-types/m-p/5807707#M70574</link>
      <description>&lt;P&gt;Thanks for the response Jeremy.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To clarify the difference I refer to&amp;nbsp;- if you take the example of the copper press fit&amp;nbsp;pipe type in the UK Pipe template, when I edit this pipe type using the Revit UI, by double-clicking on the pipe type on the project browser, and then click the routing preference button, the dialog that opens shows that there is a pipe fitting "Tee - Press-Fit - CU: Standard" assigned to the Junction category.&amp;nbsp; If I query the builtin parameter "RBS_CURVETYPE_DEFAULT_TEE_PARAM" for this pipe type it returns a different pipe fitting (in this case a stainless steel fitting) to the one defined in the routing preferences.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I added a test of reporting as many builtin RBS_CURVETYPE_DEFAULT_ parameters as I could, across all of the pipe types, and they all reported incorrect family assignments.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The behaviour I'm expecting is for the API to return the same family and type as defined in the routing preferences via the UI.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To explain a bit more about the addin - I have a project requirement to add a classification parameter to pipework as a type parameter, to be used elsewhere for 4D and 5D analysis.&amp;nbsp; The nature of this classification system is that the classifications refer to the type of system, and not to the material.&amp;nbsp; I would have preferred to add the classification parameter to the pipe system definition instead but the 4D/5D work will be done via IFC and if I bind&amp;nbsp; a shared parameter as a project parameter to pipe sytems, this information doesn't get exported with the pipe objects to IFC.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My solution to this (which I'm not keen on from a 'BIM' perspective incidentally) is to duplicate the pipe types, so that I would have a Copper pipe type for each required classifcation, e.g. I would have a copper pipe type for hot water, a copper pipe type for cold water and so on.&amp;nbsp; I can then just bind the parameter to pipes and this finds it way to the IFC.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For this to work correctly I also need duplicate the associated fittings, rename then, and assign them to the newly duplicated pipe type (thanks for your building coder post that showed me how to do this by the way!), so that I can also assign the classification parameter to the fittings.&amp;nbsp; This is the primary reason why I'm trying to retrieve the builtin parameter values.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hopefully that clarifies what I'm trying to achieve, and the issues I'm experiencing with it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Colin&lt;/P&gt;</description>
      <pubDate>Tue, 08 Sep 2015 17:59:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/retrieving-routing-preferences-for-pipe-types/m-p/5807707#M70574</guid>
      <dc:creator>colin_magner</dc:creator>
      <dc:date>2015-09-08T17:59:08Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving Routing Preferences for Pipe Types</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/retrieving-routing-preferences-for-pipe-types/m-p/5807813#M70575</link>
      <description>&lt;P&gt;Dear Colin,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your update and clarification.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Oh, and also for the blog post appreciation. What is the link to the discussion you are referring to, please?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For the moment, I am only reading the first half of your answer, explaining the differences that you observe and the behaviour that you expect.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I agree with what you say.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you therefore please provide a reproducible case for me to submit to the development team to ask them what is going on?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://thebuildingcoder.typepad.com/blog/about-the-author.html#1b" target="_blank"&gt;http://thebuildingcoder.typepad.com/blog/about-the-author.html#1b&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please include a single-click compile, install and load add-in, plus the UK template file you are referring to. Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Maybe we are approaching this whole thing wrong, maybe there is a misunderstanding somewhere.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For instance, the routing preferences and the built-in parameter may in fact have different meanings, different from each other and different from what we think.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Once we have that sorted out and understand that side of the issue better, please prompt me to re-read the rest of your message again &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this helps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jeremy&lt;/P&gt;</description>
      <pubDate>Tue, 08 Sep 2015 18:53:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/retrieving-routing-preferences-for-pipe-types/m-p/5807813#M70575</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2015-09-08T18:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving Routing Preferences for Pipe Types</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/retrieving-routing-preferences-for-pipe-types/m-p/5808571#M70576</link>
      <description>&lt;P&gt;Thanks Jeremy.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The easy bit - &lt;A href="http://thebuildingcoder.typepad.com/blog/2011/10/set-new-pipe-type-properties.html" target="_blank"&gt;this &lt;/A&gt;is the blog post I referred to.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The more difficult bit - I will attempt to reproduce my addin in the form requested.&amp;nbsp; Where I work we have a framework for addin development and deployment, so we no longer tend to make standalone addins.&amp;nbsp; (I think you've also posted about this previously but can't find the link now).&amp;nbsp; I can create a a solution with a test adidn in it, but to be honest programming isn't my day job so I'm not sure about the single-click compile, install and load addin.&amp;nbsp;&amp;nbsp;Looking around a bit I guess starting with your&lt;A href="http://thebuildingcoder.typepad.com/blog/2014/05/add-in-wizards-for-revit-2015.html" target="_blank"&gt; add-in wizard &lt;/A&gt;would be the way to go?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Colin&lt;/P&gt;</description>
      <pubDate>Wed, 09 Sep 2015 07:46:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/retrieving-routing-preferences-for-pipe-types/m-p/5808571#M70576</guid>
      <dc:creator>colin_magner</dc:creator>
      <dc:date>2015-09-09T07:46:03Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving Routing Preferences for Pipe Types</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/retrieving-routing-preferences-for-pipe-types/m-p/5808577#M70577</link>
      <description>&lt;P&gt;Dear Colin,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for the update.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes, absolutely, the add-in wizard should make it a snap.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jeremy.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Sep 2015 07:52:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/retrieving-routing-preferences-for-pipe-types/m-p/5808577#M70577</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2015-09-09T07:52:48Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving Routing Preferences for Pipe Types</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/retrieving-routing-preferences-for-pipe-types/m-p/5826143#M70578</link>
      <description>&lt;P&gt;Hi Jeremy,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry for the delay, my day job took over...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please find attached a zip file containing the solution and project&amp;nbsp;template&amp;nbsp;as requested.&amp;nbsp; This is a purpose built project that does the minimum required to demonstrate the issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To reproduce the issue:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) Open the attached project "UK Pipe Types".&lt;/P&gt;&lt;P&gt;2) On the Project Browser navigate to "Families &amp;gt; Pipes &amp;gt; Pipe Types" and double-click on one of the pipe types.&amp;nbsp; On the dialog that opens click the "Edit..." button on the "Routing Preferences" line, and note the families and types selected for the various options.&lt;/P&gt;&lt;P&gt;3) Cancel those 2 dialogs to return to Revit.&lt;/P&gt;&lt;P&gt;4) Run the addin and select the pipe type from the Combobox that you reviewed in step 2.&lt;/P&gt;&lt;P&gt;5) Note the values returned by the addin and compare against those shown via the Revit UI in step 2&lt;/P&gt;&lt;P&gt;6) The values should match, but in my case they do not. (I have tried several templates and numerous pipe types)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The image below shows an example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG title="Pipe Type Sample.png" alt="Pipe Type Sample.png" src="https://forums.autodesk.com/t5/image/serverpage/image-id/189872i9CAADCDDFDDE18A1/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this matches what you expect from a reproducible test case, but if not please let me know.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Colin&lt;/P&gt;</description>
      <pubDate>Mon, 21 Sep 2015 17:27:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/retrieving-routing-preferences-for-pipe-types/m-p/5826143#M70578</guid>
      <dc:creator>colin_magner</dc:creator>
      <dc:date>2015-09-21T17:27:21Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving Routing Preferences for Pipe Types</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/retrieving-routing-preferences-for-pipe-types/m-p/5827036#M70579</link>
      <description>&lt;P&gt;Dear Colin,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for the update and reproducible case.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It looks absolutly perfect like this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I passed it on to the development team for further exploration by submitting the issue &lt;STRONG&gt;&lt;U&gt;REVIT-76496&lt;/U&gt;&lt;/STRONG&gt; [pipe type routing preferences differ between API and UI] on your behalf. Please make a note of this number for future reference.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this helps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jeremy.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Sep 2015 07:53:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/retrieving-routing-preferences-for-pipe-types/m-p/5827036#M70579</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2015-09-22T07:53:19Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving Routing Preferences for Pipe Types</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/retrieving-routing-preferences-for-pipe-types/m-p/5827257#M70580</link>
      <description>Brilliant, thank you very much.&lt;BR /&gt;____________________________________________________________&lt;BR /&gt;Electronic mail messages entering and leaving Arup business&lt;BR /&gt;systems are scanned for acceptability of content and viruses</description>
      <pubDate>Tue, 22 Sep 2015 10:36:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/retrieving-routing-preferences-for-pipe-types/m-p/5827257#M70580</guid>
      <dc:creator>colin_magner</dc:creator>
      <dc:date>2015-09-22T10:36:46Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving Routing Preferences for Pipe Types</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/retrieving-routing-preferences-for-pipe-types/m-p/5836409#M70581</link>
      <description>&lt;P&gt;Dear Colin,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The development team resolved the issue:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The parameters like RBS_CURVETYPE_DEFAULT_CROSS_PARAM are no longer being used, since Revit 2013.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We should obviously remove these parameter ids to reduce potential confusion. Sorry about that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Instead, the correct usage (UI or API) is to go through the routing preference manager. For example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;  // Get the routing preference manager:
  
  RoutingPreferenceManager rpm = ductType.RoutingPreferenceManager;
  
  // Get the first rule of crosses:
  
  RoutingPreferenceRule rpr = rpm.GetRule(RoutingPreferenceRuleGroupType.Crosses, 0); 
  
  ElementId fittingId = rpr.MEPPartId;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The Revit SDK samples include the sample 'RoutingPreferenceTools' that provides more insight on how to traverse, add and delete routing preference rules.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We have accordingly closed the issue &lt;STRONG&gt;&lt;U&gt;REVIT-76496&lt;/U&gt;&lt;/STRONG&gt; [pipe type routing preferences differ between API and UI] that I raised on your behalf, with a resolution of 'Works As Expected' and 'Workaround Provided'.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The Building Coder has discussed a number of aspects of using the routing rpeferences as well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sorry I did not point out that approach right away up front.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this helps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jeremy&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2015 06:08:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/retrieving-routing-preferences-for-pipe-types/m-p/5836409#M70581</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2015-09-29T06:08:28Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving Routing Preferences for Pipe Types</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/retrieving-routing-preferences-for-pipe-types/m-p/5836491#M70582</link>
      <description>Jeremy,&lt;BR /&gt;&lt;BR /&gt;Thanks for the feedback and direction to the new approach.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Colin&lt;BR /&gt;____________________________________________________________&lt;BR /&gt;Electronic mail messages entering and leaving Arup business&lt;BR /&gt;systems are scanned for acceptability of content and viruses</description>
      <pubDate>Tue, 29 Sep 2015 07:46:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/retrieving-routing-preferences-for-pipe-types/m-p/5836491#M70582</guid>
      <dc:creator>colin_magner</dc:creator>
      <dc:date>2015-09-29T07:46:03Z</dc:date>
    </item>
  </channel>
</rss>

