<?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: How can I get the connectors of a FamilyInstance? in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/how-can-i-get-the-connectors-of-a-familyinstance/m-p/6559261#M63010</link>
    <description>&lt;P&gt;Dear Bruno,&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 perform a search of your own before asking questions here, both for your own efficiency and the sake of others.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In this case, a search for 'revit api familyinstance connectors' or 'thebuildingcoder familyinstance connectors' will certainly provide some starting points for you:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://duckduckgo.com/?q=revit+api+familyinstance+connectors" target="_blank"&gt;https://duckduckgo.com/?q=revit+api+familyinstance+connectors&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Obviously, you should also always search the Revit API help file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That immediately&amp;nbsp;yields the following call sequence to explore: FamilyInstance &amp;gt; MEPModel &amp;gt; ConnectorManager &amp;gt; Connectors.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Next, turn to the Revit SDK samples and search for something like ConnectorManager; that causes 132 hits in 8 files.&lt;BR /&gt; &lt;BR /&gt;The Building Coder samples also provides a whole bunch of samples handling connectors in various ways:&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;That should give you more than enough to get started, and hopefully answer an infinite number of similar future questions at the same&amp;nbsp;time.&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, 13 Sep 2016 14:34:11 GMT</pubDate>
    <dc:creator>jeremy_tammik</dc:creator>
    <dc:date>2016-09-13T14:34:11Z</dc:date>
    <item>
      <title>How can I get the connectors of a FamilyInstance?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/how-can-i-get-the-connectors-of-a-familyinstance/m-p/6558978#M63009</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; How can I get the connectors of a FamilyInstance?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2016 12:53:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/how-can-i-get-the-connectors-of-a-familyinstance/m-p/6558978#M63009</guid>
      <dc:creator>Bruno_Neves_Pires_Silva</dc:creator>
      <dc:date>2016-09-13T12:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get the connectors of a FamilyInstance?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/how-can-i-get-the-connectors-of-a-familyinstance/m-p/6559261#M63010</link>
      <description>&lt;P&gt;Dear Bruno,&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 perform a search of your own before asking questions here, both for your own efficiency and the sake of others.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In this case, a search for 'revit api familyinstance connectors' or 'thebuildingcoder familyinstance connectors' will certainly provide some starting points for you:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://duckduckgo.com/?q=revit+api+familyinstance+connectors" target="_blank"&gt;https://duckduckgo.com/?q=revit+api+familyinstance+connectors&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Obviously, you should also always search the Revit API help file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That immediately&amp;nbsp;yields the following call sequence to explore: FamilyInstance &amp;gt; MEPModel &amp;gt; ConnectorManager &amp;gt; Connectors.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Next, turn to the Revit SDK samples and search for something like ConnectorManager; that causes 132 hits in 8 files.&lt;BR /&gt; &lt;BR /&gt;The Building Coder samples also provides a whole bunch of samples handling connectors in various ways:&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;That should give you more than enough to get started, and hopefully answer an infinite number of similar future questions at the same&amp;nbsp;time.&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, 13 Sep 2016 14:34:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/how-can-i-get-the-connectors-of-a-familyinstance/m-p/6559261#M63010</guid>
      <dc:creator>jeremy_tammik</dc:creator>
      <dc:date>2016-09-13T14:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get the connectors of a FamilyInstance?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/how-can-i-get-the-connectors-of-a-familyinstance/m-p/6559770#M63011</link>
      <description>&lt;P&gt;Hello, Jeremy&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did a search using the searching tool provided by the forum:&lt;BR /&gt;&lt;A href="http://forums.autodesk.com/t5/forums/searchpage/tab/message?filter=location&amp;amp;q=ConnectorManager+familyinstance&amp;amp;location=forum-board%3A160" target="_blank"&gt;http://forums.autodesk.com/t5/forums/searchpage/tab/message?filter=location&amp;amp;q=ConnectorManager+familyinstance&amp;amp;location=forum-board%3A160&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But after looking several posts, I was not getting anywhere. I've found several posts about connectors and connectormanager, but I couldnt find anything showing how could I get the connectormanager of a FamilyInstance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did not look in your stuff, however, sorry. There I've found the answer:&lt;BR /&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;Thank you for finally taking your sweet time to answer one of my questions.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bruno.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2016 17:36:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/how-can-i-get-the-connectors-of-a-familyinstance/m-p/6559770#M63011</guid>
      <dc:creator>Bruno_Neves_Pires_Silva</dc:creator>
      <dc:date>2016-09-13T17:36:20Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get the connectors of a FamilyInstance?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/how-can-i-get-the-connectors-of-a-familyinstance/m-p/6560003#M63012</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Dear Bruno,&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 for your appreciation and sorry for the delay and inconvenience.&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;To efficiently address a Revit API question, there are indeed several levels of information that are worthwhile checking out.&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;I keep trying to create the ultimate complete list of them, and have not succeeded to my complete satisfaction so far.&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 is one of my recent attempts:&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;&lt;A href="http://thebuildingcoder.typepad.com/blog/2016/09/trusted-signature-motivation-and-fishing.html#3" target="_blank"&gt;http://thebuildingcoder.typepad.com/blog/2016/09/trusted-signature-motivation-and-fishing.html#3&lt;/A&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;Let me expand that based on what I said above and elsewhere in the past few days:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;How to Research for a Revit API Solution&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;SPAN&gt; Determine the optimal solution manually through the end user interface. Make sure you follow best practices and make use of existing built-in Revit functionality. If you skip this step or do not research deeply enough, you run a large risk of programming something that will be painful both to implement, maintain, debug and use.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;OL start="2"&gt;
&lt;LI&gt;&lt;SPAN&gt; Determine the names of the Revit classes, methods and properties that will help you achieve your task. For example, create the appropriate situation and sample BIM via the user interface and analyse it before and after making the modifications you need, e.g., using:&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;RevitLookup -- &lt;A href="https://github.com/jeremytammik/RevitLookup" target="_blank"&gt;https://github.com/jeremytammik/RevitLookup&lt;/A&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;BipChecker -- &lt;A href="https://github.com/jeremytammik/BipChecker" target="_blank"&gt;https://github.com/jeremytammik/BipChecker&lt;/A&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;The element lister -- &lt;A href="https://github.com/jeremytammik/AdnRevitApiLabsXtra" target="_blank"&gt;https://github.com/jeremytammik/AdnRevitApiLabsXtra&lt;/A&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Other, more intimate Revit database exploration tools -- &lt;A href="http://thebuildingcoder.typepad.com/blog/2013/11/intimate-revit-database-exploration-with-the-python-shell.html" target="_blank"&gt;http://thebuildingcoder.typepad.com/blog/2013/11/intimate-revit-database-exploration-with-the-python-shell.html&lt;/A&gt; -- such as the Revit Python or Ruby shell&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;OL start="3"&gt;
&lt;LI&gt;&lt;SPAN&gt; Once you know what Revit API objects are required, learn how to access, manipulate and drive them, their relationships and how they interact with each other:&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Revit API help file RevitAPI.chm installed locally or online at &lt;A href="http://www.revitapidocs.com" target="_blank"&gt;http://www.revitapidocs.com&lt;/A&gt; &amp;nbsp;provides detailed info on classes, properties and methods.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Revit online help -- &lt;A href="http://help.autodesk.com/view/RVT/2017/ENU" target="_blank"&gt;http://help.autodesk.com/view/RVT/2017/ENU&lt;/A&gt; &amp;gt; Developers &amp;gt; Revit API Developers Guide -- &lt;A href="http://help.autodesk.com/view/RVT/2017/ENU/?guid=GUID-F0A122E0-E556-4D0D-9D0F-7E72A9315A42" target="_blank"&gt;http://help.autodesk.com/view/RVT/2017/ENU/?guid=GUID-F0A122E0-E556-4D0D-9D0F-7E72A9315A42&lt;/A&gt; -- explains the Revit API usage in much more depth and provides invaluable background information.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Revit SDK sample collection installed locally and managed by Visual Studio via SDKSamples.sln shows how Revit API objects work together to solve specific tasks.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;The Building Coder samples -- &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; -- provides another large bunch of sample external commands implementing numerous different tasks.&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;After you have exhausted those options, search the Internet for 'revit api' or 'thebuildingcoder' plus the Revit API names that you are interested in.&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;I hope this helps.&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;Best regards,&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>Tue, 13 Sep 2016 19:03:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/how-can-i-get-the-connectors-of-a-familyinstance/m-p/6560003#M63012</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2016-09-13T19:03:26Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get the connectors of a FamilyInstance?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/how-can-i-get-the-connectors-of-a-familyinstance/m-p/6560042#M63013</link>
      <description>&lt;P&gt;Thank you, Jeremy!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; This will certainly help me much in the future!&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2016 19:19:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/how-can-i-get-the-connectors-of-a-familyinstance/m-p/6560042#M63013</guid>
      <dc:creator>Bruno_Neves_Pires_Silva</dc:creator>
      <dc:date>2016-09-13T19:19:26Z</dc:date>
    </item>
  </channel>
</rss>

