<?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 obtain the area of a door? in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/How-can-I-obtain-the-area-of-a-door/m-p/395794#M1063</link>
    <description>&lt;P&gt;The first task would be to see if the door objects give you the opening areas?&lt;/P&gt;
&lt;P&gt;I don't use the default Graphisoft objects, so I am not sure if they do.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If they don't, you will need to amend the GDL scripting and calculate it and save it as a parameter.&lt;/P&gt;
&lt;P&gt;But that means you will have to use your modified doors from now on, and you will never be able to use the default library again.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If they do, great.&lt;/P&gt;
&lt;P&gt;You just need to get that information with your API.&lt;/P&gt;
&lt;P&gt;How you do this in an API I have absolutely no idea as I know very little about API development.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Barry.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 23 Aug 2023 01:06:52 GMT</pubDate>
    <dc:creator>Barry Kelly</dc:creator>
    <dc:date>2023-08-23T01:06:52Z</dc:date>
    <item>
      <title>How can I obtain the area of a door?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-can-I-obtain-the-area-of-a-door/m-p/395672#M1058</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I have encountered a tricky problem.&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; How can I obtain the area of a door, specifically the area of two different areas of a door.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I would like to receive some tips on which APIs or other methods I should use.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AC3.png" style="width: 579px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/44789iD1FA656FA9E4171F/image-size/large?v=v2&amp;amp;px=999" role="button" title="AC3.png" alt="AC3.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;With kind regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Allen&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2024 10:58:39 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-can-I-obtain-the-area-of-a-door/m-p/395672#M1058</guid>
      <dc:creator>luna</dc:creator>
      <dc:date>2024-09-17T10:58:39Z</dc:date>
    </item>
    <item>
      <title>Re: How can I obtain the area of a door?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-can-I-obtain-the-area-of-a-door/m-p/395762#M1059</link>
      <description>&lt;P&gt;It looks like you might mean the area of the glazing in a door.&amp;nbsp; ?&amp;nbsp; &amp;nbsp;Which two areas of the door ?&amp;nbsp; Glass and Not Glass on one side ?&amp;nbsp; Sidelights and Transom vs Door Panel?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try sorting by Surface Color or Surface Color (swatch), or something like that rather than Building Material.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SteveJepson_0-1692735941955.png" style="width: 930px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/44819i6B5B32E99EC71306/image-dimensions/930x401?v=v2" width="930" height="401" role="button" title="SteveJepson_0-1692735941955.png" alt="SteveJepson_0-1692735941955.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;DIFFERENT COLORS OF GLASS&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SteveJepson_1-1692737442099.png" style="width: 496px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/44820i58B631240396D4CD/image-dimensions/496x481?v=v2" width="496" height="481" role="button" title="SteveJepson_1-1692737442099.png" alt="SteveJepson_1-1692737442099.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, 22 Aug 2023 20:56:58 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-can-I-obtain-the-area-of-a-door/m-p/395762#M1059</guid>
      <dc:creator>Steve Jepson</dc:creator>
      <dc:date>2023-08-22T20:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: How can I obtain the area of a door?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-can-I-obtain-the-area-of-a-door/m-p/395789#M1060</link>
      <description>&lt;P&gt;Hi, Steve&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I'm very sorry for not expressing myself&amp;nbsp;&lt;/SPAN&gt;clearly.&lt;/P&gt;&lt;P&gt;I'm an Add-On developer.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I want to implement a function to calculate the area of a fixed area and a door leaf area in a door,&amp;nbsp;which means I need to obtain the area of two different areas from a door.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I need some help on which APIs should be used in development to obtain the area of a door, and how to distinguish the areas of different areas in a door, which has troubled me a lot.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Below is an annotated&amp;nbsp;&lt;/SPAN&gt;image.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Kind regards,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Allen&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AC5.png" style="width: 844px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/44830i4AA42C4E3A7B561D/image-size/large?v=v2&amp;amp;px=999" role="button" title="AC5.png" alt="AC5.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Aug 2023 00:44:18 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-can-I-obtain-the-area-of-a-door/m-p/395789#M1060</guid>
      <dc:creator>luna</dc:creator>
      <dc:date>2023-08-23T00:44:18Z</dc:date>
    </item>
    <item>
      <title>Re: How can I obtain the area of a door?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-can-I-obtain-the-area-of-a-door/m-p/395790#M1061</link>
      <description>&lt;P&gt;I am not sure an API can help you with this unless you are creating the door with the API.&lt;/P&gt;
&lt;P&gt;If you are just evaluating a door placed in the model, then that information will need to be calculated in the GDL of the object and stored as a parameter.&lt;/P&gt;
&lt;P&gt;Your API can then interrogate those parameter values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Barry.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Aug 2023 00:49:08 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-can-I-obtain-the-area-of-a-door/m-p/395790#M1061</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2023-08-23T00:49:08Z</dc:date>
    </item>
    <item>
      <title>Re: How can I obtain the area of a door?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-can-I-obtain-the-area-of-a-door/m-p/395793#M1062</link>
      <description>&lt;P&gt;HI, Barry&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am not quite sure how to obtain the required parameters in the GDL of an object. I hope you can provide a simple example so that I can quickly&amp;nbsp;&lt;/SPAN&gt;understand.&lt;/P&gt;&lt;P&gt;Thank you. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Kind regards,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Allen&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Aug 2023 00:58:31 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-can-I-obtain-the-area-of-a-door/m-p/395793#M1062</guid>
      <dc:creator>luna</dc:creator>
      <dc:date>2023-08-23T00:58:31Z</dc:date>
    </item>
    <item>
      <title>Re: How can I obtain the area of a door?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-can-I-obtain-the-area-of-a-door/m-p/395794#M1063</link>
      <description>&lt;P&gt;The first task would be to see if the door objects give you the opening areas?&lt;/P&gt;
&lt;P&gt;I don't use the default Graphisoft objects, so I am not sure if they do.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If they don't, you will need to amend the GDL scripting and calculate it and save it as a parameter.&lt;/P&gt;
&lt;P&gt;But that means you will have to use your modified doors from now on, and you will never be able to use the default library again.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If they do, great.&lt;/P&gt;
&lt;P&gt;You just need to get that information with your API.&lt;/P&gt;
&lt;P&gt;How you do this in an API I have absolutely no idea as I know very little about API development.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Barry.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Aug 2023 01:06:52 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-can-I-obtain-the-area-of-a-door/m-p/395794#M1063</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2023-08-23T01:06:52Z</dc:date>
    </item>
    <item>
      <title>Re: How can I obtain the area of a door?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-can-I-obtain-the-area-of-a-door/m-p/395798#M1064</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;I need time to understand these operations, and I hope to have some code examples.&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Thank you for providing me with a solution. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Allen.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Aug 2023 02:04:37 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-can-I-obtain-the-area-of-a-door/m-p/395798#M1064</guid>
      <dc:creator>luna</dc:creator>
      <dc:date>2023-08-23T02:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: How can I obtain the area of a door?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-can-I-obtain-the-area-of-a-door/m-p/395985#M1065</link>
      <description>&lt;P&gt;hehey luna.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i did not try it bymyself but have you looked at the api_windowquantity struct from more quantitys?&amp;nbsp;&lt;/P&gt;&lt;P&gt;looks promising. could be that one of the surface parameters returns waht you want.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JoelBuehler_1-1692861242955.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/44896iA98F1089F8BD273E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JoelBuehler_1-1692861242955.png" alt="JoelBuehler_1-1692861242955.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://archicadapi.graphisoft.com/documentation/api_windowquantity" target="_blank"&gt;https://archicadapi.graphisoft.com/documentation/api_windowquantity&lt;/A&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;</description>
      <pubDate>Thu, 24 Aug 2023 07:19:03 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-can-I-obtain-the-area-of-a-door/m-p/395985#M1065</guid>
      <dc:creator>Joel Buehler</dc:creator>
      <dc:date>2023-08-24T07:19:03Z</dc:date>
    </item>
    <item>
      <title>Re: How can I obtain the area of a door?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-can-I-obtain-the-area-of-a-door/m-p/395986#M1066</link>
      <description>&lt;P&gt;Hi, Joel&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you for providing the method. I will try it next.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Allen.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Aug 2023 07:27:40 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-can-I-obtain-the-area-of-a-door/m-p/395986#M1066</guid>
      <dc:creator>luna</dc:creator>
      <dc:date>2023-08-24T07:27:40Z</dc:date>
    </item>
    <item>
      <title>Re: How can I obtain the area of a door?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-can-I-obtain-the-area-of-a-door/m-p/395991#M1067</link>
      <description>&lt;P&gt;my first suggestion was that you go after the standard properties of windows/door. if this works you would have a neat and simple solution.&amp;nbsp;&lt;/P&gt;&lt;P&gt;the other, and unfortunatly from me also untestet approach, would be to get the library part details and analyse those.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but it seems that this struct reveals no real usefull information for your use case:&lt;/P&gt;&lt;P&gt;=(&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://archicadapi.graphisoft.com/documentation/acapi_libpart_getdetails?s=ACAPI_LibPart_GetDetails" target="_blank"&gt;https://archicadapi.graphisoft.com/documentation/acapi_libpart_getdetails?s=ACAPI_LibPart_GetDetails&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JoelBuehler_0-1692863091934.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/44897iACFD7D92A5DA0BF3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JoelBuehler_0-1692863091934.png" alt="JoelBuehler_0-1692863091934.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://archicadapi.graphisoft.com/documentation/api_libpartdetails" target="_blank"&gt;https://archicadapi.graphisoft.com/documentation/api_libpartdetails&lt;/A&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;</description>
      <pubDate>Thu, 24 Aug 2023 07:45:27 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-can-I-obtain-the-area-of-a-door/m-p/395991#M1067</guid>
      <dc:creator>Joel Buehler</dc:creator>
      <dc:date>2023-08-24T07:45:27Z</dc:date>
    </item>
  </channel>
</rss>

