<?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: Code String code string to connect points with the same elevation ???? in Civil 3D Forum</title>
    <link>https://forums.autodesk.com/t5/civil-3d-forum/code-string-code-string-to-connect-points-with-the-same/m-p/13705839#M257309</link>
    <description>&lt;P&gt;this is the dwg and the sac file sir&amp;nbsp;&lt;BR /&gt;please help me&lt;/P&gt;</description>
    <pubDate>Tue, 01 Jul 2025 12:58:15 GMT</pubDate>
    <dc:creator>melantonuky</dc:creator>
    <dc:date>2025-07-01T12:58:15Z</dc:date>
    <item>
      <title>Code String code string to connect points with the same elevation ????</title>
      <link>https://forums.autodesk.com/t5/civil-3d-forum/code-string-code-string-to-connect-points-with-the-same/m-p/13702068#M257270</link>
      <description>&lt;P&gt;I have a problem like in the picture below, is there a code string to connect points with the same elevation ???&lt;BR /&gt;thank you&lt;/P&gt;</description>
      <pubDate>Sat, 28 Jun 2025 07:42:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-forum/code-string-code-string-to-connect-points-with-the-same/m-p/13702068#M257270</guid>
      <dc:creator>melantonuky</dc:creator>
      <dc:date>2025-06-28T07:42:17Z</dc:date>
    </item>
    <item>
      <title>Re: Code String code string to connect points with the same elevation ????</title>
      <link>https://forums.autodesk.com/t5/civil-3d-forum/code-string-code-string-to-connect-points-with-the-same/m-p/13704602#M257272</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/10658721"&gt;@melantonuky&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Di you try in feature line options of the corridor, to let the feature lines be inwards/outwards or to tick the box "add extra points"?&lt;/P&gt;&lt;P&gt;Can you share your file to take a look?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jun 2025 18:28:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-forum/code-string-code-string-to-connect-points-with-the-same/m-p/13704602#M257272</guid>
      <dc:creator>nkiakas</dc:creator>
      <dc:date>2025-06-30T18:28:55Z</dc:date>
    </item>
    <item>
      <title>Re: Code String code string to connect points with the same elevation ????</title>
      <link>https://forums.autodesk.com/t5/civil-3d-forum/code-string-code-string-to-connect-points-with-the-same/m-p/13705839#M257309</link>
      <description>&lt;P&gt;this is the dwg and the sac file sir&amp;nbsp;&lt;BR /&gt;please help me&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jul 2025 12:58:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-forum/code-string-code-string-to-connect-points-with-the-same/m-p/13705839#M257309</guid>
      <dc:creator>melantonuky</dc:creator>
      <dc:date>2025-07-01T12:58:15Z</dc:date>
    </item>
    <item>
      <title>Re: Code String code string to connect points with the same elevation ????</title>
      <link>https://forums.autodesk.com/t5/civil-3d-forum/code-string-code-string-to-connect-points-with-the-same/m-p/13705856#M257311</link>
      <description>&lt;P&gt;This sub assembly file works on straight road alignments only, when the road alignment is circle and curve, the slope corridor is not formed according to the existing elevation.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jul 2025 13:03:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-forum/code-string-code-string-to-connect-points-with-the-same/m-p/13705856#M257311</guid>
      <dc:creator>melantonuky</dc:creator>
      <dc:date>2025-07-01T13:03:00Z</dc:date>
    </item>
    <item>
      <title>Re: Code String code string to connect points with the same elevation ????</title>
      <link>https://forums.autodesk.com/t5/civil-3d-forum/code-string-code-string-to-connect-points-with-the-same/m-p/13706997#M257348</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/10658721"&gt;@melantonuky&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you want to remove the red and the blue to be added (see the attachment)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jul 2025 05:22:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-forum/code-string-code-string-to-connect-points-with-the-same/m-p/13706997#M257348</guid>
      <dc:creator>nkiakas</dc:creator>
      <dc:date>2025-07-02T05:22:36Z</dc:date>
    </item>
    <item>
      <title>Re: Code String code string to connect points with the same elevation ????</title>
      <link>https://forums.autodesk.com/t5/civil-3d-forum/code-string-code-string-to-connect-points-with-the-same/m-p/13707110#M257349</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/10658721"&gt;@melantonuky&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had a quick look in your file.&lt;/P&gt;&lt;P&gt;I found out that in decisions inside the SAC you used a lot the function P1.Elevation.&lt;/P&gt;&lt;P&gt;This function returns the absolute elevation of the Point, from the 0.0 (the mean sea level).&lt;/P&gt;&lt;P&gt;I think you have to use the function P1.DistanceToSurface(YourSurface). This function returns positive if P1 is above and negative value if P1 is below the surface.&lt;/P&gt;&lt;P&gt;Because you compare the value with a maxfill (or maxcut) the you have to use also the Math.ABS(YourValue), to return always the absolute value (always positive).&lt;/P&gt;&lt;P&gt;So, replace your code &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;P1.Elevation&lt;/STRONG&gt;&lt;/FONT&gt; with &lt;FONT color="#00FF00"&gt;&lt;STRONG&gt;Math.ABS(P1.DistanceToSurface(EG))&lt;/STRONG&gt;&lt;/FONT&gt;.&lt;/P&gt;&lt;P&gt;With this you will solve the problems with the connection of points with same elevations on the bench, but will create other connection problems in the bottom (see the attachment). These problems i think you can solve by working more, by assigning the proper codes, because i did not go deep your subassembly to check your codes.&lt;/P&gt;&lt;P&gt;Also i found out in the beginning of your subbassembly, that you add AP1 and AP2 to see if you are in a cut or fill. For this checking you can also use the &lt;STRONG&gt;DistanceToSurface&lt;/STRONG&gt; function only with one point.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jul 2025 06:55:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-forum/code-string-code-string-to-connect-points-with-the-same/m-p/13707110#M257349</guid>
      <dc:creator>nkiakas</dc:creator>
      <dc:date>2025-07-02T06:55:54Z</dc:date>
    </item>
    <item>
      <title>Re: Code String code string to connect points with the same elevation ????</title>
      <link>https://forums.autodesk.com/t5/civil-3d-forum/code-string-code-string-to-connect-points-with-the-same/m-p/13707630#M257354</link>
      <description>&lt;P&gt;Connect points of the same elevation? Wouldn't those be contours?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use User Contours if the elevation is not a standard major or minor increment.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jul 2025 11:43:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-forum/code-string-code-string-to-connect-points-with-the-same/m-p/13707630#M257354</guid>
      <dc:creator>tcorey</dc:creator>
      <dc:date>2025-07-02T11:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: Code String code string to connect points with the same elevation ????</title>
      <link>https://forums.autodesk.com/t5/civil-3d-forum/code-string-code-string-to-connect-points-with-the-same/m-p/13707852#M257359</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1547480i27DEDC73FBF03FBB/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.png" alt="2.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1547482i2788854462835B78/image-size/large?v=v2&amp;amp;px=999" role="button" title="3.png" alt="3.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1547484iC809C5C9EB5BC969/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jul 2025 13:36:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-forum/code-string-code-string-to-connect-points-with-the-same/m-p/13707852#M257359</guid>
      <dc:creator>melantonuky</dc:creator>
      <dc:date>2025-07-02T13:36:57Z</dc:date>
    </item>
    <item>
      <title>Re: Code String code string to connect points with the same elevation ????</title>
      <link>https://forums.autodesk.com/t5/civil-3d-forum/code-string-code-string-to-connect-points-with-the-same/m-p/13707864#M257360</link>
      <description>&lt;P&gt;What I mean is, the formed corridor does not connect the same elevation on the bench.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1547480i27DEDC73FBF03FBB/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.png" alt="2.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1547479i1CB03F1083DA3B7D/image-size/large?v=v2&amp;amp;px=999" role="button" title="3.png" alt="3.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1547481iC4A18D166EFD8E26/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jul 2025 13:39:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-forum/code-string-code-string-to-connect-points-with-the-same/m-p/13707864#M257360</guid>
      <dc:creator>melantonuky</dc:creator>
      <dc:date>2025-07-02T13:39:47Z</dc:date>
    </item>
  </channel>
</rss>

