<?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 AC23 API_OpeningType in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/AC23-API-OpeningType/m-p/289201#M2657</link>
    <description>&lt;DIV class="actalk-migrated-content"&gt;Hi. &lt;BR /&gt;While experimenting with creating/updating a &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;API_OpeningType element with AC23 sdk, i encountered some anomalies as described below.&lt;BR /&gt;1. AddOn examples called "Element_Test" has a function "Do_CreateOpening" that does not work. Looking further i found that &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;ACAPI_Element_Get crashes for &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;API_OpeningType
&lt;PRE&gt;&lt;I&gt;
&lt;/I&gt;API_Element			element;
BNClear (element);
element.header.typeID = API_WallID;
element.header.guid = wallGuid;
err = ACAPI_Element_Get (&amp;amp;element);
&lt;/PRE&gt;
This will crash AC23.&lt;BR /&gt;&lt;BR /&gt;2. White creating an wall opening with &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;ACAPI_Element_Create function we cannto set the the API_Guid of element with a custom string. This is possible with other elements such as Wall, Beam etc. &lt;BR /&gt;&lt;BR /&gt;3. While updating an existing opening, &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;extrusionGeometryData.frame.basePoint co-ordinates cannot be modified. There is no indication in api documentation whether &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;extrusionGeometryData.frame is immutable.&lt;BR /&gt;&lt;BR /&gt;I am not sure if this is the right forum to discuss/report these issues. Any comments/suggestions will be helpful.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Prasenjit&lt;/DIV&gt;</description>
    <pubDate>Thu, 29 Sep 2022 07:40:15 GMT</pubDate>
    <dc:creator>pro</dc:creator>
    <dc:date>2022-09-29T07:40:15Z</dc:date>
    <item>
      <title>AC23 API_OpeningType</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/AC23-API-OpeningType/m-p/289201#M2657</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;Hi. &lt;BR /&gt;While experimenting with creating/updating a &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;API_OpeningType element with AC23 sdk, i encountered some anomalies as described below.&lt;BR /&gt;1. AddOn examples called "Element_Test" has a function "Do_CreateOpening" that does not work. Looking further i found that &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;ACAPI_Element_Get crashes for &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;API_OpeningType
&lt;PRE&gt;&lt;I&gt;
&lt;/I&gt;API_Element			element;
BNClear (element);
element.header.typeID = API_WallID;
element.header.guid = wallGuid;
err = ACAPI_Element_Get (&amp;amp;element);
&lt;/PRE&gt;
This will crash AC23.&lt;BR /&gt;&lt;BR /&gt;2. White creating an wall opening with &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;ACAPI_Element_Create function we cannto set the the API_Guid of element with a custom string. This is possible with other elements such as Wall, Beam etc. &lt;BR /&gt;&lt;BR /&gt;3. While updating an existing opening, &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;extrusionGeometryData.frame.basePoint co-ordinates cannot be modified. There is no indication in api documentation whether &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;extrusionGeometryData.frame is immutable.&lt;BR /&gt;&lt;BR /&gt;I am not sure if this is the right forum to discuss/report these issues. Any comments/suggestions will be helpful.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Prasenjit&lt;/DIV&gt;</description>
      <pubDate>Thu, 29 Sep 2022 07:40:15 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/AC23-API-OpeningType/m-p/289201#M2657</guid>
      <dc:creator>pro</dc:creator>
      <dc:date>2022-09-29T07:40:15Z</dc:date>
    </item>
  </channel>
</rss>

