<?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: Connector Neighbours in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/connector-neighbours/m-p/7816952#M52078</link>
    <description>&lt;P&gt;Hey Chris,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've had to do this for a couple different tools, so I thought I'd just create a quick repo for you to check it out.&amp;nbsp; It's a pretty basic bit of source that I threw together real quick, but the general idea is there.&amp;nbsp; You'll definitely need to tweak it to meet your needs, but I hope it helps:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A title="System Search Repository" href="https://github.com/geoffoverfield/RevitAPI_SystemSearch" target="_blank"&gt;https://github.com/geoffoverfield/RevitAPI_SystemSearch&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if you have any questions or need help with this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Don't forget to mark an answer - it helps the next person find their solution faster!!&lt;/P&gt;</description>
    <pubDate>Wed, 28 Feb 2018 18:12:25 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-02-28T18:12:25Z</dc:date>
    <item>
      <title>Connector Neighbours</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/connector-neighbours/m-p/7810689#M52073</link>
      <description>&lt;P&gt;Hello Revit API Forum,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was working on a script last week to run QA checks on systems to make sure everything is kosher. This was my first introduction to Connectors which seems like a pretty powerful system.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It started to give me some ideas for other Connector uses regarding mechanical systems.&amp;nbsp; I was hoping to be able to do something like the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Get an element&lt;/P&gt;&lt;P&gt;Get it's connectors&lt;/P&gt;&lt;P&gt;Find the connector ends&lt;/P&gt;&lt;P&gt;use the ends to "climb" down the system branch by finding the neighbouring element and repeating the process&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The issues that have been arising are the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;An element can have more than two ends&lt;/P&gt;&lt;P&gt;I'm not sure hot to get a reference to a neighbouring element using connected Connectors&lt;/P&gt;&lt;P&gt;branching through systems in this fashion could cause you to essentially get lost in the branches unless you map N number of forks.&lt;/P&gt;&lt;P&gt;The direction of the connectors are often bi directional, so how does one know you're progressing in the correct direction even if you could get the neighbours?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Essentially if you wanted to grab piece A on a duct, and iterate through the neighbouring ducts to Piece B, what would be the correct method to do this? You don't have to get super detailed with source, I'm just looking for the high level approach.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for this.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2018 21:42:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/connector-neighbours/m-p/7810689#M52073</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-26T21:42:31Z</dc:date>
    </item>
    <item>
      <title>Re: Connector Neighbours</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/connector-neighbours/m-p/7810735#M52074</link>
      <description>&lt;P&gt;Nice task!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Maybe these discussions and other ones they point to will help:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://thebuildingcoder.typepad.com/blog/2016/06/traversing-and-exporting-all-mep-system-graphs.html" target="_blank"&gt;http://thebuildingcoder.typepad.com/blog/2016/06/traversing-and-exporting-all-mep-system-graphs.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://thebuildingcoder.typepad.com/blog/2016/06/store-mep-systems-in-hierarchical-json-graph.html" target="_blank"&gt;http://thebuildingcoder.typepad.com/blog/2016/06/store-mep-systems-in-hierarchical-json-graph.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Good luck and have fun!&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>Mon, 26 Feb 2018 22:01:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/connector-neighbours/m-p/7810735#M52074</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2018-02-26T22:01:24Z</dc:date>
    </item>
    <item>
      <title>Re: Connector Neighbours</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/connector-neighbours/m-p/7811914#M52075</link>
      <description>&lt;P&gt;I work on pipes , but maybe it is not that different in duct.&lt;BR /&gt;First revit look up will help you with what is reference to what, so I suggest to install it, if you didn't already.&lt;/P&gt;&lt;P&gt;all pipes have connector manager with connectors, connectors have all ref (that show to what there are connected), with pipe there is this little thing that you have to check i connector from all refs is not the second connector from connector manager.&lt;BR /&gt;You need to check if connector is right kind(physicalConn).&lt;BR /&gt;Usually neighbour connector have the same orgin and opposite direction(this one not always rule, like in placeholders).&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;In family you can check which connector is prime and which is secondary&amp;nbsp; and go with this link.&lt;BR /&gt;With branches you can always make a list of points to look if you not make a full loop, not the best solution but for big project.&lt;BR /&gt;&lt;BR /&gt;In my case I only needed to go through all connectors until I will find pipe(i had like 4 or 5 families connected with each other).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2018 10:35:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/connector-neighbours/m-p/7811914#M52075</guid>
      <dc:creator>MarryTookMyCoffe</dc:creator>
      <dc:date>2018-02-27T10:35:32Z</dc:date>
    </item>
    <item>
      <title>Re: Connector Neighbours</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/connector-neighbours/m-p/7813104#M52076</link>
      <description>&lt;P&gt;Okay, so from the sounds of it this system is as robust as I'd hoped. I'm going to wade through this and I'll post back about what I was able to come up with. Thanks for pointing me in the right direction.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2018 17:07:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/connector-neighbours/m-p/7813104#M52076</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-27T17:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: Connector Neighbours</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/connector-neighbours/m-p/7816515#M52077</link>
      <description>&lt;P&gt;Not much time to be super specific but here are some additional pinpointed leads that should help in accompaniment with Jeremy's posts.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;An element can have more than two ends&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Check if the connector.connectortype == connectortype.end&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;I'm not sure how to get a reference to a neighbouring element using connected Connectors&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Connector.AllRefs will return connectors connected to the one you're looking at, then you can look at their hosts&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;branching through systems in this fashion could cause you to essentially get lost in the branches unless you map N number of forks.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Yup. But this is why you're a programmer, you're the bad ass that will get this licked &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;The direction of the connectors are often bi directional, so how does one know you're progressing in the correct direction even if you could get the neighbours?&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Connector.CoordinateSystem.BasisZ will help you make sure you're facing OUT from the fitting if airflow is not the concern.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2018 16:17:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/connector-neighbours/m-p/7816515#M52077</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-28T16:17:32Z</dc:date>
    </item>
    <item>
      <title>Re: Connector Neighbours</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/connector-neighbours/m-p/7816952#M52078</link>
      <description>&lt;P&gt;Hey Chris,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've had to do this for a couple different tools, so I thought I'd just create a quick repo for you to check it out.&amp;nbsp; It's a pretty basic bit of source that I threw together real quick, but the general idea is there.&amp;nbsp; You'll definitely need to tweak it to meet your needs, but I hope it helps:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A title="System Search Repository" href="https://github.com/geoffoverfield/RevitAPI_SystemSearch" target="_blank"&gt;https://github.com/geoffoverfield/RevitAPI_SystemSearch&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if you have any questions or need help with this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Don't forget to mark an answer - it helps the next person find their solution faster!!&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2018 18:12:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/connector-neighbours/m-p/7816952#M52078</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-28T18:12:25Z</dc:date>
    </item>
    <item>
      <title>Re: Connector Neighbours</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/connector-neighbours/m-p/7818746#M52079</link>
      <description>&lt;P&gt;Dear Geoff,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the system traversal module... it looks very useful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I added it to The Building Coder samples for posterity:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/jeremytammik/the_building_coder_samples" target="_blank"&gt;https://github.com/jeremytammik/the_building_coder_samples&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/jeremytammik/the_building_coder_samples/blob/master/BuildingCoder/BuildingCoder/MepSystemSearch.cs" target="_blank"&gt;https://github.com/jeremytammik/the_building_coder_samples/blob/master/BuildingCoder/BuildingCoder/MepSystemSearch.cs&lt;/A&gt;&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>Thu, 01 Mar 2018 09:37:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/connector-neighbours/m-p/7818746#M52079</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2018-03-01T09:37:47Z</dc:date>
    </item>
    <item>
      <title>Re: Connector Neighbours</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/connector-neighbours/m-p/7821919#M52080</link>
      <description>&lt;P&gt;Dear Geoff,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you aware of the Revit SDK TraverseSystem sample?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have you checked out some of the other MEP system traversal solutions I implemented and discussed?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you compare your solution with those, please?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am wondering whether to discuss these in more depth in the blog... or maybe just make a list of them, for people to evaluate for themselves...&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;Cheers,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jeremy&lt;/P&gt;</description>
      <pubDate>Fri, 02 Mar 2018 09:25:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/connector-neighbours/m-p/7821919#M52080</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2018-03-02T09:25:25Z</dc:date>
    </item>
    <item>
      <title>Re: Connector Neighbours</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/connector-neighbours/m-p/7823440#M52081</link>
      <description>&lt;P&gt;Another high level question regarding these branching systems:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Considering the potential for loops to be present, am I right in assuming that finding the shortest/all routes from a given start and end is non trivial?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My workflow intention was something like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1 - Select start and end point in a given system&lt;/P&gt;&lt;P&gt;2 - find the user's intended route through the system (likely the shortest one)&lt;/P&gt;&lt;P&gt;3 - do a calculation on the given run using connectors and their references&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm wondering if at step two the intended route could be ambiguous, and if so, how do you handle it?&lt;/P&gt;&lt;P&gt;I'm also wondering how you use the map once you map the system to proceed from the start in a direction that brings you closer to the end. This can't really be done with spacial location because to assume the end is specially further from the start than the middle may be a false assumption.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At the moment I'm considering making the user select the entire run, but the original intent would be a lot simpler (for the user...).&lt;/P&gt;</description>
      <pubDate>Fri, 02 Mar 2018 19:20:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/connector-neighbours/m-p/7823440#M52081</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-02T19:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: Connector Neighbours</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/connector-neighbours/m-p/7823572#M52082</link>
      <description>&lt;P&gt;So it seems to me that you have a couple options on your hand.&amp;nbsp; You can:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Let the user pick their own route&lt;/LI&gt;&lt;LI&gt;Offer the most direct route&lt;/LI&gt;&lt;LI&gt;Offer the shortest route (Not necessarily the same as #2)&lt;/LI&gt;&lt;LI&gt;Take a path that passes points (like if you have some kind check system everything needs to pass)&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Based on that, you'll have to do some math &amp;amp; logic on the search process.&amp;nbsp; Check out the image below (it's pipes - not ductwork...&amp;nbsp; but same principal):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Untitled.png" style="width: 705px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/470204iE1D5D9117DC3529C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled.png" alt="Untitled.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You'll encounter tons of systems that have an infinite number of ways of laying them out.&amp;nbsp; In the drawing above, if you were to go from start to finish taking the "direct route", which may be the least amount of turns, you'd go straight down south, the east - covering 300' of pipe/ductwork in your case.&amp;nbsp; If you wanted the shortest route, you could take the top route (follow the most northern pipes) and you would only pass through 296' 1/12" of pipe... &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Never presume to know what the user wants...&amp;nbsp; Most users will all have different ways of doing things - from East Coast to West Coast; North to South America and Europe...&amp;nbsp; If you want to give them options (which I would always recommend for enhanced UX), give them options.&amp;nbsp; Otherwise just build what you can, and add to it later.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you really want to explore this and make a powerful tool, look at the differences between depth-first vs breadth-first searches, which are intended for graph systems like this:&lt;BR /&gt;&lt;A href="https://stackoverflow.com/questions/3332947/when-is-it-practical-to-use-depth-first-search-dfs-vs-breadth-first-search-bf" target="_blank"&gt;https://stackoverflow.com/questions/3332947/when-is-it-practical-to-use-depth-first-search-dfs-vs-breadth-first-search-bf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/687731/breadth-first-vs-depth-first/687752" target="_blank"&gt;https://stackoverflow.com/questions/687731/breadth-first-vs-depth-first/687752&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=bIA8HEEUxZI" target="_blank"&gt;https://www.youtube.com/watch?v=bIA8HEEUxZI&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://cs.stackexchange.com/questions/298/graph-searching-breadth-first-vs-depth-first" target="_blank"&gt;https://cs.stackexchange.com/questions/298/graph-searching-breadth-first-vs-depth-first&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.geeksforgeeks.org/depth-first-traversal-for-a-graph/" target="_blank"&gt;https://www.geeksforgeeks.org/depth-first-traversal-for-a-graph/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.geeksforgeeks.org/breadth-first-traversal-for-a-graph/" target="_blank"&gt;https://www.geeksforgeeks.org/breadth-first-traversal-for-a-graph/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There really isn't a "right answer" for this.&amp;nbsp; It's got to be a balanced combination of what the users want and what you can reasonably create in a timely manner.&amp;nbsp; What's important is that whatever you create, make it scalable so you can always come back and build on it later!&amp;nbsp; So if you start by making them select their entire path, make it so that you can make edits and build on it without having to rewrite the whole thing...&amp;nbsp; I've had to do that.&amp;nbsp; It's not fun.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Don't forget to mark your answers...&amp;nbsp; It helps the next individual find theirs faster!!&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Cheers,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Geoff Overfield&lt;/P&gt;&lt;P&gt;Software Engineer&lt;/P&gt;&lt;P&gt;FabPro, LLC&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FabPro1_Logo_Dark.png" style="width: 99px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/469760i7D18A692506B33F1/image-dimensions/99x81?v=v2" width="99" height="81" role="button" title="FabPro1_Logo_Dark.png" alt="FabPro1_Logo_Dark.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Mar 2018 20:20:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/connector-neighbours/m-p/7823572#M52082</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-02T20:20:11Z</dc:date>
    </item>
    <item>
      <title>Re: Connector Neighbours</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/connector-neighbours/m-p/7823591#M52083</link>
      <description>&lt;P&gt;Hey Jeremy,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not familiar with that bit of your work.&amp;nbsp; Can you send me a link, and&amp;nbsp; I'll check them out! I'll DM you with my opinion on whether to add it to the blog, or create some kind of repository of solutions for people.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Mar 2018 20:23:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/connector-neighbours/m-p/7823591#M52083</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-02T20:23:52Z</dc:date>
    </item>
    <item>
      <title>Re: Connector Neighbours</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/connector-neighbours/m-p/7824489#M52084</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Dear Geoff,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The&amp;nbsp;Revit SDK TraverseSystem sample is part of the Revit SDK, obviously.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It determines the correct order of the individual system elements in the direction of the flow and stores the entire directed graph in XML.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Here are some discussions of it:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;A href="http://thebuildingcoder.typepad.com/blog/2009/06/revit-mep-api.html" target="_blank"&gt;http://thebuildingcoder.typepad.com/blog/2009/06/revit-mep-api.html&lt;/A&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;A href="http://thebuildingcoder.typepad.com/blog/2009/09/the-revit-mep-api.html#6" target="_blank"&gt;http://thebuildingcoder.typepad.com/blog/2009/09/the-revit-mep-api.html#6&lt;/A&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;A href="http://thebuildingcoder.typepad.com/blog/2010/05/the-revit-mep-2011-api.html#samples" target="_blank"&gt;http://thebuildingcoder.typepad.com/blog/2010/05/the-revit-mep-2011-api.html#samples&lt;/A&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My AdnRme sample performs traversal of electrical systems:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;A href="https://github.com/jeremytammik/AdnRme" target="_blank"&gt;https://github.com/jeremytammik/AdnRme&lt;/A&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Here are some discussions of that sample:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;A href="http://thebuildingcoder.typepad.com/blog/about-the-author.html#5.40" target="_blank"&gt;http://thebuildingcoder.typepad.com/blog/about-the-author.html#5.40&lt;/A&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Here is another much simpler traversal implementation:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;A href="http://thebuildingcoder.typepad.com/blog/2013/02/simple-mep-system-traversal.html" target="_blank"&gt;http://thebuildingcoder.typepad.com/blog/2013/02/simple-mep-system-traversal.html&lt;/A&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am looking forward to hearing what you think of them, especially if your traversal implementation beats the TraverseSystem one&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Jeremy&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 03 Mar 2018 11:52:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/connector-neighbours/m-p/7824489#M52084</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2018-03-03T11:52:33Z</dc:date>
    </item>
    <item>
      <title>Re: Connector Neighbours</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/connector-neighbours/m-p/7827612#M52085</link>
      <description>&lt;P&gt;Thanks everyone for the quick responses, and the wealth of information. I don't think there's one reply in this thread that isn't deeply helpful and as such I have a hard time picking a "solution". So, everyone gets kudos!&lt;/P&gt;</description>
      <pubDate>Mon, 05 Mar 2018 14:09:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/connector-neighbours/m-p/7827612#M52085</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-05T14:09:33Z</dc:date>
    </item>
    <item>
      <title>Re: Connector Neighbours</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/connector-neighbours/m-p/7827666#M52086</link>
      <description>&lt;P&gt;To assist future visitors that might land on this page through Google or some similar service, I believe you can tag more than one post as a solution. I'd pick one of Jeremy's with links and one that Geoff posted, perhaps his sample?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Alternatively, you can tell me "You're not my mom" and I'll bug off &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Mar 2018 14:21:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/connector-neighbours/m-p/7827666#M52086</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-05T14:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: Connector Neighbours</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/connector-neighbours/m-p/7831212#M52087</link>
      <description>&lt;P&gt;You're not my mom!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Answers selected. Though honestly, most of this content is pertinent.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Mar 2018 14:33:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/connector-neighbours/m-p/7831212#M52087</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-06T14:33:06Z</dc:date>
    </item>
    <item>
      <title>Re: Connector Neighbours</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/connector-neighbours/m-p/7865055#M52088</link>
      <description>&lt;P&gt;Thank you all very much for the fruitful discussion!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Saved for posterity by The Building Coder:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://thebuildingcoder.typepad.com/blog/2018/03/connector-neighbour-conduit-transition.html#2" target="_blank"&gt;http://thebuildingcoder.typepad.com/blog/2018/03/connector-neighbour-conduit-transition.html#2&lt;/A&gt;&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>Mon, 19 Mar 2018 14:30:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/connector-neighbours/m-p/7865055#M52088</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2018-03-19T14:30:52Z</dc:date>
    </item>
    <item>
      <title>Re: Connector Neighbours</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/connector-neighbours/m-p/10987287#M52089</link>
      <description>&lt;P&gt;Inge de la longitud veré la forma lo que si me sería de gran ayuda poder modificar la dirección de flujo gracias&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 06 Mar 2022 19:23:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/connector-neighbours/m-p/10987287#M52089</guid>
      <dc:creator>doc.inge.fernando</dc:creator>
      <dc:date>2022-03-06T19:23:00Z</dc:date>
    </item>
    <item>
      <title>Re: Connector Neighbours</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/connector-neighbours/m-p/11074995#M52090</link>
      <description>&lt;P&gt;Alguien me puede indicar, cuales podrian ser las razones de que no funciona la palabra this en una linea de código&amp;nbsp;&lt;/P&gt;&lt;P&gt;Como se ve en la imagen no reconoce a esta palabra, gracias&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Falla.png" style="width: 242px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1048922i11324BF85504AEC4/image-size/large?v=v2&amp;amp;px=999" role="button" title="Falla.png" alt="Falla.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Mar 2022 20:55:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/connector-neighbours/m-p/11074995#M52090</guid>
      <dc:creator>doc.inge.fernando</dc:creator>
      <dc:date>2022-03-31T20:55:19Z</dc:date>
    </item>
    <item>
      <title>Re: Connector Neighbours</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/connector-neighbours/m-p/11075753#M52091</link>
      <description>&lt;P&gt;`this` refers to the current instance in an instance member method. Your code snippet is probably not part of an&amp;nbsp;instance member method. I would suggest reading about this for yourself in the .NET documentation:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://duckduckgo.com/?q=c%23+this" target="_blank"&gt;https://duckduckgo.com/?q=c%23+this&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Apr 2022 06:59:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/connector-neighbours/m-p/11075753#M52091</guid>
      <dc:creator>jeremy_tammik</dc:creator>
      <dc:date>2022-04-01T06:59:11Z</dc:date>
    </item>
  </channel>
</rss>

