<?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: Macro to check names of toolpath against the tool used in PowerMill Forum</title>
    <link>https://forums.autodesk.com/t5/powermill-forum/macro-to-check-names-of-toolpath-against-the-tool-used/m-p/13802776#M32859</link>
    <description>&lt;P&gt;When I set the correct values still gives me the error which it shouldn't&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 09 Sep 2025 11:11:57 GMT</pubDate>
    <dc:creator>Alir3za</dc:creator>
    <dc:date>2025-09-09T11:11:57Z</dc:date>
    <item>
      <title>Macro to check names of toolpath against the tool used</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/macro-to-check-names-of-toolpath-against-the-tool-used/m-p/13801658#M32855</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hey all.&lt;BR /&gt;I need a macro that checks the names of all toolpaths against the tool used in them and reports any mismatches with a warning or something similar. For example, if a toolpath is named "r4" but the tool used in it is "r3," it should report that.&amp;nbsp;&lt;BR /&gt;&amp;nbsp;Thank in advance for your help.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Sep 2025 19:15:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/macro-to-check-names-of-toolpath-against-the-tool-used/m-p/13801658#M32855</guid>
      <dc:creator>Alir3za</dc:creator>
      <dc:date>2025-09-08T19:15:15Z</dc:date>
    </item>
    <item>
      <title>Re: Macro to check names of toolpath against the tool used</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/macro-to-check-names-of-toolpath-against-the-tool-used/m-p/13802408#M32856</link>
      <description>&lt;P&gt;Try this code :&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;String  msg = ""
FOREACH tp IN folder('toolpath') {
if $tp.name != $tp.tool.name {
$msg = $msg +  crlf + $tp.name
}
}

if $msg != "" {
$msg = "The list of toolpaths which do not match the tool:" + $msg
message error $msg
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Sep 2025 08:13:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/macro-to-check-names-of-toolpath-against-the-tool-used/m-p/13802408#M32856</guid>
      <dc:creator>nguyenthinhvt95</dc:creator>
      <dc:date>2025-09-09T08:13:27Z</dc:date>
    </item>
    <item>
      <title>Re: Macro to check names of toolpath against the tool used</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/macro-to-check-names-of-toolpath-against-the-tool-used/m-p/13802776#M32859</link>
      <description>&lt;P&gt;When I set the correct values still gives me the error which it shouldn't&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Sep 2025 11:11:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/macro-to-check-names-of-toolpath-against-the-tool-used/m-p/13802776#M32859</guid>
      <dc:creator>Alir3za</dc:creator>
      <dc:date>2025-09-09T11:11:57Z</dc:date>
    </item>
    <item>
      <title>Re: Macro to check names of toolpath against the tool used</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/macro-to-check-names-of-toolpath-against-the-tool-used/m-p/13803899#M32862</link>
      <description>&lt;P&gt;could you please take some picture of the error you get?&lt;/P&gt;</description>
      <pubDate>Wed, 10 Sep 2025 01:13:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/macro-to-check-names-of-toolpath-against-the-tool-used/m-p/13803899#M32862</guid>
      <dc:creator>nguyenthinhvt95</dc:creator>
      <dc:date>2025-09-10T01:13:15Z</dc:date>
    </item>
  </channel>
</rss>

