<?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: DoorStamp / Label Setting Attributes in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/SOLVED-DoorStamp-Label-Setting-Attributes/m-p/252602#M4002</link>
    <description>&lt;BLOCKQUOTE&gt;dfintha wrote:&lt;BR /&gt;Hello,&lt;BR /&gt;
&lt;BR /&gt;
You can get the associated Door Stamp's GUID from the Door element, it's the element.door.openingBase.markGuid member.&lt;BR /&gt;
&lt;BR /&gt;
After that, you can simply query its memo using ACAPI_Element_GetMemo with that GUID to get the parameter list of the &lt;BR /&gt;
marker element in the memo.params member.&lt;BR /&gt;
&lt;BR /&gt;
This way you'll get the parameters of the stamp related to the door, not the parameters of the door itself.&lt;BR /&gt;
&lt;BR /&gt;
Best regards,&lt;BR /&gt;
Dénes&lt;/BLOCKQUOTE&gt;

Thanks! This is what I was looking for!</description>
    <pubDate>Thu, 11 Jan 2018 10:15:08 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-01-11T10:15:08Z</dc:date>
    <item>
      <title>[SOLVED] DoorStamp / Label Setting Attributes</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/SOLVED-DoorStamp-Label-Setting-Attributes/m-p/252597#M3997</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;Hello.&lt;BR /&gt;&lt;BR /&gt;I was hoping to get some clues as to the best approach for getting Door Label/Stamp Attributes with the API. The infos I am trying to get are in this linked picture (Doorstamp-&amp;gt;Settings-&amp;gt;Content3-&amp;gt;...)&lt;BR /&gt;&lt;BR /&gt;It is not clear to me wether these informations should be within the door object/libpart or in the stamp/label itself. My guess is that they are actually stored in the stamp/label settings. I do not know however how to get a handle to this from the door. &lt;BR /&gt;&lt;BR /&gt;Anyone has experience with this? Any suggestions would be greatly appreciated.&lt;/DIV&gt;
&lt;P&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image_2017112317421124.png" style="width: 469px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/10268iD20FF5794DE65B25/image-size/large?v=v2&amp;amp;px=999" role="button" title="image_2017112317421124.png" alt="image_2017112317421124.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2022 12:47:23 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/SOLVED-DoorStamp-Label-Setting-Attributes/m-p/252597#M3997</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-12-06T12:47:23Z</dc:date>
    </item>
    <item>
      <title>Re: DoorStamp / Label Setting Attributes</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/SOLVED-DoorStamp-Label-Setting-Attributes/m-p/252598#M3998</link>
      <description>&lt;BLOCKQUOTE&gt;mar_kq wrote:&lt;BR /&gt;Hello.&lt;BR /&gt;
&lt;BR /&gt;
I was hoping to get some clues as to the best approach for getting Door Label/Stamp Attributes with the API. The infos I am trying to get are in this linked picture (Doorstamp-&amp;gt;Settings-&amp;gt;Content3-&amp;gt;...)&lt;BR /&gt;
 &lt;BR /&gt;
It is not clear to me wether these informations should be within the door object/libpart or in the stamp/label itself. My guess is that they are actually stored in the stamp/label settings. I do not know however how to get a handle to this from the door. &lt;BR /&gt;
&lt;BR /&gt;
Anyone has experience with this? Any suggestions would be greatly appreciated.&lt;/BLOCKQUOTE&gt;

&lt;B&gt;Update&lt;/B&gt;: I have been reading through the Docu and found the "ACAPI_​Element_​GetDefaultsExt" which sounds like it can give me what I am looking for. The problem so far, it seems it only returns the Default Setting Values but not the ones linked to the specific selected door. I do not quite understand what is the right Mask expected by the function (&lt;A href="http://archicadapi.graphisoft.com/documentation/api_subelemmemomask" target="_blank"&gt;archicadapi.graphisoft.com/documentation/api_subelemmemomask&lt;/A&gt;)&lt;BR /&gt;
&lt;BR /&gt;
I have tried using the following code as guide:&lt;BR /&gt;
&lt;A href="http://archicadapi.graphisoft.com/documentation/acapi_element_getdefaultsext" target="_blank"&gt;archicadapi.graphisoft.com/documentation/acapi_element_getdefaultsext&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
So far I have tried using the folowing Masks but the memo.params for each marker is empty after calling ACAPI_Element_GetDefaultsExt:
&lt;PRE&gt;markers[0].subType = (API_SubElemMemoMaskType) (APISubElemMemoMask_MainMarker | APISubElemMemoMask_NoParams);
markers[1].subType = (API_SubElemMemoMaskType) (APISubElemMemoMask_SHMarker | APISubElemMemoMask_NoElem);
markers[2].subType = (API_SubElemMemoMaskType) (APISubElemMemoMask_CWTag | APISubElemMemoMask_NoElem);&lt;/PRE&gt;</description>
      <pubDate>Tue, 12 Dec 2017 17:05:48 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/SOLVED-DoorStamp-Label-Setting-Attributes/m-p/252598#M3998</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-12T17:05:48Z</dc:date>
    </item>
    <item>
      <title>Re: DoorStamp / Label Setting Attributes</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/SOLVED-DoorStamp-Label-Setting-Attributes/m-p/252599#M3999</link>
      <description>&lt;BLOCKQUOTE&gt;mar_kq wrote:&lt;BR /&gt;
So far I have tried using the folowing Masks but the memo.params for each marker is empty after calling ACAPI_Element_GetDefaultsExt...
&lt;/BLOCKQUOTE&gt;

Is there a detailed explanation of what the different Markers are? I have found only this list: &lt;A href="http://archicadapi.graphisoft.com/documentation/api_subelemmemomask" target="_blank"&gt;archicadapi.graphisoft.com/documentation/api_subelemmemomask&lt;/A&gt;</description>
      <pubDate>Wed, 13 Dec 2017 08:53:31 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/SOLVED-DoorStamp-Label-Setting-Attributes/m-p/252599#M3999</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-13T08:53:31Z</dc:date>
    </item>
    <item>
      <title>Re: DoorStamp / Label Setting Attributes</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/SOLVED-DoorStamp-Label-Setting-Attributes/m-p/252600#M4000</link>
      <description>&lt;BLOCKQUOTE&gt;mar_kq wrote:&lt;BR /&gt;
It is not clear to me wether these informations should be within the door object/libpart or in the stamp/label itself. &lt;/BLOCKQUOTE&gt;

&lt;B&gt;Update 2:&lt;/B&gt; &lt;BR /&gt;
From my interpretation of the API Documentation, these informations should be actually delivered by the ACAPI_​Element_​GetMemo function but this is not the case:&lt;BR /&gt;
&lt;BR /&gt;
""&lt;BR /&gt;
Returns the gable data1 and the &lt;B&gt;parameters of the instance of a library part&lt;/B&gt;*, also the window / door orientation text in textContent.&lt;BR /&gt;
*The parameters of an element are the parameters of its originating library part, their &lt;B&gt;values are taken from the actual instance&lt;/B&gt;.&lt;BR /&gt;
""&lt;BR /&gt;
&lt;BR /&gt;
These are the attributes that I am looking for (AttributeDetails.PNG)&lt;BR /&gt;
&lt;BR /&gt;
Any suggestions please?&lt;BR /&gt;&lt;IMG src="http://community.graphisoft.com/t5/image/serverpage/image-id/68009iF985632280F1BB20/image-size/large?v=v2&amp;amp;px=999" border="0" alt="AttributeDetails.PNG" title="AttributeDetails.PNG" /&gt;</description>
      <pubDate>Thu, 14 Dec 2017 10:04:48 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/SOLVED-DoorStamp-Label-Setting-Attributes/m-p/252600#M4000</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-14T10:04:48Z</dc:date>
    </item>
    <item>
      <title>Re: DoorStamp / Label Setting Attributes</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/SOLVED-DoorStamp-Label-Setting-Attributes/m-p/252601#M4001</link>
      <description>Hello,&lt;BR /&gt;
&lt;BR /&gt;
You can get the associated Door Stamp's GUID from the Door element, it's the element.door.openingBase.markGuid member.&lt;BR /&gt;
&lt;BR /&gt;
After that, you can simply query its memo using ACAPI_Element_GetMemo with that GUID to get the parameter list of the &lt;BR /&gt;
marker element in the memo.params member.&lt;BR /&gt;
&lt;BR /&gt;
This way you'll get the parameters of the stamp related to the door, not the parameters of the door itself.&lt;BR /&gt;
&lt;BR /&gt;
Best regards,&lt;BR /&gt;
Dénes</description>
      <pubDate>Fri, 29 Dec 2017 14:52:26 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/SOLVED-DoorStamp-Label-Setting-Attributes/m-p/252601#M4001</guid>
      <dc:creator>dfintha</dc:creator>
      <dc:date>2017-12-29T14:52:26Z</dc:date>
    </item>
    <item>
      <title>Re: DoorStamp / Label Setting Attributes</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/SOLVED-DoorStamp-Label-Setting-Attributes/m-p/252602#M4002</link>
      <description>&lt;BLOCKQUOTE&gt;dfintha wrote:&lt;BR /&gt;Hello,&lt;BR /&gt;
&lt;BR /&gt;
You can get the associated Door Stamp's GUID from the Door element, it's the element.door.openingBase.markGuid member.&lt;BR /&gt;
&lt;BR /&gt;
After that, you can simply query its memo using ACAPI_Element_GetMemo with that GUID to get the parameter list of the &lt;BR /&gt;
marker element in the memo.params member.&lt;BR /&gt;
&lt;BR /&gt;
This way you'll get the parameters of the stamp related to the door, not the parameters of the door itself.&lt;BR /&gt;
&lt;BR /&gt;
Best regards,&lt;BR /&gt;
Dénes&lt;/BLOCKQUOTE&gt;

Thanks! This is what I was looking for!</description>
      <pubDate>Thu, 11 Jan 2018 10:15:08 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/SOLVED-DoorStamp-Label-Setting-Attributes/m-p/252602#M4002</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-11T10:15:08Z</dc:date>
    </item>
  </channel>
</rss>

