<?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: getting value from list in PowerMill Forum</title>
    <link>https://forums.autodesk.com/t5/powermill-forum/getting-value-from-list/m-p/10496088#M8180</link>
    <description>&lt;P&gt;replace:&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;real pick = $Comp_Options[$P]&lt;/LI-CODE&gt;
&lt;P&gt;by:&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;real pick = REAL($Comp_Options[$id])&lt;/LI-CODE&gt;</description>
    <pubDate>Mon, 26 Jul 2021 10:35:03 GMT</pubDate>
    <dc:creator>rafael.sansao</dc:creator>
    <dc:date>2021-07-26T10:35:03Z</dc:date>
    <item>
      <title>getting value from list</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/getting-value-from-list/m-p/10496019#M8179</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to create a macro that will me copy a toolpath multiple times, and edit the radial thickness for comp options. Please dont ask we are not using comp within the cycle, its not an option.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Macro pause "Activate Toolpath for Comping"&lt;/P&gt;&lt;P&gt;string list $Comp_Options = {'-0.02', '-0.03', '-0.04', '-0.05', '+0.02', '+0.03', '+0.04', '+0.05'}&lt;BR /&gt;int List P = input choice multiple $Comp_Options "Select options"&lt;/P&gt;&lt;P&gt;FOREACH id IN P {&lt;BR /&gt;real pick = $Comp_Options[$P]&lt;BR /&gt;COPY TOOLPATH ;&lt;BR /&gt;ACTIVATE TOOLPATH #&lt;BR /&gt;EDIT TOOLPATH ; RECYCLE&lt;BR /&gt;EDIT PAR 'UseAxialThickness' '1'&lt;BR /&gt;EDIT PAR 'AxialThickness' "0.0"&lt;BR /&gt;EDIT PAR 'Thickness' $Pick&lt;BR /&gt;EDIT TOOLPATH ; CALCULATE&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am looking to pick multiple values, which works, then loop with a Foreach, which works, but i need to be able to read the values that i selected from the list to use as a REAL value parameter to edit the TP thickness with.&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jul 2021 10:08:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/getting-value-from-list/m-p/10496019#M8179</guid>
      <dc:creator>kevin.hammond3WX4X</dc:creator>
      <dc:date>2021-07-26T10:08:55Z</dc:date>
    </item>
    <item>
      <title>Re: getting value from list</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/getting-value-from-list/m-p/10496088#M8180</link>
      <description>&lt;P&gt;replace:&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;real pick = $Comp_Options[$P]&lt;/LI-CODE&gt;
&lt;P&gt;by:&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;real pick = REAL($Comp_Options[$id])&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 26 Jul 2021 10:35:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/getting-value-from-list/m-p/10496088#M8180</guid>
      <dc:creator>rafael.sansao</dc:creator>
      <dc:date>2021-07-26T10:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: getting value from list</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/getting-value-from-list/m-p/10496153#M8181</link>
      <description>&lt;P&gt;Works as I need, thank you &lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jul 2021 10:59:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/getting-value-from-list/m-p/10496153#M8181</guid>
      <dc:creator>kevin.hammond3WX4X</dc:creator>
      <dc:date>2021-07-26T10:59:44Z</dc:date>
    </item>
  </channel>
</rss>

