<?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 Elevation Hotspots in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/Elevation-Hotspots/m-p/293915#M4878</link>
    <description>&lt;DIV class="actalk-migrated-content"&gt;I've created a function that prints the &lt;FONT color="gray"&gt;API_PrimHotspot&lt;/FONT&gt; of the parent element of an &lt;FONT color="gray"&gt;API_SectElemType&lt;/FONT&gt; (based on its &lt;FONT color="gray"&gt;parentGuid&lt;/FONT&gt;) from an elevation view. When I mapped the coordinates of the neig of these primitive hotspots, it fits perfectly on the floor plan view of the object (door in this case).&lt;BR /&gt;&lt;BR /&gt;The question is: How do I get the hotspots of an elevation view?&lt;BR /&gt;&lt;BR /&gt;BTW, the returned &lt;FONT color="gray"&gt;API_PrimHotspot&lt;/FONT&gt; has the following values:&lt;BR /&gt;
&lt;PRE&gt;head.typeID: API_ZombiePrimID
head.layer: 0
head.pen: 0
head.drwIndex: 0
head.renovationStatus: API_DefaultStatus
loc: &amp;lt;&amp;lt;varies&amp;gt;&amp;gt;
neig.neigID: APINeig_Door
neig.guid: &amp;lt;&amp;lt;door GUID&amp;gt;&amp;gt;
neig.inIndex: &amp;lt;&amp;lt;shown in the attached image, 1-23&amp;gt;&amp;gt;
neig.flags: API_NeigFlg_Normal
neig.elemPartType: APINeigElemPart_None
neig.elemPartIndex: 0&lt;/PRE&gt;
&lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;This question might also apply on Section and Interior Elevation.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;EDIT (2015 Sep 03):&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Using the hotspot's memo values for &lt;FONT color="gray"&gt;dimElems&lt;/FONT&gt;, I was able to get the &lt;FONT color="gray"&gt;inIndex&lt;/FONT&gt; of the door's hotspot on elevation view: 1-4 for the four corners; and, 25-26 for the two inner corner on top. These indices are different from the original post. As you can see, index 1 on previous post is in the middle while here it is in the side. Also, indices 25 and 26 is not on the original post.&lt;/DIV&gt;
&lt;P&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="door_hotspot.png" style="width: 999px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/15316i91440BE2D0EAFBFA/image-size/large?v=v2&amp;amp;px=999" role="button" title="door_hotspot.png" alt="door_hotspot.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 13 Jul 2023 13:40:56 GMT</pubDate>
    <dc:creator>ReignBough</dc:creator>
    <dc:date>2023-07-13T13:40:56Z</dc:date>
    <item>
      <title>Elevation Hotspots</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Elevation-Hotspots/m-p/293915#M4878</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;I've created a function that prints the &lt;FONT color="gray"&gt;API_PrimHotspot&lt;/FONT&gt; of the parent element of an &lt;FONT color="gray"&gt;API_SectElemType&lt;/FONT&gt; (based on its &lt;FONT color="gray"&gt;parentGuid&lt;/FONT&gt;) from an elevation view. When I mapped the coordinates of the neig of these primitive hotspots, it fits perfectly on the floor plan view of the object (door in this case).&lt;BR /&gt;&lt;BR /&gt;The question is: How do I get the hotspots of an elevation view?&lt;BR /&gt;&lt;BR /&gt;BTW, the returned &lt;FONT color="gray"&gt;API_PrimHotspot&lt;/FONT&gt; has the following values:&lt;BR /&gt;
&lt;PRE&gt;head.typeID: API_ZombiePrimID
head.layer: 0
head.pen: 0
head.drwIndex: 0
head.renovationStatus: API_DefaultStatus
loc: &amp;lt;&amp;lt;varies&amp;gt;&amp;gt;
neig.neigID: APINeig_Door
neig.guid: &amp;lt;&amp;lt;door GUID&amp;gt;&amp;gt;
neig.inIndex: &amp;lt;&amp;lt;shown in the attached image, 1-23&amp;gt;&amp;gt;
neig.flags: API_NeigFlg_Normal
neig.elemPartType: APINeigElemPart_None
neig.elemPartIndex: 0&lt;/PRE&gt;
&lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;This question might also apply on Section and Interior Elevation.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;EDIT (2015 Sep 03):&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Using the hotspot's memo values for &lt;FONT color="gray"&gt;dimElems&lt;/FONT&gt;, I was able to get the &lt;FONT color="gray"&gt;inIndex&lt;/FONT&gt; of the door's hotspot on elevation view: 1-4 for the four corners; and, 25-26 for the two inner corner on top. These indices are different from the original post. As you can see, index 1 on previous post is in the middle while here it is in the side. Also, indices 25 and 26 is not on the original post.&lt;/DIV&gt;
&lt;P&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="door_hotspot.png" style="width: 999px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/15316i91440BE2D0EAFBFA/image-size/large?v=v2&amp;amp;px=999" role="button" title="door_hotspot.png" alt="door_hotspot.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2023 13:40:56 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Elevation-Hotspots/m-p/293915#M4878</guid>
      <dc:creator>ReignBough</dc:creator>
      <dc:date>2023-07-13T13:40:56Z</dc:date>
    </item>
  </channel>
</rss>

