<?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: Window Label Unable to Read Zone Information in Elevation in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/Window-Label-Unable-to-Read-Zone-Information-in-Elevation/m-p/334666#M4618</link>
    <description>&lt;P&gt;I meant autotext without GDL.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The best way to get the ID of an autotext is creating an autotext, and dragging it into a 2D script.&lt;/P&gt;
&lt;P&gt;The element-based autotexts are techically properties identified by a GUID:&lt;/P&gt;
&lt;PRE&gt;&amp;lt;PROPERTY-EDC44824-1A6D-407A-9E39-693066622E7D&amp;gt;&lt;/PRE&gt;
&lt;P&gt;These can change between plan files and versions. Archicad takes care of changing them if they are parameters (try saving an autotext as an object), but it means you can't use a hard-coded value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Another workaround is that autotexts under General Parameters are also available as a property. Properties can be displayed this way: &lt;A href="https://gdl.graphisoft.com/tips-and-tricks/display-properties-with-labels" target="_blank" rel="noopener"&gt;https://gdl.graphisoft.com/tips-and-tricks/display-properties-with-labels&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 05 Apr 2022 07:08:50 GMT</pubDate>
    <dc:creator>Peter Baksa</dc:creator>
    <dc:date>2022-04-05T07:08:50Z</dc:date>
    <item>
      <title>Window Label Unable to Read Zone Information in Elevation</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Window-Label-Unable-to-Read-Zone-Information-in-Elevation/m-p/333874#M4613</link>
      <description>&lt;P&gt;Hello All, I am having trouble getting my window label to read the zone information in elevation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A Label GDL on a window with "Zone_relations_of_owner" reads zone number correctly when tagged in plan. But it returns "0" when tagged in elevation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;n = REQUEST ("Zone_relations_of_owner", "",ZONECATNAME, ZONECODE, ZONENAME, ZONENUMBER)
TEXT2 0,0,ZONENUMBER&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However under the same settings a Label GDL on a wall with "Zone_relations" reads zone number correctly in both plan and elevation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;n = REQUEST ("Zone_relations", "",ZONECATNAME, ZONECODE, ZONENAME, ZONENUMBER)
TEXT2 0,0,ZONENUMBER&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It would be great if someone can help me figure out how I can get the label to read zone number when tagged on a window in elevation view. Thanks for reading.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;James&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="http://community.graphisoft.com/t5/image/serverpage/image-id/54694iF95038DF918FF411/image-size/large?v=v2&amp;amp;px=999" border="0" alt="Screen Shot 2022-03-29 at 9.48.54 am.png" title="Screen Shot 2022-03-29 at 9.48.54 am.png" /&gt;&lt;IMG src="http://community.graphisoft.com/t5/image/serverpage/image-id/54695i54A3542610755593/image-size/large?v=v2&amp;amp;px=999" border="0" alt="Screen Shot 2022-03-29 at 9.48.41 am.png" title="Screen Shot 2022-03-29 at 9.48.41 am.png" /&gt;&lt;IMG src="http://community.graphisoft.com/t5/image/serverpage/image-id/54696i5EE4B1181099A73B/image-size/large?v=v2&amp;amp;px=999" border="0" alt="Screen Shot 2022-03-29 at 9.49.14 am.png" title="Screen Shot 2022-03-29 at 9.49.14 am.png" /&gt;</description>
      <pubDate>Mon, 28 Mar 2022 22:54:52 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Window-Label-Unable-to-Read-Zone-Information-in-Elevation/m-p/333874#M4613</guid>
      <dc:creator>JP1</dc:creator>
      <dc:date>2022-03-28T22:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: Window Label Unable to Read Zone Information in Elevation</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Window-Label-Unable-to-Read-Zone-Information-in-Elevation/m-p/334258#M4614</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;this might be a bug, as REQUEST "WINDOW_DOOR_ZONE_RELEV_OF_OWNER" works correctly and reacts to flipping. I will report it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use autotexts as a workaround.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Mar 2022 14:37:15 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Window-Label-Unable-to-Read-Zone-Information-in-Elevation/m-p/334258#M4614</guid>
      <dc:creator>Peter Baksa</dc:creator>
      <dc:date>2022-03-31T14:37:15Z</dc:date>
    </item>
    <item>
      <title>Re: Window Label Unable to Read Zone Information in Elevation</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Window-Label-Unable-to-Read-Zone-Information-in-Elevation/m-p/334298#M4615</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you Peter. I am very much open to your suggested workaround. However I am not familiar with autotext in GDL - perhaps you could explain a bit further for me.&lt;/P&gt;&lt;P&gt;I figured the autotext &lt;EM&gt;&lt;STRONG&gt;#From Zone Number&lt;/STRONG&gt;&lt;/EM&gt;&amp;nbsp;returns the information I need but not sure how to apply it into &lt;EM&gt;&lt;STRONG&gt;text2&lt;/STRONG&gt;&lt;/EM&gt;.&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://community.graphisoft.com/t5/image/serverpage/image-id/20302iF62421BC95B11152/image-size/large?v=v2&amp;amp;px=999" border="0" alt="Screen Shot 2022-04-01 at 8.35.29 am.png" title="Screen Shot 2022-04-01 at 8.35.29 am.png" /&gt;</description>
      <pubDate>Thu, 31 Mar 2022 21:57:56 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Window-Label-Unable-to-Read-Zone-Information-in-Elevation/m-p/334298#M4615</guid>
      <dc:creator>JP1</dc:creator>
      <dc:date>2022-03-31T21:57:56Z</dc:date>
    </item>
    <item>
      <title>Re: Window Label Unable to Read Zone Information in Elevation</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Window-Label-Unable-to-Read-Zone-Information-in-Elevation/m-p/334421#M4616</link>
      <description>&lt;P&gt;I have explained this a bit &lt;A href="https://community.graphisoft.com/t5/Developer-forum/Editing-XML-files/m-p/324618/" target="_self"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;My pro-tip: Just make a text with the text tool in the floor plan, then save this text as an object, and then obviously open it up. It's the fastest way to obtain any autotext for further usage in GDL.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Apr 2022 21:17:52 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Window-Label-Unable-to-Read-Zone-Information-in-Elevation/m-p/334421#M4616</guid>
      <dc:creator>runxel</dc:creator>
      <dc:date>2022-04-01T21:17:52Z</dc:date>
    </item>
    <item>
      <title>Re: Window Label Unable to Read Zone Information in Elevation</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Window-Label-Unable-to-Read-Zone-Information-in-Elevation/m-p/334536#M4617</link>
      <description>&lt;P&gt;Thanks very much runxel. I think I got my head around it now!&lt;/P&gt;</description>
      <pubDate>Sun, 03 Apr 2022 23:11:31 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Window-Label-Unable-to-Read-Zone-Information-in-Elevation/m-p/334536#M4617</guid>
      <dc:creator>JP1</dc:creator>
      <dc:date>2022-04-03T23:11:31Z</dc:date>
    </item>
    <item>
      <title>Re: Window Label Unable to Read Zone Information in Elevation</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Window-Label-Unable-to-Read-Zone-Information-in-Elevation/m-p/334666#M4618</link>
      <description>&lt;P&gt;I meant autotext without GDL.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The best way to get the ID of an autotext is creating an autotext, and dragging it into a 2D script.&lt;/P&gt;
&lt;P&gt;The element-based autotexts are techically properties identified by a GUID:&lt;/P&gt;
&lt;PRE&gt;&amp;lt;PROPERTY-EDC44824-1A6D-407A-9E39-693066622E7D&amp;gt;&lt;/PRE&gt;
&lt;P&gt;These can change between plan files and versions. Archicad takes care of changing them if they are parameters (try saving an autotext as an object), but it means you can't use a hard-coded value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Another workaround is that autotexts under General Parameters are also available as a property. Properties can be displayed this way: &lt;A href="https://gdl.graphisoft.com/tips-and-tricks/display-properties-with-labels" target="_blank" rel="noopener"&gt;https://gdl.graphisoft.com/tips-and-tricks/display-properties-with-labels&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Apr 2022 07:08:50 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Window-Label-Unable-to-Read-Zone-Information-in-Elevation/m-p/334666#M4618</guid>
      <dc:creator>Peter Baksa</dc:creator>
      <dc:date>2022-04-05T07:08:50Z</dc:date>
    </item>
  </channel>
</rss>

