<?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: CreatePipeConnector from ReferencePlane in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/createpipeconnector-from-referenceplane/m-p/9390832#M35785</link>
    <description>&lt;P&gt;The ReferencePlane documentation sample code shows how to call GetPlane to retrieve the DB Plane:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.revitapidocs.com/2020/e7003ec7-1dbe-50a2-fb3d-a83a5a3b5b9f.htm" target="_blank"&gt;https://www.revitapidocs.com/2020/e7003ec7-1dbe-50a2-fb3d-a83a5a3b5b9f.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;More to the point, the&amp;nbsp;the CreateAirHandler SDK sample to how to use the&amp;nbsp;&lt;SPAN&gt;CreatePipeConnector method.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When in doubt about how to call a Revit API method, one of the first places to always consult is the collection of Revit SDK samples. That step often helps and may save time and effort for you and others.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 21 Mar 2020 06:27:34 GMT</pubDate>
    <dc:creator>jeremytammik</dc:creator>
    <dc:date>2020-03-21T06:27:34Z</dc:date>
    <item>
      <title>CreatePipeConnector from ReferencePlane</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/createpipeconnector-from-referenceplane/m-p/9389985#M35784</link>
      <description>&lt;P&gt;I would like to create a connector from a reference plane. CreatePipeConnector function requires a PlanarFace. Is there another function or how can I transform a ReferencePlan into PlanarFace?&lt;BR /&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Mar 2020 16:39:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/createpipeconnector-from-referenceplane/m-p/9389985#M35784</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-20T16:39:34Z</dc:date>
    </item>
    <item>
      <title>Re: CreatePipeConnector from ReferencePlane</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/createpipeconnector-from-referenceplane/m-p/9390832#M35785</link>
      <description>&lt;P&gt;The ReferencePlane documentation sample code shows how to call GetPlane to retrieve the DB Plane:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.revitapidocs.com/2020/e7003ec7-1dbe-50a2-fb3d-a83a5a3b5b9f.htm" target="_blank"&gt;https://www.revitapidocs.com/2020/e7003ec7-1dbe-50a2-fb3d-a83a5a3b5b9f.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;More to the point, the&amp;nbsp;the CreateAirHandler SDK sample to how to use the&amp;nbsp;&lt;SPAN&gt;CreatePipeConnector method.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When in doubt about how to call a Revit API method, one of the first places to always consult is the collection of Revit SDK samples. That step often helps and may save time and effort for you and others.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 21 Mar 2020 06:27:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/createpipeconnector-from-referenceplane/m-p/9390832#M35785</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2020-03-21T06:27:34Z</dc:date>
    </item>
    <item>
      <title>Re: CreatePipeConnector from ReferencePlane</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/createpipeconnector-from-referenceplane/m-p/9393125#M35786</link>
      <description>&lt;P&gt;Hi Jeremy. Thank you for your response.&lt;BR /&gt;I try several codes without success.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;1st code&lt;BR /&gt;Autodesk.Revit.DB.Plane plane = Reference_plane.GetPlane();&lt;BR /&gt;ConnectorElement connector = ConnectorElement.CreatePipeConnector(family_document, PipeSystemType.Global, plane);&lt;BR /&gt;=&amp;gt; I can't compile this code because the parameter must be a reference of planar face and i don't know how to get it from the plane.&lt;/LI&gt;&lt;LI&gt;2nd code&lt;BR /&gt;ConnectorElement connector = ConnectorElement.CreatePipeConnector(family_document, PipeSystemType.Global, Reference_plane.GetReference());&lt;BR /&gt;=&amp;gt; I have an error during the execution : The reference is not a planar face. Parameter name: planarFace&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I would just like to do these with the API :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Menu_1.jpg" style="width: 454px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/744317i198D16C5B17AEA16/image-size/large?v=v2&amp;amp;px=999" role="button" title="Menu_1.jpg" alt="Menu_1.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Menu_2.jpg" style="width: 637px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/744318i6A0C329E606F4C80/image-size/large?v=v2&amp;amp;px=999" role="button" title="Menu_2.jpg" alt="Menu_2.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Menu_3.jpg" style="width: 391px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/744319iB660B2F63BD1FD79/image-size/large?v=v2&amp;amp;px=999" role="button" title="Menu_3.jpg" alt="Menu_3.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Menu_4.jpg" style="width: 533px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/744320iCAF06FBFDFE5E0A6/image-dimensions/533x316?v=v2" width="533" height="316" role="button" title="Menu_4.jpg" alt="Menu_4.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you again for your help.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Mar 2020 09:03:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/createpipeconnector-from-referenceplane/m-p/9393125#M35786</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-23T09:03:25Z</dc:date>
    </item>
    <item>
      <title>Re: CreatePipeConnector from ReferencePlane</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/createpipeconnector-from-referenceplane/m-p/9393218#M35787</link>
      <description>&lt;P&gt;Have you looked at the approached used by the CreateAirHandler SDK sample?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Mar 2020 09:46:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/createpipeconnector-from-referenceplane/m-p/9393218#M35787</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2020-03-23T09:46:17Z</dc:date>
    </item>
    <item>
      <title>Re: CreatePipeConnector from ReferencePlane</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/createpipeconnector-from-referenceplane/m-p/9393276#M35788</link>
      <description>&lt;P&gt;I looked the CreateAirHandler SDK sample example. But, if I understood correctly, it created the connectors from an extruded volume. So there are planar faces available.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Mar 2020 10:18:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/createpipeconnector-from-referenceplane/m-p/9393276#M35788</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-23T10:18:30Z</dc:date>
    </item>
    <item>
      <title>Re: CreatePipeConnector from ReferencePlane</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/createpipeconnector-from-referenceplane/m-p/9393475#M35789</link>
      <description>&lt;P&gt;Good. I see your point. Such situations arise regularly. You do have a real existing surface somewhere in the model that you can mount your connector on, don't you? Otherwise, you are modelling something that cannot be built. The existing surface is part of some BIM element geometry. You can identify the appropriate element and retrieve its geometry from the document by calling its &lt;U&gt;Geometry&lt;/U&gt; property and providing an &lt;U&gt;Options&lt;/U&gt; object with &lt;U&gt;ComputeReferences&lt;/U&gt; set to true. Then, iterate through all its surfaces to identify the one you need. Et voila, that surface is equipped with a reference that you can use to create the connector.&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Mar 2020 12:04:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/createpipeconnector-from-referenceplane/m-p/9393475#M35789</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2020-03-23T12:04:30Z</dc:date>
    </item>
    <item>
      <title>Re: CreatePipeConnector from ReferencePlane</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/createpipeconnector-from-referenceplane/m-p/9396013#M35790</link>
      <description>&lt;P&gt;Hello. I was a bit long, but what you told me inspired me to think about it. I am creating a converter. And so I create automaticly families from basic geometric shapes. To add, my connectors that do not rest on one face, I artificially added a cylinder that I masked where I wanted a connector. Here's what I get :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Famille.jpg" style="width: 261px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/744910i6C931721346E8B6F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Famille.jpg" alt="Famille.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Document.jpg" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/744911iB846972553847836/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Document.jpg" alt="Document.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thank you so much.&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;Edouard&lt;/P&gt;</description>
      <pubDate>Tue, 24 Mar 2020 10:50:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/createpipeconnector-from-referenceplane/m-p/9396013#M35790</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-24T10:50:30Z</dc:date>
    </item>
  </channel>
</rss>

