<?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: Creating expression for cross slope in Civil 3D Forum</title>
    <link>https://forums.autodesk.com/t5/civil-3d-forum/creating-expression-for-cross-slope/m-p/8097030#M143884</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3851937"&gt;@chan230984&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't think you need expression for this. Just find which code set style to amend then find the link code being used and which label style is assigned, edit it and just decide if you like format to be run:rise or rise:run then change precision to be 1.00 instead of 0.01 and that should give you what you want.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See this &lt;A href="https://forums.autodesk.com/t5/civil-3d-forum/label-issue-for-code-set-style/td-p/6004295" target="_blank"&gt;&amp;lt;thread link&amp;gt;&lt;/A&gt;&amp;nbsp;As a guide and check out message 6 for sample image how to amend the label style for link code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Jowenn&lt;/P&gt;</description>
    <pubDate>Thu, 28 Jun 2018 09:01:22 GMT</pubDate>
    <dc:creator>Jowennl</dc:creator>
    <dc:date>2018-06-28T09:01:22Z</dc:date>
    <item>
      <title>Creating expression for cross slope</title>
      <link>https://forums.autodesk.com/t5/civil-3d-forum/creating-expression-for-cross-slope/m-p/8096895#M143883</link>
      <description>&lt;P&gt;HI..&lt;/P&gt;&lt;P&gt;Can any one help me out in creating Expression for section Code set style. I want the slope pattern on the cross section as 1:1 &lt;SPAN class=""&gt;not 1: 100.&lt;/SPAN&gt; since these two are in one code style. (Picture below)&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="Untitled.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/517020iAFE626384D154EC6/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled.png" alt="Untitled.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jun 2018 07:58:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-forum/creating-expression-for-cross-slope/m-p/8096895#M143883</guid>
      <dc:creator>chan230984</dc:creator>
      <dc:date>2018-06-28T07:58:31Z</dc:date>
    </item>
    <item>
      <title>Re: Creating expression for cross slope</title>
      <link>https://forums.autodesk.com/t5/civil-3d-forum/creating-expression-for-cross-slope/m-p/8097030#M143884</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3851937"&gt;@chan230984&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't think you need expression for this. Just find which code set style to amend then find the link code being used and which label style is assigned, edit it and just decide if you like format to be run:rise or rise:run then change precision to be 1.00 instead of 0.01 and that should give you what you want.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See this &lt;A href="https://forums.autodesk.com/t5/civil-3d-forum/label-issue-for-code-set-style/td-p/6004295" target="_blank"&gt;&amp;lt;thread link&amp;gt;&lt;/A&gt;&amp;nbsp;As a guide and check out message 6 for sample image how to amend the label style for link code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Jowenn&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jun 2018 09:01:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-forum/creating-expression-for-cross-slope/m-p/8097030#M143884</guid>
      <dc:creator>Jowennl</dc:creator>
      <dc:date>2018-06-28T09:01:22Z</dc:date>
    </item>
    <item>
      <title>Re: Creating expression for cross slope</title>
      <link>https://forums.autodesk.com/t5/civil-3d-forum/creating-expression-for-cross-slope/m-p/8097074#M143885</link>
      <description>&lt;P&gt;&amp;nbsp;i format to be run:rise or rise:run then change precision to be 1.00 instead of 0.01&lt;/P&gt;&lt;P&gt;but the Left has change 1:1 as it should be 1: 0.75.&lt;/P&gt;&lt;P&gt;&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="Untitled.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/517063iE9EA63AE263D2E80/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled.png" alt="Untitled.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jun 2018 09:14:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-forum/creating-expression-for-cross-slope/m-p/8097074#M143885</guid>
      <dc:creator>chan230984</dc:creator>
      <dc:date>2018-06-28T09:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: Creating expression for cross slope</title>
      <link>https://forums.autodesk.com/t5/civil-3d-forum/creating-expression-for-cross-slope/m-p/8097389#M143886</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3851937"&gt;@chan230984&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ok now yes I agree you need an expression. I though you want both to show as whole number. But if you want to show 2 precision and 0 precision. You can make something like this. Just decide if you like Rise:Run or Run:Rise. I just made a sample for Rise:Run similar to your image above. Please keep in mind I remove the negative sign and made your grade absolute value so it will&amp;nbsp;always show&amp;nbsp;positive grade value in this example.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please use the following formula:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NewGradeTrunc2P&lt;/STRONG&gt;&lt;BR /&gt;IF((ROUND(({Link Grade}-TRUNC({Link Grade}))*100)/100=1)+(ROUND(({Link Grade}-TRUNC({Link Grade}))*100)/100=0),-1,ABS({Link Grade}))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NewGradeTrunc0P&lt;/STRONG&gt;&lt;BR /&gt;IF((ROUND(({Link Grade}-TRUNC({Link Grade}))*100)/100=1)+(ROUND(({Link Grade}-TRUNC({Link Grade}))*100)/100=0),ABS({Link Grade}),-1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;See images below as a step by step guide:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="001" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/517122i5A76675C00615A85/image-size/large?v=v2&amp;amp;px=999" role="button" title="001.png" alt="001" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;001&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="002" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/517123i2DE5E53F3ECBBD86/image-size/large?v=v2&amp;amp;px=999" role="button" title="002.png" alt="002" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;002&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="003" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/517124i448817DB64B26D67/image-size/large?v=v2&amp;amp;px=999" role="button" title="003.png" alt="003" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;003&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="004" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/517125i828BDFD63E077ED9/image-size/large?v=v2&amp;amp;px=999" role="button" title="004.png" alt="004" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;004&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="005" style="width: 368px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/517126iDF50A9CF14D168A4/image-size/large?v=v2&amp;amp;px=999" role="button" title="005.png" alt="005" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;005&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Jowenn&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jun 2018 11:42:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-forum/creating-expression-for-cross-slope/m-p/8097389#M143886</guid>
      <dc:creator>Jowennl</dc:creator>
      <dc:date>2018-06-28T11:42:51Z</dc:date>
    </item>
    <item>
      <title>Re: Creating expression for cross slope</title>
      <link>https://forums.autodesk.com/t5/civil-3d-forum/creating-expression-for-cross-slope/m-p/8097502#M143887</link>
      <description>&lt;P&gt;&lt;SPAN class="short_text"&gt;&lt;SPAN class=""&gt;Thank you very much.&lt;/SPAN&gt;&lt;/SPAN&gt; your help My job is to investigate fast.&lt;img id="heart" class="emoticon emoticon-heart" src="https://forums.autodesk.com/i/smilies/16x16_heart.png" alt="Heart" title="Heart" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jun 2018 12:26:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-forum/creating-expression-for-cross-slope/m-p/8097502#M143887</guid>
      <dc:creator>chan230984</dc:creator>
      <dc:date>2018-06-28T12:26:01Z</dc:date>
    </item>
  </channel>
</rss>

