<?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: Roof slope label in Project data &amp; BIM</title>
    <link>https://community.graphisoft.com/t5/Project-data-BIM/Roof-slope-label/m-p/370561#M9316</link>
    <description>&lt;P&gt;This is giving me a Syntax Error. When I jump to the last&amp;nbsp; valid character, it's right after CONCAT&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="reidweber_0-1676394323426.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/34327i8885F9D167D9A706/image-size/medium?v=v2&amp;amp;px=400" role="button" title="reidweber_0-1676394323426.png" alt="reidweber_0-1676394323426.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 14 Feb 2023 17:05:54 GMT</pubDate>
    <dc:creator>reidweber</dc:creator>
    <dc:date>2023-02-14T17:05:54Z</dc:date>
    <item>
      <title>Roof slope label</title>
      <link>https://community.graphisoft.com/t5/Project-data-BIM/Roof-slope-label/m-p/242972#M9312</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;I created a roof slope label with autotext using:&lt;BR /&gt;CONCAT ( STR ( TAN ( PITCH ) * 12, 0 ), "/12 - PITCH" )&lt;BR /&gt;which works except that for a low slope roof it will not show the fraction, IE 1/2"/12" is shown as 0"/12"&lt;/DIV&gt;</description>
      <pubDate>Wed, 18 Dec 2024 00:26:19 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Project-data-BIM/Roof-slope-label/m-p/242972#M9312</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-12-18T00:26:19Z</dc:date>
    </item>
    <item>
      <title>Re: Roof slope label</title>
      <link>https://community.graphisoft.com/t5/Project-data-BIM/Roof-slope-label/m-p/242973#M9313</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
This looks like a property expression, which is not GDL, but I guess it is rounding down to 0. I don't know if a property expression can be used to format a number as a dimension, probably not.&lt;BR /&gt;
&lt;BR /&gt;
In GDL you can use &lt;A href="http://gdl.graphisoft.com/reference-guide/functions#STR2_gdlcommand" target="_blank"&gt;STR{2}&lt;/A&gt; to format numbers as dimensions. REQUEST ("Linear_dimension" ...) can be used to get the format string that the user set in the work environment.</description>
      <pubDate>Mon, 08 Feb 2021 18:32:29 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Project-data-BIM/Roof-slope-label/m-p/242973#M9313</guid>
      <dc:creator>Peter Baksa</dc:creator>
      <dc:date>2021-02-08T18:32:29Z</dc:date>
    </item>
    <item>
      <title>Re: Roof slope label</title>
      <link>https://community.graphisoft.com/t5/Project-data-BIM/Roof-slope-label/m-p/242974#M9314</link>
      <description>If you assign the roof pitch using Autotext (#Pitch) in a label does it not display in your required units? &lt;BR /&gt;
I'm in metric so it may be a regional unit problem.</description>
      <pubDate>Mon, 08 Feb 2021 22:09:25 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Project-data-BIM/Roof-slope-label/m-p/242974#M9314</guid>
      <dc:creator>DGSketcher</dc:creator>
      <dc:date>2021-02-08T22:09:25Z</dc:date>
    </item>
    <item>
      <title>Re: Roof slope label</title>
      <link>https://community.graphisoft.com/t5/Project-data-BIM/Roof-slope-label/m-p/242975#M9315</link>
      <description>I played around with it and got a solution.&lt;BR /&gt;
There is an STRCALCUNIT function that formats a length with the work environment calculation units.&lt;BR /&gt;
The result of TAN has to be converted from a number to a length: 1 ft * TAN( {Property:Roof/Pitch} )&lt;BR /&gt;
STRCALCUNIT ( 1 ft * TAN ( {Property:Roof/Pitch} ) ) will give the number you need.&lt;BR /&gt;
&lt;BR /&gt;
CONCAT ( STRCALCUNIT ( 1 ft * TAN ( {Property:Roof/Pitch} ) ); "/12\"" ) is the concatenated expression, \" is needed to write an " inside a string. It renders a different character on the UI, but works.</description>
      <pubDate>Tue, 09 Feb 2021 08:01:13 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Project-data-BIM/Roof-slope-label/m-p/242975#M9315</guid>
      <dc:creator>Peter Baksa</dc:creator>
      <dc:date>2021-02-09T08:01:13Z</dc:date>
    </item>
    <item>
      <title>Re: Roof slope label</title>
      <link>https://community.graphisoft.com/t5/Project-data-BIM/Roof-slope-label/m-p/370561#M9316</link>
      <description>&lt;P&gt;This is giving me a Syntax Error. When I jump to the last&amp;nbsp; valid character, it's right after CONCAT&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="reidweber_0-1676394323426.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/34327i8885F9D167D9A706/image-size/medium?v=v2&amp;amp;px=400" role="button" title="reidweber_0-1676394323426.png" alt="reidweber_0-1676394323426.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2023 17:05:54 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Project-data-BIM/Roof-slope-label/m-p/370561#M9316</guid>
      <dc:creator>reidweber</dc:creator>
      <dc:date>2023-02-14T17:05:54Z</dc:date>
    </item>
    <item>
      <title>Re: Roof slope label</title>
      <link>https://community.graphisoft.com/t5/Project-data-BIM/Roof-slope-label/m-p/382186#M9317</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I'm having similar syntax error as reidweber. &amp;nbsp; Hoping to open the thread again to find a solution. &amp;nbsp;Rather than /12 I would like to put /1'-0" at the end of the expression. &amp;nbsp;Would that be .... /1\'\-\0\"")&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2023 20:47:56 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Project-data-BIM/Roof-slope-label/m-p/382186#M9317</guid>
      <dc:creator>lparke</dc:creator>
      <dc:date>2023-06-02T20:47:56Z</dc:date>
    </item>
    <item>
      <title>Re: Roof slope label</title>
      <link>https://community.graphisoft.com/t5/Project-data-BIM/Roof-slope-label/m-p/620785#M10810</link>
      <description>&lt;P&gt;The error at CONCAT is your local language setting of your system. You need to put a comma in the list of elements being operated on by the CONCAT. The person posting&amp;nbsp;&lt;SPAN&gt;CONCAT ( STRCALCUNIT ( 1 ft * TAN ( {Property:Roof/Pitch} ) ); "/12\"" ) is somewhere where they use a semicolon.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 03 Aug 2024 18:04:26 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Project-data-BIM/Roof-slope-label/m-p/620785#M10810</guid>
      <dc:creator>cmb</dc:creator>
      <dc:date>2024-08-03T18:04:26Z</dc:date>
    </item>
    <item>
      <title>Re: Roof slope label</title>
      <link>https://community.graphisoft.com/t5/Project-data-BIM/Roof-slope-label/m-p/620836#M10811</link>
      <description>&lt;P&gt;Here's an expression that will yield a label that looks like 3/4"/12". One issue that comes up if you have calculation units set to feet and inches is that the label will throw up a value like 0'-3/4", which isn't kosher.&lt;/P&gt;&lt;P&gt;The 0'- gets replaced with a null ("").&lt;/P&gt;&lt;P&gt;REPLACE ( CONCAT ( STRCALCUNIT ( 12 in * TAN ( {Property:Roof/Pitch} ) ), "/12\"" ), 1, 3, "" )&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;&lt;IMG src="http://community.graphisoft.com/t5/image/serverpage/image-id/69471i3FA680E30AFC15D3/image-size/large?v=v2&amp;amp;px=999" border="0" alt="Screenshot 2024-08-04 130706.png" title="Screenshot 2024-08-04 130706.png" /&gt;</description>
      <pubDate>Sun, 04 Aug 2024 20:07:58 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Project-data-BIM/Roof-slope-label/m-p/620836#M10811</guid>
      <dc:creator>cmb</dc:creator>
      <dc:date>2024-08-04T20:07:58Z</dc:date>
    </item>
  </channel>
</rss>

