<?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 Subassembly Composer: Testing NESTED IF () AND () expression for variable code to shapecode ouput in Civil 3D Forum</title>
    <link>https://forums.autodesk.com/t5/civil-3d-forum/subassembly-composer-testing-nested-if-and-expression-for/m-p/12640546#M20060</link>
    <description>&lt;P&gt;Hello Everybody,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want also make a .pkt file/subassembly based on decisions.&lt;/P&gt;&lt;P&gt;To be more detailed, i want to put a code in the shape witch is based on different factors that will be determined in Civil3d by inputparameters. So one combination off that factors needs to give one unique code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But the use of the "IF" and "AND" in de expression editor doesnt work in my pkt file...anyone knows why this is giving an error? The error message says (translated from dutch) "Cannot derive a general type because multiple types are possible"&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="tom_cools63N7X_0-1710423534828.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1337106i855FD6A268F4C63E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tom_cools63N7X_0-1710423534828.png" alt="tom_cools63N7X_0-1710423534828.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I attached the pkt file also&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many tnx already if you are watching this and would give a solution for this problem!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Grtz Tom Cools&lt;/P&gt;</description>
    <pubDate>Thu, 14 Mar 2024 13:41:09 GMT</pubDate>
    <dc:creator>tom_cools63N7X</dc:creator>
    <dc:date>2024-03-14T13:41:09Z</dc:date>
    <item>
      <title>Subassembly Composer: Testing NESTED IF () AND () expression for variable code to shapecode ouput</title>
      <link>https://forums.autodesk.com/t5/civil-3d-forum/subassembly-composer-testing-nested-if-and-expression-for/m-p/12640546#M20060</link>
      <description>&lt;P&gt;Hello Everybody,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want also make a .pkt file/subassembly based on decisions.&lt;/P&gt;&lt;P&gt;To be more detailed, i want to put a code in the shape witch is based on different factors that will be determined in Civil3d by inputparameters. So one combination off that factors needs to give one unique code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But the use of the "IF" and "AND" in de expression editor doesnt work in my pkt file...anyone knows why this is giving an error? The error message says (translated from dutch) "Cannot derive a general type because multiple types are possible"&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="tom_cools63N7X_0-1710423534828.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1337106i855FD6A268F4C63E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tom_cools63N7X_0-1710423534828.png" alt="tom_cools63N7X_0-1710423534828.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I attached the pkt file also&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many tnx already if you are watching this and would give a solution for this problem!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Grtz Tom Cools&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2024 13:41:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-forum/subassembly-composer-testing-nested-if-and-expression-for/m-p/12640546#M20060</guid>
      <dc:creator>tom_cools63N7X</dc:creator>
      <dc:date>2024-03-14T13:41:09Z</dc:date>
    </item>
    <item>
      <title>Re: Subassembly Composer: Testing NESTED IF () AND () expression for variable code to shapecode ouput</title>
      <link>https://forums.autodesk.com/t5/civil-3d-forum/subassembly-composer-testing-nested-if-and-expression-for/m-p/12640580#M20061</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/13383740"&gt;@tom_cools63N7X&lt;/a&gt;, the error is there because you are placing zeros "0" at the end. That makes the program identify many different variable types possible. You defined your variable as "&lt;STRONG&gt;string&lt;/STRONG&gt;," so if you wanted to keep your "0," you should use Ctype to change the number to string.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I removed the zeros and then your condition worked. Take a look&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="ecfernandez_0-1710424770533.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1337113iA66C8949E4EF568F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ecfernandez_0-1710424770533.png" alt="ecfernandez_0-1710424770533.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I hope this helps. Best regards!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2024 13:59:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-forum/subassembly-composer-testing-nested-if-and-expression-for/m-p/12640580#M20061</guid>
      <dc:creator>ecfernandez</dc:creator>
      <dc:date>2024-03-14T13:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: Subassembly Composer: Testing NESTED IF () AND () expression for variable code to shapecode ouput</title>
      <link>https://forums.autodesk.com/t5/civil-3d-forum/subassembly-composer-testing-nested-if-and-expression-for/m-p/12640595#M20062</link>
      <description>&lt;P&gt;Wow tnx&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3052528"&gt;@ecfernandez&lt;/a&gt;&amp;nbsp;for the VERY fast respons and giving me the good solution!! Grtz &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2024 14:05:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-forum/subassembly-composer-testing-nested-if-and-expression-for/m-p/12640595#M20062</guid>
      <dc:creator>tom_cools63N7X</dc:creator>
      <dc:date>2024-03-14T14:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: Subassembly Composer: Testing NESTED IF () AND () expression for variable code to shapecode ouput</title>
      <link>https://forums.autodesk.com/t5/civil-3d-forum/subassembly-composer-testing-nested-if-and-expression-for/m-p/12640695#M20063</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/13383740"&gt;@tom_cools63N7X&lt;/a&gt;, I am happy to help. Best regards&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2024 14:46:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-forum/subassembly-composer-testing-nested-if-and-expression-for/m-p/12640695#M20063</guid>
      <dc:creator>ecfernandez</dc:creator>
      <dc:date>2024-03-14T14:46:01Z</dc:date>
    </item>
  </channel>
</rss>

