<?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 How to reconnect all components in a drawing with API ? in AutoCAD Plant 3D Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-plant-3d-forum/how-to-reconnect-all-components-in-a-drawing-with-api/m-p/12935188#M4366</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;Recently, I have an issue I want to ask about. Specifically:&lt;/P&gt;&lt;P&gt;In my drawing, I have pipeline segments of the same size, and when I copy them, disconnection markers appear. I have to use the `PLANTCONNECTJOINT` command to reconnect them, but it takes a lot of time. I have the idea to use the API to make this process faster, but I haven't found any related code. If anyone has successfully done this before, could you please share some code or make a suggestion to help me out?&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="traiduong014969_0-1722587087457.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1393713iB2436009830D7689/image-size/medium?v=v2&amp;amp;px=400" role="button" title="traiduong014969_0-1722587087457.png" alt="traiduong014969_0-1722587087457.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;</description>
    <pubDate>Fri, 02 Aug 2024 10:18:05 GMT</pubDate>
    <dc:creator>traiduong014969</dc:creator>
    <dc:date>2024-08-02T10:18:05Z</dc:date>
    <item>
      <title>How to reconnect all components in a drawing with API ?</title>
      <link>https://forums.autodesk.com/t5/autocad-plant-3d-forum/how-to-reconnect-all-components-in-a-drawing-with-api/m-p/12935188#M4366</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;Recently, I have an issue I want to ask about. Specifically:&lt;/P&gt;&lt;P&gt;In my drawing, I have pipeline segments of the same size, and when I copy them, disconnection markers appear. I have to use the `PLANTCONNECTJOINT` command to reconnect them, but it takes a lot of time. I have the idea to use the API to make this process faster, but I haven't found any related code. If anyone has successfully done this before, could you please share some code or make a suggestion to help me out?&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="traiduong014969_0-1722587087457.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1393713iB2436009830D7689/image-size/medium?v=v2&amp;amp;px=400" role="button" title="traiduong014969_0-1722587087457.png" alt="traiduong014969_0-1722587087457.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Fri, 02 Aug 2024 10:18:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-plant-3d-forum/how-to-reconnect-all-components-in-a-drawing-with-api/m-p/12935188#M4366</guid>
      <dc:creator>traiduong014969</dc:creator>
      <dc:date>2024-08-02T10:18:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to reconnect all components in a drawing with API ?</title>
      <link>https://forums.autodesk.com/t5/autocad-plant-3d-forum/how-to-reconnect-all-components-in-a-drawing-with-api/m-p/12937854#M4367</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Why dont you check this sample from SDK&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="quan_hm_0-1722743314471.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1394114i13C5CF08116AD565/image-size/medium?v=v2&amp;amp;px=400" role="button" title="quan_hm_0-1722743314471.png" alt="quan_hm_0-1722743314471.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Looking for ConnectParts function and how it was used&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="quan_hm_1-1722743349971.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1394115i7DB40034FC6060E5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="quan_hm_1-1722743349971.png" alt="quan_hm_1-1722743349971.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You may need to loop through all the part to find the port need to connect&lt;/P&gt;</description>
      <pubDate>Sun, 04 Aug 2024 03:50:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-plant-3d-forum/how-to-reconnect-all-components-in-a-drawing-with-api/m-p/12937854#M4367</guid>
      <dc:creator>quan_hm</dc:creator>
      <dc:date>2024-08-04T03:50:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to reconnect all components in a drawing with API ?</title>
      <link>https://forums.autodesk.com/t5/autocad-plant-3d-forum/how-to-reconnect-all-components-in-a-drawing-with-api/m-p/12941594#M4368</link>
      <description>&lt;P&gt;Thank you for your suggestion. I combined some of your code with my own ideas, and now it works perfectly&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Tue, 06 Aug 2024 08:26:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-plant-3d-forum/how-to-reconnect-all-components-in-a-drawing-with-api/m-p/12941594#M4368</guid>
      <dc:creator>traiduong014969</dc:creator>
      <dc:date>2024-08-06T08:26:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to reconnect all components in a drawing with API ?</title>
      <link>https://forums.autodesk.com/t5/autocad-plant-3d-forum/how-to-reconnect-all-components-in-a-drawing-with-api/m-p/12941971#M4369</link>
      <description>&lt;P&gt;deleted&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2024 12:43:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-plant-3d-forum/how-to-reconnect-all-components-in-a-drawing-with-api/m-p/12941971#M4369</guid>
      <dc:creator>support4ENZ4</dc:creator>
      <dc:date>2024-08-06T12:43:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to reconnect all components in a drawing with API ?</title>
      <link>https://forums.autodesk.com/t5/autocad-plant-3d-forum/how-to-reconnect-all-components-in-a-drawing-with-api/m-p/12941984#M4370</link>
      <description>&lt;P&gt;you're welcome :))&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2024 12:50:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-plant-3d-forum/how-to-reconnect-all-components-in-a-drawing-with-api/m-p/12941984#M4370</guid>
      <dc:creator>quan_hm</dc:creator>
      <dc:date>2024-08-06T12:50:38Z</dc:date>
    </item>
  </channel>
</rss>

