<?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: Get the layout name in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/Get-the-layout-name/m-p/326826#M2467</link>
    <description>&lt;P&gt;AC_drawingname&lt;/P&gt;&lt;P&gt;Edit, my bad, just missed the ac_ part at the end.&lt;/P&gt;</description>
    <pubDate>Tue, 11 Jan 2022 22:56:21 GMT</pubDate>
    <dc:creator>SenecaDesignLLC</dc:creator>
    <dc:date>2022-01-11T22:56:21Z</dc:date>
    <item>
      <title>Get the layout name</title>
      <link>https://community.graphisoft.com/t5/GDL/Get-the-layout-name/m-p/326819#M2464</link>
      <description>&lt;P&gt;How do I get the layout name?&amp;nbsp; I can't find a request command, or a global variable, or an AC_ variable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know how to do a TEXT2 0, 0, "&amp;lt;LAYOUTNAME&amp;gt;", but I can't extract this to run a STRSTR command.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;_layoutName = "&amp;lt;LAYOUTNAME&amp;gt;" doesn't work.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jan 2022 22:04:08 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Get-the-layout-name/m-p/326819#M2464</guid>
      <dc:creator>Bruce</dc:creator>
      <dc:date>2022-01-11T22:04:08Z</dc:date>
    </item>
    <item>
      <title>Re: Get the layout name</title>
      <link>https://community.graphisoft.com/t5/GDL/Get-the-layout-name/m-p/326823#M2465</link>
      <description>&lt;P&gt;hmmm... saving autotext using &amp;lt;LAYOUTNAME&amp;gt; results in a 2d script using "&amp;lt;LAYOUTNAME&amp;gt;"; and the resulting object definitely pulls the layout name from the layout that object is placed on...&lt;/P&gt;&lt;P&gt;screen shot of script and placed object attached...&lt;/P&gt;&lt;P&gt;what are you saving the script as? haven't tried drawing title and/or label, but it seems to work on my end.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="http://community.graphisoft.com/t5/image/serverpage/image-id/75323i9D4256FE9F1D82AF/image-size/large?v=v2&amp;amp;px=999" border="0" alt="Screen Shot 2022-01-11 at 2.23.51 PM.png" title="Screen Shot 2022-01-11 at 2.23.51 PM.png" /&gt;&lt;IMG src="http://community.graphisoft.com/t5/image/serverpage/image-id/75324iBCA6F0E7DD25F26D/image-size/large?v=v2&amp;amp;px=999" border="0" alt="Screen Shot 2022-01-11 at 2.22.20 PM.png" title="Screen Shot 2022-01-11 at 2.22.20 PM.png" /&gt;</description>
      <pubDate>Tue, 11 Jan 2022 22:24:40 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Get-the-layout-name/m-p/326823#M2465</guid>
      <dc:creator>Patrick M</dc:creator>
      <dc:date>2022-01-11T22:24:40Z</dc:date>
    </item>
    <item>
      <title>Re: Get the layout name</title>
      <link>https://community.graphisoft.com/t5/GDL/Get-the-layout-name/m-p/326824#M2466</link>
      <description>&lt;P&gt;also, are you placing the scripted elmeent on a layout or in a view? because you aren't going to be able to reference a layout from a view AFAIK&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jan 2022 22:25:28 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Get-the-layout-name/m-p/326824#M2466</guid>
      <dc:creator>Patrick M</dc:creator>
      <dc:date>2022-01-11T22:25:28Z</dc:date>
    </item>
    <item>
      <title>Re: Get the layout name</title>
      <link>https://community.graphisoft.com/t5/GDL/Get-the-layout-name/m-p/326826#M2467</link>
      <description>&lt;P&gt;AC_drawingname&lt;/P&gt;&lt;P&gt;Edit, my bad, just missed the ac_ part at the end.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jan 2022 22:56:21 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Get-the-layout-name/m-p/326826#M2467</guid>
      <dc:creator>SenecaDesignLLC</dc:creator>
      <dc:date>2022-01-11T22:56:21Z</dc:date>
    </item>
    <item>
      <title>Re: Get the layout name</title>
      <link>https://community.graphisoft.com/t5/GDL/Get-the-layout-name/m-p/326827#M2468</link>
      <description>&lt;P&gt;Sorry that's the drawing view,&lt;/P&gt;&lt;P&gt;Try AC_layoutname&lt;/P&gt;&lt;P&gt;NVM that doesn't work, maybe drawing name is what you want, but doubtful&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jan 2022 22:54:38 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Get-the-layout-name/m-p/326827#M2468</guid>
      <dc:creator>SenecaDesignLLC</dc:creator>
      <dc:date>2022-01-11T22:54:38Z</dc:date>
    </item>
    <item>
      <title>Re: Get the layout name</title>
      <link>https://community.graphisoft.com/t5/GDL/Get-the-layout-name/m-p/326842#M2469</link>
      <description>&lt;P&gt;"&amp;lt;LAYOUTNAME&amp;gt;" actually works; I think it may just be a misunderstanding of globals and where they can pull from... or over complicating; not sure what the end goal is for parameter = &amp;lt;GLOBAL&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jan 2022 03:37:52 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Get-the-layout-name/m-p/326842#M2469</guid>
      <dc:creator>Patrick M</dc:creator>
      <dc:date>2022-01-12T03:37:52Z</dc:date>
    </item>
    <item>
      <title>Re: Get the layout name</title>
      <link>https://community.graphisoft.com/t5/GDL/Get-the-layout-name/m-p/326881#M2470</link>
      <description>&lt;P&gt;"&amp;lt;LAYOUTNAME&amp;gt;" will work if used directly in a TEXT2 (or PARAGRAPH etc) command.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to take the the layout name, split it at a user-defined delimiter in order to force a carriage return and allow for separate font settings.&amp;nbsp; This would be placed in the master's title block.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;E.g.&amp;nbsp; The layout name "CONCRETE PROFILE PLANS - GROUND FLOOR" would become:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CONCRETE PROFILE PLANS&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;GROUND FLOOR&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;In order to do this, I need to run a STRSTR command on the layout name.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jan 2022 08:53:30 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Get-the-layout-name/m-p/326881#M2470</guid>
      <dc:creator>Bruce</dc:creator>
      <dc:date>2022-01-12T08:53:30Z</dc:date>
    </item>
    <item>
      <title>Re: Get the layout name</title>
      <link>https://community.graphisoft.com/t5/GDL/Get-the-layout-name/m-p/326928#M2471</link>
      <description>&lt;P&gt;The magic words are &lt;SPAN&gt;"HomeDB_info".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Request that &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jan 2022 14:37:41 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Get-the-layout-name/m-p/326928#M2471</guid>
      <dc:creator>runxel</dc:creator>
      <dc:date>2022-01-12T14:37:41Z</dc:date>
    </item>
    <item>
      <title>Re: Get the layout name</title>
      <link>https://community.graphisoft.com/t5/GDL/Get-the-layout-name/m-p/327002#M2472</link>
      <description>&lt;P&gt;Thanks runxel - that's what I was (mostly) looking for!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This will indeed return the layout name, and will allow me to do my STRSTR splitting.&amp;nbsp; Unfortunately, it has to be placed on every layout - it won't work if placed in the master (it will always return the master layout's name).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jan 2022 21:56:39 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Get-the-layout-name/m-p/327002#M2472</guid>
      <dc:creator>Bruce</dc:creator>
      <dc:date>2022-01-12T21:56:39Z</dc:date>
    </item>
    <item>
      <title>Re: Get the layout name</title>
      <link>https://community.graphisoft.com/t5/GDL/Get-the-layout-name/m-p/327152#M2473</link>
      <description>&lt;P&gt;GS people: any idea?&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jan 2022 06:19:59 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Get-the-layout-name/m-p/327152#M2473</guid>
      <dc:creator>Bruce</dc:creator>
      <dc:date>2022-01-14T06:19:59Z</dc:date>
    </item>
    <item>
      <title>Re: Get the layout name</title>
      <link>https://community.graphisoft.com/t5/GDL/Get-the-layout-name/m-p/328129#M2474</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;not a direct solution, but you can use &amp;lt;SUBSETNAME&amp;gt; to get the layout group name, and organize drawings by that.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jan 2022 14:23:02 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Get-the-layout-name/m-p/328129#M2474</guid>
      <dc:creator>Peter Baksa</dc:creator>
      <dc:date>2022-01-25T14:23:02Z</dc:date>
    </item>
    <item>
      <title>Re: Get the layout name</title>
      <link>https://community.graphisoft.com/t5/GDL/Get-the-layout-name/m-p/328284#M2475</link>
      <description>&lt;P&gt;Thanks Peter.&amp;nbsp; I was aware of that option - unfortunately won't work in this particular scenario, given how my client arranges their sheets.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jan 2022 21:00:06 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Get-the-layout-name/m-p/328284#M2475</guid>
      <dc:creator>Bruce</dc:creator>
      <dc:date>2022-01-26T21:00:06Z</dc:date>
    </item>
  </channel>
</rss>

