<?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 to intersect wall through Addon Code in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-intersect-wall-through-Addon-Code/m-p/620475#M9736</link>
    <description>&lt;P&gt;Could you attach a module containing just the unjoined walls?&lt;/P&gt;</description>
    <pubDate>Wed, 31 Jul 2024 14:00:16 GMT</pubDate>
    <dc:creator>Ralph Wessel</dc:creator>
    <dc:date>2024-07-31T14:00:16Z</dc:date>
    <item>
      <title>How to intersect wall through Addon Code</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-intersect-wall-through-Addon-Code/m-p/620281#M9729</link>
      <description>&lt;P&gt;I have two walls which is at an angle. As seen in the image below, the walls does not intersect neatly. I was able to correct this using the intersect tool in the UI. How can we achieve similar result through code?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kency_0-1722319614531.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/69258iCD1F307658CD594C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kency_0-1722319614531.png" alt="kency_0-1722319614531.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Expected&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kency_1-1722319704826.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/69259i98C31B8C72C87BCA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kency_1-1722319704826.png" alt="kency_1-1722319704826.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>Tue, 30 Jul 2024 06:08:37 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-to-intersect-wall-through-Addon-Code/m-p/620281#M9729</guid>
      <dc:creator>kency</dc:creator>
      <dc:date>2024-07-30T06:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to intersect wall through Addon Code</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-intersect-wall-through-Addon-Code/m-p/620384#M9733</link>
      <description>&lt;P&gt;Wall intersections through the API are the same as they are for the user - intersections are done automatically if the wall reference lines intersect. No additional functionality is required&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2024 15:39:48 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-to-intersect-wall-through-Addon-Code/m-p/620384#M9733</guid>
      <dc:creator>Ralph Wessel</dc:creator>
      <dc:date>2024-07-30T15:39:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to intersect wall through Addon Code</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-intersect-wall-through-Addon-Code/m-p/620467#M9734</link>
      <description>&lt;P&gt;&lt;a href="https://community.graphisoft.com/t5/user/viewprofilepage/user-id/733"&gt;@Ralph Wessel&lt;/a&gt;&amp;nbsp;Thank you for the response. So for these two walls i made the points exactly same but the intersection did not happen automatically&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kency_0-1722430805221.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/69348i8C2BF8E621AF6C63/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kency_0-1722430805221.png" alt="kency_0-1722430805221.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Expectation was:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kency_1-1722430850835.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/69349i4918B3B5DAE5D007/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kency_1-1722430850835.png" alt="kency_1-1722430850835.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The wall beg and end coordinates are as follows:&lt;/P&gt;
&lt;P&gt;Wall 1 - (10.56,-9.15), (-0.19, 1.62)&lt;/P&gt;
&lt;P&gt;Wall 2 - (0.11,-6.29), (10.56,-9.15)&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2024 13:04:17 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-to-intersect-wall-through-Addon-Code/m-p/620467#M9734</guid>
      <dc:creator>kency</dc:creator>
      <dc:date>2024-07-31T13:04:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to intersect wall through Addon Code</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-intersect-wall-through-Addon-Code/m-p/620475#M9736</link>
      <description>&lt;P&gt;Could you attach a module containing just the unjoined walls?&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2024 14:00:16 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-to-intersect-wall-through-Addon-Code/m-p/620475#M9736</guid>
      <dc:creator>Ralph Wessel</dc:creator>
      <dc:date>2024-07-31T14:00:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to intersect wall through Addon Code</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-intersect-wall-through-Addon-Code/m-p/620542#M9737</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.graphisoft.com/t5/user/viewprofilepage/user-id/733"&gt;@Ralph Wessel&lt;/a&gt;&amp;nbsp;, It was a mistake from my side, the beg and end coordinates had a difference of approximately 0.001. (one of the points was calculated after a conversion) When I cleaned up the code to share with you, I noticed this slight difference.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So the wall endpoints must be the same for Archicad to intersect automatically?&lt;/P&gt;
&lt;P&gt;Is there something else that can be done to intersect them forcefully through code like we have the intersect tool in the UI.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2024 05:49:42 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-to-intersect-wall-through-Addon-Code/m-p/620542#M9737</guid>
      <dc:creator>kency</dc:creator>
      <dc:date>2024-08-01T05:49:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to intersect wall through Addon Code</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-intersect-wall-through-Addon-Code/m-p/620576#M9738</link>
      <description>&lt;P&gt;I'm not sure of the exact tolerance for Archicad to auto-intersect walls, but it's certainly less than 1mm. I expect it will be a length less than the precision shown on screen, i.e. the point where Archicad would display a non-zero value as "0" in the UI.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You may be able to invoke API functions to do the intersection for you, e.g. with&amp;nbsp;&lt;EM&gt;ACAPI_Element_Edit&lt;/EM&gt;, but in the case it's probably easier to just calculate the intersection using the wall reference lines and update the geometry accordingly.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2024 11:10:26 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-to-intersect-wall-through-Addon-Code/m-p/620576#M9738</guid>
      <dc:creator>Ralph Wessel</dc:creator>
      <dc:date>2024-08-01T11:10:26Z</dc:date>
    </item>
  </channel>
</rss>

