<?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: Subassembly Composer - Point Codes in Civil 3D Forum</title>
    <link>https://forums.autodesk.com/t5/civil-3d-forum/subassembly-composer-point-codes/m-p/11366797#M77681</link>
    <description>&lt;P&gt;Hi &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/7006591"&gt;@kidznok&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Verify that the Variable Type is set correctly (String)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&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="RonaldBraez_0-1660825757451.png" style="width: 300px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1105376i161504BAB409140F/image-size/small?v=v2&amp;amp;px=200" role="button" title="RonaldBraez_0-1660825757451.png" alt="RonaldBraez_0-1660825757451.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;</description>
    <pubDate>Thu, 18 Aug 2022 12:43:17 GMT</pubDate>
    <dc:creator>RonaldBrañez</dc:creator>
    <dc:date>2022-08-18T12:43:17Z</dc:date>
    <item>
      <title>Subassembly Composer - Point Codes</title>
      <link>https://forums.autodesk.com/t5/civil-3d-forum/subassembly-composer-point-codes/m-p/10120799#M77676</link>
      <description>&lt;P&gt;Does anyone know if Subassembly Composer has some coding that allows a user to input a custom point code, but it will add to that custom point code depending on if the subassembly composer is on the right or left side?&lt;BR /&gt;&lt;BR /&gt;I am trying to avoid having a bunch of custom point codes that someone has to fill out and have the subassembly perform most of the work.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, I have a curb and gutter subassembly that when I am modeling the feature lines are crossing over the baseline and creating linework that is not correct.&amp;nbsp; My thinking is that if I had different enough point codes then the feature lines would be created from those unique point codes and wouldn't cross over each other.&lt;BR /&gt;&lt;BR /&gt;If this is not possible, that's fine I will simply add more input parameters.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Mar 2021 15:13:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-forum/subassembly-composer-point-codes/m-p/10120799#M77676</guid>
      <dc:creator>seanp.fahey</dc:creator>
      <dc:date>2021-03-01T15:13:17Z</dc:date>
    </item>
    <item>
      <title>Re: Subassembly Composer - Point Codes</title>
      <link>https://forums.autodesk.com/t5/civil-3d-forum/subassembly-composer-point-codes/m-p/10121390#M77677</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3153227"&gt;@seanp.fahey&lt;/a&gt;,&amp;nbsp;I would create a &lt;STRONG&gt;String Variable&lt;/STRONG&gt; to keep the custom code that the user will enter. The user would have to enter that code as a &lt;STRONG&gt;String Input Parameter&lt;/STRONG&gt;. Then, the assignation process for the code would depend on an "&lt;STRONG&gt;If condition&lt;/STRONG&gt;" that would evaluate if the subassembly is inserted on the left or right side of the main assembly (&lt;STRONG&gt;Side=Right&lt;/STRONG&gt;). Depending on this, the value for the variable would be set using a "&lt;STRONG&gt;Set Variable Value&lt;/STRONG&gt;," and finally, the variable would have to be placed into the "&lt;STRONG&gt;point code&lt;/STRONG&gt;" field of the point that you want to code.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Custom Code" style="width: 644px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/887132iD6E0336C6B1E981D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Custom Code.jpg" alt="Custom Code" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Custom Code&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Left side" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/887134iDBE21D530EE011D5/image-size/large?v=v2&amp;amp;px=999" role="button" title="Custom code 2.jpg" alt="Left side" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Left side&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Right side" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/887135i9798903A3DBFB379/image-size/large?v=v2&amp;amp;px=999" role="button" title="Custom code 3.jpg" alt="Right side" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Right side&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this helps. I attach the PKT file as a compressed ZIP for you to check what I did.&lt;/P&gt;&lt;P&gt;Best regards!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Mar 2021 18:36:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-forum/subassembly-composer-point-codes/m-p/10121390#M77677</guid>
      <dc:creator>ecfernandez</dc:creator>
      <dc:date>2021-03-01T18:36:05Z</dc:date>
    </item>
    <item>
      <title>Re: Subassembly Composer - Point Codes</title>
      <link>https://forums.autodesk.com/t5/civil-3d-forum/subassembly-composer-point-codes/m-p/10121578#M77678</link>
      <description>&lt;P&gt;&lt;SPAN class="VIiyi"&gt;&lt;SPAN class="JLqJ4b ChMk0b"&gt;&lt;SPAN&gt;Hi &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3153227"&gt;@seanp.fahey&lt;/a&gt;&amp;nbsp;,&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="VIiyi"&gt;&lt;SPAN class="JLqJ4b ChMk0b"&gt;&lt;SPAN&gt;Adding to what &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3052528"&gt;@ecfernandez&lt;/a&gt; already said, you could also simply create the Define variables with the name CustomCodeVariable of type string, and in the default value, you could write the following code:&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;If (Side = Left, String.concat ("Left -", CustomCode), String.concat ("Right -", CustomCode))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="VIiyi"&gt;&lt;SPAN class="JLqJ4b ChMk0b"&gt;&lt;SPAN&gt;and continues with the corresponding geometry, assigning to the code box, the variable previously defined.&lt;/SPAN&gt;&lt;/SPAN&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="RonaldBrañez_1-1614627046648.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/887166iA23A892FA4A33FCB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RonaldBrañez_1-1614627046648.png" alt="RonaldBrañez_1-1614627046648.png" /&gt;&lt;/span&gt;&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="RonaldBrañez_2-1614627159061.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/887167i93A529112BF7A37C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RonaldBrañez_2-1614627159061.png" alt="RonaldBrañez_2-1614627159061.png" /&gt;&lt;/span&gt;&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="VIiyi"&gt;&lt;SPAN class="JLqJ4b ChMk0b"&gt;&lt;SPAN&gt;If this is not how you propose it (assign a side), and the subassembly follows an &lt;EM&gt;&lt;STRONG&gt;Offset Target Parameter&lt;/STRONG&gt;&lt;/EM&gt; which crosses the Base Line, then replace the CustomCodeVariable code with the following:&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;If (OffsetTargetParameter.Offset &amp;lt;0, String.concat ("Left -", CustomCode), String.concat ("Right -", CustomCode))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="VIiyi"&gt;&lt;SPAN class="JLqJ4b ChMk0b"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="VIiyi"&gt;&lt;SPAN class="JLqJ4b ChMk0b"&gt;&lt;SPAN&gt;and continues with the corresponding geometry, assigning to the code box, the variable previously defined.&lt;/SPAN&gt;&lt;/SPAN&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="RonaldBrañez_4-1614627327321.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/887169iF877DCBE582A65D3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RonaldBrañez_4-1614627327321.png" alt="RonaldBrañez_4-1614627327321.png" /&gt;&lt;/span&gt;&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="RonaldBrañez_5-1614627423546.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/887170i21734EE3CD3ECD16/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RonaldBrañez_5-1614627423546.png" alt="RonaldBrañez_5-1614627423546.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="VIiyi"&gt;&lt;SPAN class="JLqJ4b ChMk0b"&gt;&lt;SPAN&gt;I leave you both subassemblies so you can see them better.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Mar 2021 19:43:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-forum/subassembly-composer-point-codes/m-p/10121578#M77678</guid>
      <dc:creator>RonaldBrañez</dc:creator>
      <dc:date>2021-03-01T19:43:52Z</dc:date>
    </item>
    <item>
      <title>Re: Subassembly Composer - Point Codes</title>
      <link>https://forums.autodesk.com/t5/civil-3d-forum/subassembly-composer-point-codes/m-p/10158193#M77679</link>
      <description>Thank you, this was helpful in getting me going in the direction I wanted. More specifically it was nice to know the code needed.</description>
      <pubDate>Mon, 15 Mar 2021 17:17:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-forum/subassembly-composer-point-codes/m-p/10158193#M77679</guid>
      <dc:creator>seanp.fahey</dc:creator>
      <dc:date>2021-03-15T17:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: Subassembly Composer - Point Codes</title>
      <link>https://forums.autodesk.com/t5/civil-3d-forum/subassembly-composer-point-codes/m-p/11366195#M77680</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;Could you help me?&lt;BR /&gt;I would like to create Define Variable to returns full code for example:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kidznok_2-1660807142600.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1105261i35021D8A4AA1E605/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kidznok_2-1660807142600.png" alt="kidznok_2-1660807142600.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2022 07:21:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-forum/subassembly-composer-point-codes/m-p/11366195#M77680</guid>
      <dc:creator>kidznok</dc:creator>
      <dc:date>2022-08-18T07:21:16Z</dc:date>
    </item>
    <item>
      <title>Re: Subassembly Composer - Point Codes</title>
      <link>https://forums.autodesk.com/t5/civil-3d-forum/subassembly-composer-point-codes/m-p/11366797#M77681</link>
      <description>&lt;P&gt;Hi &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/7006591"&gt;@kidznok&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Verify that the Variable Type is set correctly (String)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&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="RonaldBraez_0-1660825757451.png" style="width: 300px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1105376i161504BAB409140F/image-size/small?v=v2&amp;amp;px=200" role="button" title="RonaldBraez_0-1660825757451.png" alt="RonaldBraez_0-1660825757451.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2022 12:43:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-forum/subassembly-composer-point-codes/m-p/11366797#M77681</guid>
      <dc:creator>RonaldBrañez</dc:creator>
      <dc:date>2022-08-18T12:43:17Z</dc:date>
    </item>
    <item>
      <title>Re: Subassembly Composer - Point Codes</title>
      <link>https://forums.autodesk.com/t5/civil-3d-forum/subassembly-composer-point-codes/m-p/11366819#M77682</link>
      <description>&lt;P&gt;I coincide with&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/7003360"&gt;@RonaldBrañez&lt;/a&gt;. Your&amp;nbsp;code line looks OK. Check the variable type you are using to make it work.&lt;/P&gt;&lt;P&gt;Best regards!&lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2022 12:51:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-forum/subassembly-composer-point-codes/m-p/11366819#M77682</guid>
      <dc:creator>ecfernandez</dc:creator>
      <dc:date>2022-08-18T12:51:27Z</dc:date>
    </item>
    <item>
      <title>Re: Subassembly Composer - Point Codes</title>
      <link>https://forums.autodesk.com/t5/civil-3d-forum/subassembly-composer-point-codes/m-p/11367195#M77683</link>
      <description>&lt;P&gt;I have sth like that&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kidznok_0-1660838776690.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1105452i3AFEBF2D25BE769E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kidznok_0-1660838776690.png" alt="kidznok_0-1660838776690.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;When I change Side to "zakres" like a option it works but with Side nope.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2022 16:18:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-forum/subassembly-composer-point-codes/m-p/11367195#M77683</guid>
      <dc:creator>kidznok</dc:creator>
      <dc:date>2022-08-18T16:18:01Z</dc:date>
    </item>
  </channel>
</rss>

