<?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 The value of the OPENING_SILLHEIGHT_VALUES variable in the label is incorrect in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/The-value-of-the-OPENING-SILLHEIGHT-VALUES-variable-in-the-label/m-p/659770#M7619</link>
    <description>&lt;P class=""&gt;Hello everyone,&lt;/P&gt;&lt;P class=""&gt;As noted in the subject line, when I write a label to retrieve the value of the variable OPENING_SILLHEIGHT_VALUES, the result is not what I expect. However, when I capture the same parameter using Autotext and save it, the value comes through correctly. Could someone please help me understand what I’m doing wrong?&lt;/P&gt;&lt;P class=""&gt;I have attached the relevant code snippets below:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;STRONG&gt;Textblock_1:&lt;/STRONG&gt; retrieving the value via OPENING_SILLHEIGHT_VALUES.toHomeStory&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;STRONG&gt;Textblock_2:&lt;/STRONG&gt; retrieving the “Sill Height to Home Story” value via Autotext&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P class=""&gt;Thank you in advance for your assistance!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NMK195_0-1744861022709.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/86002i17752732D910EC2F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NMK195_0-1744861022709.png" alt="NMK195_0-1744861022709.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Define Style{2} "TextStyle" Ac_Textfont_1, Ac_Textsize_1, Ac_Textstyle_1

If Not(Label_Has_Pointer) Then Add2 	Label_Position [2][1]	+	Label_Position [3][1], Label_Position [2][2]	+	Label_Position [3][2]

Txt_Val_Text = ""
if haskey(OPENING_SILLHEIGHT_VALUES.toHomeStory) Then Txt_Val_Text = Str(OPENING_SILLHEIGHT_VALUES.toHomeStory*1000, 1, 0)
	_Paragraph_1 = "paragraph_1"
	_Textblock_1 = "textBlock_1"

	Paragraph _Paragraph_1 1, 0, 0, 0, 1, 0
		Pen Ac_Textpen_1
		Style "TextStyle"
		Txt_Val_Text
	Endparagraph

	Textblock _Textblock_1 0, 5, 0, Ac_Textcharwidthfactor_1, Ac_Textcharspacefactor_1, 1, _Paragraph_1
	Richtext2 0, 0, _Textblock_1



	_Paragraph_2 = "paragraph_2"
	_Textblock_2 = "textBlock_2"

	Paragraph _Paragraph_2 1, 0, 0, 0, 1, 0
		Pen Ac_Textpen_1
		Style "TextStyle"
		"&amp;lt;PROPERTY-0922861A-007D-418E-BA7F-DC356B30AB95&amp;gt;"
	Endparagraph

	Textblock _Textblock_2 0, 5, 0, Ac_Textcharwidthfactor_1, Ac_Textcharspacefactor_1, 1, _Paragraph_2
	Richtext2 0, 1, _Textblock_2


If Not(Label_Has_Pointer) Then Del 1
&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 17 Apr 2025 03:37:14 GMT</pubDate>
    <dc:creator>NMK195</dc:creator>
    <dc:date>2025-04-17T03:37:14Z</dc:date>
    <item>
      <title>The value of the OPENING_SILLHEIGHT_VALUES variable in the label is incorrect</title>
      <link>https://community.graphisoft.com/t5/GDL/The-value-of-the-OPENING-SILLHEIGHT-VALUES-variable-in-the-label/m-p/659770#M7619</link>
      <description>&lt;P class=""&gt;Hello everyone,&lt;/P&gt;&lt;P class=""&gt;As noted in the subject line, when I write a label to retrieve the value of the variable OPENING_SILLHEIGHT_VALUES, the result is not what I expect. However, when I capture the same parameter using Autotext and save it, the value comes through correctly. Could someone please help me understand what I’m doing wrong?&lt;/P&gt;&lt;P class=""&gt;I have attached the relevant code snippets below:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;STRONG&gt;Textblock_1:&lt;/STRONG&gt; retrieving the value via OPENING_SILLHEIGHT_VALUES.toHomeStory&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;STRONG&gt;Textblock_2:&lt;/STRONG&gt; retrieving the “Sill Height to Home Story” value via Autotext&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P class=""&gt;Thank you in advance for your assistance!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NMK195_0-1744861022709.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/86002i17752732D910EC2F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NMK195_0-1744861022709.png" alt="NMK195_0-1744861022709.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Define Style{2} "TextStyle" Ac_Textfont_1, Ac_Textsize_1, Ac_Textstyle_1

If Not(Label_Has_Pointer) Then Add2 	Label_Position [2][1]	+	Label_Position [3][1], Label_Position [2][2]	+	Label_Position [3][2]

Txt_Val_Text = ""
if haskey(OPENING_SILLHEIGHT_VALUES.toHomeStory) Then Txt_Val_Text = Str(OPENING_SILLHEIGHT_VALUES.toHomeStory*1000, 1, 0)
	_Paragraph_1 = "paragraph_1"
	_Textblock_1 = "textBlock_1"

	Paragraph _Paragraph_1 1, 0, 0, 0, 1, 0
		Pen Ac_Textpen_1
		Style "TextStyle"
		Txt_Val_Text
	Endparagraph

	Textblock _Textblock_1 0, 5, 0, Ac_Textcharwidthfactor_1, Ac_Textcharspacefactor_1, 1, _Paragraph_1
	Richtext2 0, 0, _Textblock_1



	_Paragraph_2 = "paragraph_2"
	_Textblock_2 = "textBlock_2"

	Paragraph _Paragraph_2 1, 0, 0, 0, 1, 0
		Pen Ac_Textpen_1
		Style "TextStyle"
		"&amp;lt;PROPERTY-0922861A-007D-418E-BA7F-DC356B30AB95&amp;gt;"
	Endparagraph

	Textblock _Textblock_2 0, 5, 0, Ac_Textcharwidthfactor_1, Ac_Textcharspacefactor_1, 1, _Paragraph_2
	Richtext2 0, 1, _Textblock_2


If Not(Label_Has_Pointer) Then Del 1
&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Apr 2025 03:37:14 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/The-value-of-the-OPENING-SILLHEIGHT-VALUES-variable-in-the-label/m-p/659770#M7619</guid>
      <dc:creator>NMK195</dc:creator>
      <dc:date>2025-04-17T03:37:14Z</dc:date>
    </item>
    <item>
      <title>Re: The value of the OPENING_SILLHEIGHT_VALUES variable in the label is incorrect</title>
      <link>https://community.graphisoft.com/t5/GDL/The-value-of-the-OPENING-SILLHEIGHT-VALUES-variable-in-the-label/m-p/660836#M7643</link>
      <description>&lt;P class=""&gt;It has been two weeks, and I still haven't been able to resolve this issue.&lt;BR /&gt;Could anyone please help me?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Apr 2025 09:54:02 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/The-value-of-the-OPENING-SILLHEIGHT-VALUES-variable-in-the-label/m-p/660836#M7643</guid>
      <dc:creator>NMK195</dc:creator>
      <dc:date>2025-04-28T09:54:02Z</dc:date>
    </item>
  </channel>
</rss>

