<?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: Dimension Marker Object: Type in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/Dimension-Marker-Object-Type/m-p/169741#M5627</link>
    <description>Anybody knows how to change Dimension Marker: Type... like in AC Dimension menu?</description>
    <pubDate>Wed, 03 Apr 2013 10:30:50 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-04-03T10:30:50Z</dc:date>
    <item>
      <title>Dimension Marker Object: Type</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Dimension-Marker-Object-Type/m-p/169740#M5626</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;Hi,&lt;BR /&gt;I have a problem when changing the &lt;U&gt;&lt;/U&gt;&lt;S&gt;&lt;U&gt;&lt;U&gt;&lt;/U&gt;&lt;/U&gt;&lt;/S&gt;elevation dimension custom text label with my AddOn.&lt;BR /&gt;It changes the type of Marker Object (in dimension menu panel - Marker Object: Type) to specific one (the second in menu).&lt;BR /&gt;Actually it has a very strange behaviour - some type changes, when I use my AddOn, other don't.&lt;BR /&gt;I don't have this problem with any other dimensions (neither linear,cumulative, base-line, nor Radial, Angle, Level dimension), just this one. My code don't differ for elevation dimension, so there shouldn't be problem.&lt;BR /&gt;I wanted to find and save the value of Marker Object: Type in API_Element or API_ElementMemo structures, but I failed. I don't see it anywhere, just MarkerData.MarkerID, but that is something else (I believe). Thx in advance.&lt;BR /&gt;&lt;BR /&gt;EDIT: This is a piece of my code&lt;BR /&gt;&lt;BR /&gt;ACAPI_ELEMENT_MASK_SETFULL (mask);&lt;BR /&gt;BNZeroMemory (&amp;amp;element, sizeof (API_Element));&lt;BR /&gt;element.header.guid = guid; //guid of selected item&lt;BR /&gt;err = ACAPI_Element_Get (&amp;amp;element);&lt;BR /&gt;&lt;BR /&gt;for (GS::Int32 p = 0; p &amp;lt; element.dimension.nDimElem; p++) { &lt;BR /&gt;(*memo.dimElems)
&lt;P&gt;.note.contentType = API_NoteContent_Custom;&lt;BR /&gt;handle = giveMeSomeText();&lt;BR /&gt;strcpy((*memo.dimElems)&lt;/P&gt;
&lt;P&gt;.note.content, handle);&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;ACAPI_Element_Change (&amp;amp;element,&amp;amp;mask,&amp;amp;memo,memoMask, true); &lt;BR /&gt;//Now it changes the custom text label of dimension and the elevation dimension's Marker Object: type, but it's okay for other dimensions&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 02 Aug 2023 14:23:32 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Dimension-Marker-Object-Type/m-p/169740#M5626</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-08-02T14:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension Marker Object: Type</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Dimension-Marker-Object-Type/m-p/169741#M5627</link>
      <description>Anybody knows how to change Dimension Marker: Type... like in AC Dimension menu?</description>
      <pubDate>Wed, 03 Apr 2013 10:30:50 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Dimension-Marker-Object-Type/m-p/169741#M5627</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-04-03T10:30:50Z</dc:date>
    </item>
  </channel>
</rss>

