<?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: Layout ID for Custom Section Marker in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/Layout-ID-for-Custom-Section-Marker/m-p/362275#M4724</link>
    <description>&lt;P&gt;If you look at the macro "Marker Link Parameters" you can see how GS has handled all of the back referencing options. Personally, I just duplicated the default marker and 1st level macro, then replaced the script where it drew the actual marker with my own shapes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ling.&lt;/P&gt;</description>
    <pubDate>Thu, 17 Nov 2022 02:03:40 GMT</pubDate>
    <dc:creator>Lingwisyer</dc:creator>
    <dc:date>2022-11-17T02:03:40Z</dc:date>
    <item>
      <title>Layout ID for Custom Section Marker</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Layout-ID-for-Custom-Section-Marker/m-p/362097#M4721</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;I was trying to create a custom section marker in Archicad 25 and I was able to create the reference to the section name using the:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-SPOILER&gt;AC_MarkerText_2&lt;/LI-SPOILER&gt;
&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;However, I can't figure out how to adjust the 2D script&amp;nbsp;to show the Layout ID. I already try &lt;SPAN&gt;AC_PM_Autosheet&lt;/SPAN&gt;, &lt;SPAN&gt;thinking it would work similarly&lt;/SPAN&gt; to the AC_MarkerText_2, but&lt;SPAN&gt;&amp;nbsp;it didn't work and an error message appeared. Does anyone know how to do this? Sorry if it's a really stupid question, it's the first time I try to use GDL.&lt;/SPAN&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;&lt;SPAN class=""&gt;&lt;SPAN&gt;Any help is appreciated! Thanks in advance &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Here is the GDL script I used (bold is what didn't work) and&amp;nbsp;an image of how the representation is now:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-SPOILER&gt;
&lt;P&gt;mul2 GLOB_SCALE, GLOB_SCALE&lt;/P&gt;
&lt;P&gt;hotspot2 0,0&lt;/P&gt;
&lt;P&gt;drawindex 10&lt;BR /&gt;pen penAttribute_1&lt;BR /&gt;set line_type lineTypeAttribute_1&lt;BR /&gt;poly2_b{5} 4, 1, 0, 3, 1, 0,&lt;BR /&gt;0, 0, 1, 0, 0, 1, 0,&lt;BR /&gt;0.008575689309737, 0.006860545343184, 1,&lt;BR /&gt;0.01715137861947, 0.001715131757349, 1,&lt;BR /&gt;0, 0.001715131757349, 1,&lt;BR /&gt;0.008575689309737, 0.006860545343184, 1&lt;BR /&gt;poly2_b{5} 2, 1, 0, 3, 1, 0,&lt;BR /&gt;0, 0, 1, 0, 0, 1, 0,&lt;BR /&gt;0, 0, 1,&lt;BR /&gt;0.03691476927454, 1.665334536938E-15, 1&lt;BR /&gt;define style{2} "AC_STYLE_1" "Swis721 Lt BT", 3.5/GLOB_SCALE, 0&lt;/P&gt;
&lt;P&gt;paragraph "AC_PRG_3" 2, 0, 0, 0, 1&lt;BR /&gt;pen penAttribute_2&lt;BR /&gt;set style "AC_STYLE_1"&lt;BR /&gt;AC_MarkerText_2&lt;BR /&gt;endparagraph&lt;BR /&gt;textblock "AC_TEXTBLOCK_3" 0, 2, 360, 1, 1, 1,&lt;BR /&gt;"AC_PRG_3"&lt;BR /&gt;richtext2 0.008575689309737, -0.004493477977424, "AC_TEXTBLOCK_3"&lt;BR /&gt;define style{2} "AC_STYLE_2" "Swis721 Lt BT", 2/GLOB_SCALE, 0&lt;/P&gt;
&lt;P&gt;paragraph "AC_PRG_4" 2, 0, 0, 0, 1&lt;BR /&gt;set style "AC_STYLE_2"&lt;BR /&gt;&lt;STRONG&gt;AC_PM_AutoSheet&lt;/STRONG&gt;&lt;BR /&gt;endparagraph&lt;BR /&gt;textblock "AC_TEXTBLOCK_4" 0, 8, 360, 1, 1, 1,&lt;BR /&gt;"AC_PRG_4"&lt;BR /&gt;richtext2 0.008575689309737, -0.004152733782793, "AC_TEXTBLOCK_4"&lt;/P&gt;
&lt;/LI-SPOILER&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="vitoriakananda_0-1668537618889.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/31584i6C8830B4FB64E589/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vitoriakananda_0-1668537618889.png" alt="vitoriakananda_0-1668537618889.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2024 11:52:29 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Layout-ID-for-Custom-Section-Marker/m-p/362097#M4721</guid>
      <dc:creator>vitoriakananda</dc:creator>
      <dc:date>2024-09-17T11:52:29Z</dc:date>
    </item>
    <item>
      <title>Re: Layout ID for Custom Section Marker</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Layout-ID-for-Custom-Section-Marker/m-p/362134#M4722</link>
      <description>&lt;P&gt;"&amp;lt;MARKERSHEETNUMBER_R&amp;gt;" + AC_DrawingGUID&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Think that is how the default markers do it.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2022 08:49:27 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Layout-ID-for-Custom-Section-Marker/m-p/362134#M4722</guid>
      <dc:creator>Lingwisyer</dc:creator>
      <dc:date>2022-11-16T08:49:27Z</dc:date>
    </item>
    <item>
      <title>Re: Layout ID for Custom Section Marker</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Layout-ID-for-Custom-Section-Marker/m-p/362149#M4723</link>
      <description>&lt;P&gt;&lt;SPAN&gt;This really worked, thank you so much!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2022 11:13:22 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Layout-ID-for-Custom-Section-Marker/m-p/362149#M4723</guid>
      <dc:creator>vitoriakananda</dc:creator>
      <dc:date>2022-11-16T11:13:22Z</dc:date>
    </item>
    <item>
      <title>Re: Layout ID for Custom Section Marker</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Layout-ID-for-Custom-Section-Marker/m-p/362275#M4724</link>
      <description>&lt;P&gt;If you look at the macro "Marker Link Parameters" you can see how GS has handled all of the back referencing options. Personally, I just duplicated the default marker and 1st level macro, then replaced the script where it drew the actual marker with my own shapes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ling.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2022 02:03:40 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Layout-ID-for-Custom-Section-Marker/m-p/362275#M4724</guid>
      <dc:creator>Lingwisyer</dc:creator>
      <dc:date>2022-11-17T02:03:40Z</dc:date>
    </item>
    <item>
      <title>Re: Layout ID for Custom Section Marker</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Layout-ID-for-Custom-Section-Marker/m-p/362328#M4725</link>
      <description>&lt;P&gt;I hadn't thought of it that way, but I went to test it and it worked too. Thanks a lot for the tip!&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2022 11:47:29 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Layout-ID-for-Custom-Section-Marker/m-p/362328#M4725</guid>
      <dc:creator>vitoriakananda</dc:creator>
      <dc:date>2022-11-17T11:47:29Z</dc:date>
    </item>
  </channel>
</rss>

