<?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: Expression Editor Help-Decimal Expression in Project data &amp; BIM</title>
    <link>https://community.graphisoft.com/t5/Project-data-BIM/Expression-Editor-Help-Decimal-Expression/m-p/695122#M15438</link>
    <description>&lt;P&gt;If you want to write a&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#3366FF"&gt;&lt;STRONG&gt;"&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;(double quote) character with a Property Expression, you can place a backslash in front of it like this:&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#3366FF"&gt;&lt;STRONG&gt;\"&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;and then Archicad will know that it is not the start or end of a string, but a literal double quote character.&lt;/P&gt;
&lt;P&gt;So, if you use the following for your Expression:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;CONCAT ( STR ( TAN ( Pitch ) * 12, 0 ), "\":12\"" )&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;you will get the desired result. For example:&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#3366FF"&gt;&lt;STRONG&gt;4":12"&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 06 Mar 2026 16:22:41 GMT</pubDate>
    <dc:creator>Laszlo Nagy</dc:creator>
    <dc:date>2026-03-06T16:22:41Z</dc:date>
    <item>
      <title>Expression Editor Help-Decimal Expression</title>
      <link>https://community.graphisoft.com/t5/Project-data-BIM/Expression-Editor-Help-Decimal-Expression/m-p/695030#M15428</link>
      <description>&lt;P&gt;I've got my properties set up for a company roof tag. The elements work perfect UNTIL I try to delete the decimals from the string conversion, it thinks I want to multiple by 0 and so all of my slopes are coming out 0:12. can someone please help me figure out what is wrong here? I've also changed it to a ; with same errors.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;the code that works is&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;CONCAT (STR (TAN (PITCH) * 12), '':12''"&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I should just be able to add (PITCH, 0) so that there are zero decimal points, but when I do that it tells me there are an unexpected number of expressions.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please help!&amp;nbsp;&lt;/P&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="Screenshot 2026-03-05 at 4.46.43 PM.png" style="width: 799px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/98075iEFD7E09DD3B68A7A/image-dimensions/799x421?v=v2" width="799" height="421" role="button" title="Screenshot 2026-03-05 at 4.46.43 PM.png" alt="Screenshot 2026-03-05 at 4.46.43 PM.png" /&gt;&lt;/span&gt;&lt;/P&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="Screenshot 2026-03-05 at 4.46.53 PM.png" style="width: 799px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/98074i122D59D1C60B741A/image-dimensions/799x421?v=v2" width="799" height="421" role="button" title="Screenshot 2026-03-05 at 4.46.53 PM.png" alt="Screenshot 2026-03-05 at 4.46.53 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier" color="grey"&gt;Operating system used: &lt;EM&gt;Mac Apple Silicon &lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;  &lt;/P&gt;</description>
      <pubDate>Fri, 06 Mar 2026 00:11:35 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Project-data-BIM/Expression-Editor-Help-Decimal-Expression/m-p/695030#M15428</guid>
      <dc:creator>JKL</dc:creator>
      <dc:date>2026-03-06T00:11:35Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Editor Help-Decimal Expression</title>
      <link>https://community.graphisoft.com/t5/Project-data-BIM/Expression-Editor-Help-Decimal-Expression/m-p/695035#M15429</link>
      <description>&lt;P&gt;This Expression of yours&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;CONCAT (STR (TAN (PITCH) * 12), '':12''"&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;is incorrect because&lt;/P&gt;
&lt;P&gt;1. After the comma (,) you have two single quotes,&lt;/P&gt;
&lt;P&gt;2. At the end, there are three quotes: two single quotes and then a double quote.&lt;/P&gt;
&lt;P&gt;So, the text &lt;STRONG&gt;:12&lt;/STRONG&gt; is surrounded by two single quotes on both sides instead of a double quote.&lt;/P&gt;
&lt;P&gt;You should have only 1 single quote, then 1 double quote, and it should have a closing parethesis (like on the screenshot).&lt;/P&gt;
&lt;P&gt;Something like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;CONCAT ( STR ( TAN ( Pitch ) * 12 ), ":12'" )&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or, if you want to specify deciman places:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;CONCAT ( STR ( TAN ( Pitch ) * 12, 4 ), ":12'" )&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 06 Mar 2026 00:30:31 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Project-data-BIM/Expression-Editor-Help-Decimal-Expression/m-p/695035#M15429</guid>
      <dc:creator>Laszlo Nagy</dc:creator>
      <dc:date>2026-03-06T00:30:31Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Editor Help-Decimal Expression</title>
      <link>https://community.graphisoft.com/t5/Project-data-BIM/Expression-Editor-Help-Decimal-Expression/m-p/695117#M15435</link>
      <description>&lt;P&gt;Thank you Laszlo, those are actually there on purpose and not effecting the expression-it is double ' to show " in the tag I am creating. So it is ' ' ". This is built into all of my expressions and this is the only one that is having trouble. It is when adding in the decimal placement. It looks like from your example above, I need to add it after the multiplication. I'll try that and see if it works!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Mar 2026 14:11:56 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Project-data-BIM/Expression-Editor-Help-Decimal-Expression/m-p/695117#M15435</guid>
      <dc:creator>JKL</dc:creator>
      <dc:date>2026-03-06T14:11:56Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Editor Help-Decimal Expression</title>
      <link>https://community.graphisoft.com/t5/Project-data-BIM/Expression-Editor-Help-Decimal-Expression/m-p/695119#M15436</link>
      <description>&lt;P&gt;Yes! That was exactly it. I didn't realize that decimal indicator would go after the expression! Beautiful!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is also the link for a wonderful video explaining how to get roof tags to show % or ratio!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=bWuSW_rt6GM&amp;amp;t=2258s" target="_blank" rel="noopener"&gt;https://www.youtube.com/watch?v=bWuSW_rt6GM&amp;amp;t=2258s&lt;/A&gt;&lt;/P&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="Screenshot 2026-03-06 at 8.15.37 AM.png" style="width: 999px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/98122iE7AA522AC8875800/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2026-03-06 at 8.15.37 AM.png" alt="Screenshot 2026-03-06 at 8.15.37 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Mar 2026 16:02:06 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Project-data-BIM/Expression-Editor-Help-Decimal-Expression/m-p/695119#M15436</guid>
      <dc:creator>JKL</dc:creator>
      <dc:date>2026-03-06T16:02:06Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Editor Help-Decimal Expression</title>
      <link>https://community.graphisoft.com/t5/Project-data-BIM/Expression-Editor-Help-Decimal-Expression/m-p/695122#M15438</link>
      <description>&lt;P&gt;If you want to write a&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#3366FF"&gt;&lt;STRONG&gt;"&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;(double quote) character with a Property Expression, you can place a backslash in front of it like this:&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#3366FF"&gt;&lt;STRONG&gt;\"&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;and then Archicad will know that it is not the start or end of a string, but a literal double quote character.&lt;/P&gt;
&lt;P&gt;So, if you use the following for your Expression:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;CONCAT ( STR ( TAN ( Pitch ) * 12, 0 ), "\":12\"" )&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;you will get the desired result. For example:&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#3366FF"&gt;&lt;STRONG&gt;4":12"&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Mar 2026 16:22:41 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Project-data-BIM/Expression-Editor-Help-Decimal-Expression/m-p/695122#M15438</guid>
      <dc:creator>Laszlo Nagy</dc:creator>
      <dc:date>2026-03-06T16:22:41Z</dc:date>
    </item>
  </channel>
</rss>

