<?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 macro loop help me in PowerMill Forum</title>
    <link>https://forums.autodesk.com/t5/powermill-forum/macro-loop-help-me/m-p/9503339#M11707</link>
    <description>&lt;P&gt;&lt;FONT color="#0000FF"&gt;Besides performing a renaming loop, is it possible to do a macro loop? Everyone please help me do that, thank you!&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="triphuog_0-1589007131596.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/767700i7F23B73A47EF5C4C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="triphuog_0-1589007131596.png" alt="triphuog_0-1589007131596.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;I want to cut the tool automatically with the toolpath foder. and each foder has a separate boundary&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ACTIVATE Toolpath "I1 R2"&lt;BR /&gt;QUIT FORM TPLIMIT&lt;BR /&gt;EDIT TOOLPATH LIMIT BOUNDARY&lt;BR /&gt;EDIT TOOLPATH LIMIT DELETE Y&lt;BR /&gt;EDIT TOOLPATH LIMIT BOUNDPLANEOPTIONS BESTFIT_PLANE&lt;BR /&gt;EDIT TOOLPATH LIMIT KEEP INNER&lt;BR /&gt;EDIT TOOLPATH LIMIT BOUNDARYNAME "IN-OUT"&lt;BR /&gt;EDIT TOOLPATH LIMIT BOUNDPLANEOPTIONS ACTIVE_WORKPLANE&lt;BR /&gt;ACTIVATE Workplane "B"&lt;BR /&gt;PROCESS TPLIMIT&lt;BR /&gt;LIMIT CANCEL&lt;/P&gt;&lt;P&gt;ACTIVATE Toolpath "I2 R0,5"&lt;BR /&gt;QUIT FORM TPLIMIT&lt;BR /&gt;EDIT TOOLPATH LIMIT BOUNDARY&lt;BR /&gt;EDIT TOOLPATH LIMIT DELETE Y&lt;BR /&gt;EDIT TOOLPATH LIMIT BOUNDPLANEOPTIONS BESTFIT_PLANE&lt;BR /&gt;EDIT TOOLPATH LIMIT KEEP INNER&lt;BR /&gt;EDIT TOOLPATH LIMIT BOUNDARYNAME "IN-OUT"&lt;BR /&gt;EDIT TOOLPATH LIMIT BOUNDPLANEOPTIONS ACTIVE_WORKPLANE&lt;BR /&gt;ACTIVATE Workplane "B"&lt;BR /&gt;PROCESS TPLIMIT&lt;BR /&gt;LIMIT CANCEL&lt;/P&gt;&lt;P&gt;ACTIVATE Toolpath "I3 R0,25"&lt;BR /&gt;QUIT FORM TPLIMIT&lt;BR /&gt;EDIT TOOLPATH LIMIT BOUNDARY&lt;BR /&gt;EDIT TOOLPATH LIMIT DELETE Y&lt;BR /&gt;EDIT TOOLPATH LIMIT BOUNDPLANEOPTIONS BESTFIT_PLANE&lt;BR /&gt;EDIT TOOLPATH LIMIT KEEP INNER&lt;BR /&gt;EDIT TOOLPATH LIMIT BOUNDARYNAME "IN-OUT"&lt;BR /&gt;EDIT TOOLPATH LIMIT BOUNDPLANEOPTIONS ACTIVE_WORKPLANE&lt;BR /&gt;ACTIVATE Workplane "B"&lt;BR /&gt;PROCESS TPLIMIT&lt;BR /&gt;LIMIT CANCEL&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;ACTIVATE FOLDER "Toolpath\H"&lt;/P&gt;&lt;P&gt;ACTIVATE Toolpath "H1 R2"&lt;BR /&gt;QUIT FORM TPLIMIT&lt;BR /&gt;EDIT TOOLPATH LIMIT BOUNDARY&lt;BR /&gt;EDIT TOOLPATH LIMIT DELETE Y&lt;BR /&gt;EDIT TOOLPATH LIMIT BOUNDPLANEOPTIONS BESTFIT_PLANE&lt;BR /&gt;EDIT TOOLPATH LIMIT KEEP INNER&lt;BR /&gt;EDIT TOOLPATH LIMIT BOUNDARYNAME "HEEL-TOE"&lt;BR /&gt;EDIT TOOLPATH LIMIT BOUNDPLANEOPTIONS ACTIVE_WORKPLANE&lt;BR /&gt;ACTIVATE Workplane "B"&lt;BR /&gt;PROCESS TPLIMIT&lt;BR /&gt;LIMIT CANCEL&lt;/P&gt;&lt;P&gt;ACTIVATE Toolpath "H2 R0,5"&lt;BR /&gt;QUIT FORM TPLIMIT&lt;BR /&gt;EDIT TOOLPATH LIMIT BOUNDARY&lt;BR /&gt;EDIT TOOLPATH LIMIT DELETE Y&lt;BR /&gt;EDIT TOOLPATH LIMIT BOUNDPLANEOPTIONS BESTFIT_PLANE&lt;BR /&gt;EDIT TOOLPATH LIMIT KEEP INNER&lt;BR /&gt;EDIT TOOLPATH LIMIT BOUNDARYNAME "HEEL-TOE"&lt;BR /&gt;EDIT TOOLPATH LIMIT BOUNDPLANEOPTIONS ACTIVE_WORKPLANE&lt;BR /&gt;ACTIVATE Workplane "B"&lt;BR /&gt;PROCESS TPLIMIT&lt;BR /&gt;LIMIT CANCEL&lt;/P&gt;&lt;P&gt;ACTIVATE Toolpath "H3 R0,25"&lt;BR /&gt;QUIT FORM TPLIMIT&lt;BR /&gt;EDIT TOOLPATH LIMIT BOUNDARY&lt;BR /&gt;EDIT TOOLPATH LIMIT DELETE Y&lt;BR /&gt;EDIT TOOLPATH LIMIT BOUNDPLANEOPTIONS BESTFIT_PLANE&lt;BR /&gt;EDIT TOOLPATH LIMIT KEEP INNER&lt;BR /&gt;EDIT TOOLPATH LIMIT BOUNDARYNAME "HEEL-TOE"&lt;BR /&gt;EDIT TOOLPATH LIMIT BOUNDPLANEOPTIONS ACTIVE_WORKPLANE&lt;BR /&gt;ACTIVATE Workplane "B"&lt;BR /&gt;PROCESS TPLIMIT&lt;BR /&gt;LIMIT CANCEL&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 09 May 2020 06:58:34 GMT</pubDate>
    <dc:creator>triphuog</dc:creator>
    <dc:date>2020-05-09T06:58:34Z</dc:date>
    <item>
      <title>macro loop help me</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/macro-loop-help-me/m-p/9503339#M11707</link>
      <description>&lt;P&gt;&lt;FONT color="#0000FF"&gt;Besides performing a renaming loop, is it possible to do a macro loop? Everyone please help me do that, thank you!&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="triphuog_0-1589007131596.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/767700i7F23B73A47EF5C4C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="triphuog_0-1589007131596.png" alt="triphuog_0-1589007131596.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;I want to cut the tool automatically with the toolpath foder. and each foder has a separate boundary&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ACTIVATE Toolpath "I1 R2"&lt;BR /&gt;QUIT FORM TPLIMIT&lt;BR /&gt;EDIT TOOLPATH LIMIT BOUNDARY&lt;BR /&gt;EDIT TOOLPATH LIMIT DELETE Y&lt;BR /&gt;EDIT TOOLPATH LIMIT BOUNDPLANEOPTIONS BESTFIT_PLANE&lt;BR /&gt;EDIT TOOLPATH LIMIT KEEP INNER&lt;BR /&gt;EDIT TOOLPATH LIMIT BOUNDARYNAME "IN-OUT"&lt;BR /&gt;EDIT TOOLPATH LIMIT BOUNDPLANEOPTIONS ACTIVE_WORKPLANE&lt;BR /&gt;ACTIVATE Workplane "B"&lt;BR /&gt;PROCESS TPLIMIT&lt;BR /&gt;LIMIT CANCEL&lt;/P&gt;&lt;P&gt;ACTIVATE Toolpath "I2 R0,5"&lt;BR /&gt;QUIT FORM TPLIMIT&lt;BR /&gt;EDIT TOOLPATH LIMIT BOUNDARY&lt;BR /&gt;EDIT TOOLPATH LIMIT DELETE Y&lt;BR /&gt;EDIT TOOLPATH LIMIT BOUNDPLANEOPTIONS BESTFIT_PLANE&lt;BR /&gt;EDIT TOOLPATH LIMIT KEEP INNER&lt;BR /&gt;EDIT TOOLPATH LIMIT BOUNDARYNAME "IN-OUT"&lt;BR /&gt;EDIT TOOLPATH LIMIT BOUNDPLANEOPTIONS ACTIVE_WORKPLANE&lt;BR /&gt;ACTIVATE Workplane "B"&lt;BR /&gt;PROCESS TPLIMIT&lt;BR /&gt;LIMIT CANCEL&lt;/P&gt;&lt;P&gt;ACTIVATE Toolpath "I3 R0,25"&lt;BR /&gt;QUIT FORM TPLIMIT&lt;BR /&gt;EDIT TOOLPATH LIMIT BOUNDARY&lt;BR /&gt;EDIT TOOLPATH LIMIT DELETE Y&lt;BR /&gt;EDIT TOOLPATH LIMIT BOUNDPLANEOPTIONS BESTFIT_PLANE&lt;BR /&gt;EDIT TOOLPATH LIMIT KEEP INNER&lt;BR /&gt;EDIT TOOLPATH LIMIT BOUNDARYNAME "IN-OUT"&lt;BR /&gt;EDIT TOOLPATH LIMIT BOUNDPLANEOPTIONS ACTIVE_WORKPLANE&lt;BR /&gt;ACTIVATE Workplane "B"&lt;BR /&gt;PROCESS TPLIMIT&lt;BR /&gt;LIMIT CANCEL&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;ACTIVATE FOLDER "Toolpath\H"&lt;/P&gt;&lt;P&gt;ACTIVATE Toolpath "H1 R2"&lt;BR /&gt;QUIT FORM TPLIMIT&lt;BR /&gt;EDIT TOOLPATH LIMIT BOUNDARY&lt;BR /&gt;EDIT TOOLPATH LIMIT DELETE Y&lt;BR /&gt;EDIT TOOLPATH LIMIT BOUNDPLANEOPTIONS BESTFIT_PLANE&lt;BR /&gt;EDIT TOOLPATH LIMIT KEEP INNER&lt;BR /&gt;EDIT TOOLPATH LIMIT BOUNDARYNAME "HEEL-TOE"&lt;BR /&gt;EDIT TOOLPATH LIMIT BOUNDPLANEOPTIONS ACTIVE_WORKPLANE&lt;BR /&gt;ACTIVATE Workplane "B"&lt;BR /&gt;PROCESS TPLIMIT&lt;BR /&gt;LIMIT CANCEL&lt;/P&gt;&lt;P&gt;ACTIVATE Toolpath "H2 R0,5"&lt;BR /&gt;QUIT FORM TPLIMIT&lt;BR /&gt;EDIT TOOLPATH LIMIT BOUNDARY&lt;BR /&gt;EDIT TOOLPATH LIMIT DELETE Y&lt;BR /&gt;EDIT TOOLPATH LIMIT BOUNDPLANEOPTIONS BESTFIT_PLANE&lt;BR /&gt;EDIT TOOLPATH LIMIT KEEP INNER&lt;BR /&gt;EDIT TOOLPATH LIMIT BOUNDARYNAME "HEEL-TOE"&lt;BR /&gt;EDIT TOOLPATH LIMIT BOUNDPLANEOPTIONS ACTIVE_WORKPLANE&lt;BR /&gt;ACTIVATE Workplane "B"&lt;BR /&gt;PROCESS TPLIMIT&lt;BR /&gt;LIMIT CANCEL&lt;/P&gt;&lt;P&gt;ACTIVATE Toolpath "H3 R0,25"&lt;BR /&gt;QUIT FORM TPLIMIT&lt;BR /&gt;EDIT TOOLPATH LIMIT BOUNDARY&lt;BR /&gt;EDIT TOOLPATH LIMIT DELETE Y&lt;BR /&gt;EDIT TOOLPATH LIMIT BOUNDPLANEOPTIONS BESTFIT_PLANE&lt;BR /&gt;EDIT TOOLPATH LIMIT KEEP INNER&lt;BR /&gt;EDIT TOOLPATH LIMIT BOUNDARYNAME "HEEL-TOE"&lt;BR /&gt;EDIT TOOLPATH LIMIT BOUNDPLANEOPTIONS ACTIVE_WORKPLANE&lt;BR /&gt;ACTIVATE Workplane "B"&lt;BR /&gt;PROCESS TPLIMIT&lt;BR /&gt;LIMIT CANCEL&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 09 May 2020 06:58:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/macro-loop-help-me/m-p/9503339#M11707</guid>
      <dc:creator>triphuog</dc:creator>
      <dc:date>2020-05-09T06:58:34Z</dc:date>
    </item>
    <item>
      <title>Re: macro loop help me</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/macro-loop-help-me/m-p/9522362#M11708</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/9044826"&gt;@triphuog&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;FOREACH tp IN folder('Toolpath\I') {&lt;BR /&gt;ACTIVATE TOOLPATH $tp.Name&lt;BR /&gt;STRING name = $tp.Name&lt;BR /&gt;STRING NewName = $tp.Name + '___OLD'&lt;BR /&gt;RENAME TOOLPATH $name $NewName&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;FOREACH tp IN folder('Toolpath\H') {&lt;BR /&gt;ACTIVATE TOOLPATH $tp.Name&lt;BR /&gt;STRING name = $tp.Name&lt;BR /&gt;STRING NewName = $tp.Name + '___OLD'&lt;BR /&gt;RENAME TOOLPATH $name $NewName&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This macro will loop through all the programs in Toolpaths, folder 'I' and folder 'H' and rename the programs with '___OLD'&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 17 May 2020 19:30:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/macro-loop-help-me/m-p/9522362#M11708</guid>
      <dc:creator>lee_sanders</dc:creator>
      <dc:date>2020-05-17T19:30:05Z</dc:date>
    </item>
  </channel>
</rss>

