<?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 Roof trim, Coord in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/Roof-trim-Coord/m-p/262294#M5551</link>
    <description>&lt;DIV class="actalk-migrated-content"&gt;Hi, &lt;BR /&gt;&lt;BR /&gt;How could i get object edge/coord after Roof triming ? I was using API_Box3D extent3D.zMax for object. &lt;BR /&gt;This doesn't work with Roof trim. Even more because of sided roof object is higher than in other side. &lt;BR /&gt;&lt;BR /&gt;Couldn't found approach to this yet. &lt;BR /&gt;Any ideas?&lt;/DIV&gt;</description>
    <pubDate>Thu, 13 Jul 2023 14:32:48 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-07-13T14:32:48Z</dc:date>
    <item>
      <title>Roof trim, Coord</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Roof-trim-Coord/m-p/262294#M5551</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;Hi, &lt;BR /&gt;&lt;BR /&gt;How could i get object edge/coord after Roof triming ? I was using API_Box3D extent3D.zMax for object. &lt;BR /&gt;This doesn't work with Roof trim. Even more because of sided roof object is higher than in other side. &lt;BR /&gt;&lt;BR /&gt;Couldn't found approach to this yet. &lt;BR /&gt;Any ideas?&lt;/DIV&gt;</description>
      <pubDate>Thu, 13 Jul 2023 14:32:48 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Roof-trim-Coord/m-p/262294#M5551</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-07-13T14:32:48Z</dc:date>
    </item>
    <item>
      <title>Re: Roof trim, Coord</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Roof-trim-Coord/m-p/262295#M5552</link>
      <description>Is there at least a way to know if object have been trimed ?</description>
      <pubDate>Wed, 22 Apr 2015 12:04:02 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Roof-trim-Coord/m-p/262295#M5552</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-22T12:04:02Z</dc:date>
    </item>
    <item>
      <title>Re: Roof trim, Coord</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Roof-trim-Coord/m-p/262296#M5553</link>
      <description>Hmmm, i could get and calculate roof coordinates and therefore calculate trimmed area. &lt;BR /&gt;
Will try to go this way...</description>
      <pubDate>Thu, 23 Apr 2015 14:13:56 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Roof-trim-Coord/m-p/262296#M5553</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-23T14:13:56Z</dc:date>
    </item>
    <item>
      <title>Re: Roof trim, Coord</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Roof-trim-Coord/m-p/262297#M5554</link>
      <description>&lt;BLOCKQUOTE&gt;Rinovo wrote:&lt;BR /&gt;Is there at least a way to know if object have been trimed ?&lt;/BLOCKQUOTE&gt;
Get the element memo data 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_GetMemo&lt;E&gt;&lt;/E&gt;. If the &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;gable&lt;E&gt;&lt;/E&gt; handle is non-zero (which contains details of the cutting planes) then the object is cut.</description>
      <pubDate>Fri, 24 Apr 2015 10:46:10 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Roof-trim-Coord/m-p/262297#M5554</guid>
      <dc:creator>Ralph Wessel</dc:creator>
      <dc:date>2015-04-24T10:46:10Z</dc:date>
    </item>
    <item>
      <title>Re: Roof trim, Coord</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Roof-trim-Coord/m-p/262298#M5555</link>
      <description>&lt;PRE&gt;(memo.gables !=0)&lt;/PRE&gt; &lt;BR /&gt;
You meant like this ? I guess i'm doing something wrong. Didn't understand how it works. &lt;BR /&gt;
 
&lt;PRE&gt;GSErrCode  ACAPI_Element_Trim_GetTrimmingElements ( 
        const API_Guid&amp;amp;         guid_Element, 
        GS::Array&amp;lt;API_Guid&amp;gt;*    guid_TrimmingElements 
    );&lt;/PRE&gt; &lt;BR /&gt;
Found this function. As i understand this function return guid of element who have trimmed guid_Element. And will give needed result which i'm seeking. Although as i understand with API_Gable i could already get trimmed area with this function i would need to calculate it aferwards. &lt;BR /&gt;
Buttt... It returns - Invalid value passed in the guid_Element parameter.  &lt;BR /&gt;
How can i assign API_Guid to const API_Guid&amp;amp; , it should be simple i guess ? &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt;</description>
      <pubDate>Wed, 29 Apr 2015 14:04:38 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Roof-trim-Coord/m-p/262298#M5555</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-29T14:04:38Z</dc:date>
    </item>
  </channel>
</rss>

