<?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: Quickly select all tool paths in PowerMill Forum</title>
    <link>https://forums.autodesk.com/t5/powermill-forum/quickly-select-all-tool-paths/m-p/10634798#M7812</link>
    <description>This works if there are no folders.&lt;BR /&gt;But it stops working at all if there is at least one folder.&lt;BR /&gt;I only need to select the toolpaths that are in the root, not the folders.&lt;BR /&gt;Thanks anyway, it works to some extent.</description>
    <pubDate>Mon, 20 Sep 2021 16:47:06 GMT</pubDate>
    <dc:creator>raffnecBNJ8C</dc:creator>
    <dc:date>2021-09-20T16:47:06Z</dc:date>
    <item>
      <title>Quickly select all tool paths</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/quickly-select-all-tool-paths/m-p/10632616#M7808</link>
      <description>&lt;P&gt;Hi!&lt;BR /&gt;Tell me how to quickly select all tool paths with a macro?&lt;BR /&gt;Thank you in advance.&lt;/P&gt;</description>
      <pubDate>Sun, 19 Sep 2021 12:54:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/quickly-select-all-tool-paths/m-p/10632616#M7808</guid>
      <dc:creator>raffnecBNJ8C</dc:creator>
      <dc:date>2021-09-19T12:54:20Z</dc:date>
    </item>
    <item>
      <title>Re: Quickly select all tool paths</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/quickly-select-all-tool-paths/m-p/10633335#M7809</link>
      <description>&lt;PRE&gt;&lt;SPAN class="Y2IQFc"&gt;Hi,&lt;BR /&gt;if you tell us what your purpose is, maybe we could give you the right solution?&lt;/SPAN&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 20 Sep 2021 04:23:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/quickly-select-all-tool-paths/m-p/10633335#M7809</guid>
      <dc:creator>antonio.ali</dc:creator>
      <dc:date>2021-09-20T04:23:27Z</dc:date>
    </item>
    <item>
      <title>Re: Quickly select all tool paths</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/quickly-select-all-tool-paths/m-p/10634304#M7810</link>
      <description>&lt;P&gt;this will select all the toolpaths in a project:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;STRING LIST allToolpaths = extract(folder('Toolpath'), 'name')&lt;BR /&gt;STRING firstName = $allToolpaths[0]&lt;BR /&gt;$allToolpaths = reverse(allToolpaths)&lt;BR /&gt;STRING lastName = $allToolpaths[0]&lt;BR /&gt;FOREACH tp IN allToolpaths {&lt;BR /&gt;EXPLORER SELECT Toolpath $firstName NEW&lt;BR /&gt;EXPLORER SELECT Toolpath $lastName SERIES&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;to select all toolpaths in a folder, you'll need to modify that to select from a specified folder. Under help, documents, reference, go to the 'functions' page and you'll see the list creation functions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;hope this helps!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Sep 2021 13:43:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/quickly-select-all-tool-paths/m-p/10634304#M7810</guid>
      <dc:creator>TK.421</dc:creator>
      <dc:date>2021-09-20T13:43:13Z</dc:date>
    </item>
    <item>
      <title>Re: Quickly select all tool paths</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/quickly-select-all-tool-paths/m-p/10634779#M7811</link>
      <description>&lt;P&gt;My goal is to apply the cooling parameter to all trajectories at once, but I don't want to select them manually.&lt;BR /&gt;Maybe there is a more correct way, I will be glad for a hint.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is a macro that I plan to use to turn on the blowing of the tool, but the tool path must be selected manually, and there can be 10 or 20 of them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;select toolpath manual&amp;gt;&lt;/P&gt;&lt;P&gt;EDIT COOLANT AIR&lt;/P&gt;&lt;P&gt;RESET SELECTED TOOLPATH COOLANT&lt;/P&gt;&lt;P&gt;EDIT NCPROGRAM PREFERENCES COOLANT TOOLPATH&lt;/P&gt;</description>
      <pubDate>Mon, 20 Sep 2021 16:35:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/quickly-select-all-tool-paths/m-p/10634779#M7811</guid>
      <dc:creator>raffnecBNJ8C</dc:creator>
      <dc:date>2021-09-20T16:35:42Z</dc:date>
    </item>
    <item>
      <title>Re: Quickly select all tool paths</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/quickly-select-all-tool-paths/m-p/10634798#M7812</link>
      <description>This works if there are no folders.&lt;BR /&gt;But it stops working at all if there is at least one folder.&lt;BR /&gt;I only need to select the toolpaths that are in the root, not the folders.&lt;BR /&gt;Thanks anyway, it works to some extent.</description>
      <pubDate>Mon, 20 Sep 2021 16:47:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/quickly-select-all-tool-paths/m-p/10634798#M7812</guid>
      <dc:creator>raffnecBNJ8C</dc:creator>
      <dc:date>2021-09-20T16:47:06Z</dc:date>
    </item>
    <item>
      <title>Re: Quickly select all tool paths</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/quickly-select-all-tool-paths/m-p/10634824#M7813</link>
      <description>&lt;P&gt;it will not work for folders, as stated above. you cannot select two toolpaths at the same time if they're in different folders. That's why I pointed you to the reference document on list creation.&amp;nbsp; You could make your macro to get all the folders in the toolpath folder, and then loop through each toolpath in each folder. That would require a little bit of work, but it would be time well spent in the long run.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Alternatively, you could shift-select the toolpaths in the tree and put a macro on the RMB of the explorer.ppm file that runs your macro:&lt;BR /&gt;&lt;BR /&gt;FOREACH tp IN explorer_selected_entities() {&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; EDIT COOLANT AIR&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; RESET SELECTED TOOLPATH COOLANT&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; EDIT NCPROGRAM PREFERENCES COOLANT TOOLPATH&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;the menu button code for the explorer.ppm xml file would look like this:&lt;/P&gt;
&lt;P&gt;&amp;lt;spacer/&amp;gt; &lt;BR /&gt;&amp;lt;button&lt;BR /&gt;command='MACRO "C:\your\macro\path\your macro.mac"'&lt;BR /&gt;label="Verify Selected Toolpaths"&lt;BR /&gt;multiple_selection="allowed"&lt;BR /&gt;/&amp;gt;&lt;BR /&gt;&amp;lt;spacer/&amp;gt;&lt;BR /&gt;&lt;BR /&gt;this would go in the Toolpath Child Node Menu. the explorer file can be found&amp;nbsp;@&amp;nbsp;C:\Program Files\Autodesk\PowerMill 2022\sys\hci\popups\explorer.ppm&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is how I would do it because you can run it on anything that's selected, the code is cleaner and it doesnt matter if they're in a folder or not&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Sep 2021 17:00:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/quickly-select-all-tool-paths/m-p/10634824#M7813</guid>
      <dc:creator>TK.421</dc:creator>
      <dc:date>2021-09-20T17:00:42Z</dc:date>
    </item>
    <item>
      <title>Re: Quickly select all tool paths</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/quickly-select-all-tool-paths/m-p/11438059#M7814</link>
      <description>&lt;P&gt;I tried to use this macro, but no tooplaths get selected.&lt;/P&gt;&lt;P&gt;Maybe because&amp;nbsp;&amp;nbsp;I pasted the text like it is, and perhaps miss the text that expert people in macro know to be added.&lt;/P&gt;&lt;P&gt;I need anyway to selecto all teh toolpath serie in the folder&amp;nbsp;"Toolpath\RIP_8R4"&lt;/P&gt;&lt;P&gt;can you help me please?&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2022 07:30:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/quickly-select-all-tool-paths/m-p/11438059#M7814</guid>
      <dc:creator>info</dc:creator>
      <dc:date>2022-09-22T07:30:12Z</dc:date>
    </item>
    <item>
      <title>Re: Quickly select all tool paths</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/quickly-select-all-tool-paths/m-p/11438410#M7815</link>
      <description>&lt;P&gt;Activate your folder then replace explorer_selected_entities() with Folder(active_folder())&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2022 10:23:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/quickly-select-all-tool-paths/m-p/11438410#M7815</guid>
      <dc:creator>TK.421</dc:creator>
      <dc:date>2022-09-22T10:23:07Z</dc:date>
    </item>
    <item>
      <title>Re: Quickly select all tool paths</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/quickly-select-all-tool-paths/m-p/11438438#M7816</link>
      <description>&lt;P&gt;Try this in your macro&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ENTITY LIST Toolpath = INPUT ENTITY MULTIPLE Toolpath "Select Toolpaths"&lt;/P&gt;&lt;P&gt;FOREACH $tp IN Toolpath {&lt;BR /&gt;Activate Toolpath $tp.name&lt;BR /&gt;EDIT COOLANT AIR&lt;BR /&gt;RESET SELECTED TOOLPATH COOLANT&lt;BR /&gt;EDIT NCPROGRAM PREFERENCES COOLANT TOOLPATH&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2022 10:38:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/quickly-select-all-tool-paths/m-p/11438438#M7816</guid>
      <dc:creator>kevin.hammond3WX4X</dc:creator>
      <dc:date>2022-09-22T10:38:58Z</dc:date>
    </item>
    <item>
      <title>Re: Quickly select all tool paths</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/quickly-select-all-tool-paths/m-p/11463481#M7817</link>
      <description>&lt;P&gt;Once I have done the&amp;nbsp;Corner-Finishing patterns, that I put into a folder called "8R4"&amp;nbsp; because it is a ballnose diameter 8, I want to make automatically the&amp;nbsp;Model-Area-Clearance patterns into other folders , called "12R1" folder , and than the "6R1" folder.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My purpose is: I make first the inclined&amp;nbsp;Corner-Finishing patterns, each of them has its workplane and boundary, and Than, with a macro, I want&amp;nbsp; apply to the&amp;nbsp;Model-Area-Clearance patterns the same boundaries and workplanes used into the&amp;nbsp;&amp;nbsp;Corner-Finishing patterns.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;example: (the number&amp;nbsp; name of the workplanes and boundaries are only invented to explane the sample)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I already have a folder called "8R4" containing 3&amp;nbsp;Corner-Finishing patterns (to simplify) made by me handly:&lt;/P&gt;&lt;P&gt;8R4_1 pattern whose workplane name is 11 and whose boundary name is 22&lt;/P&gt;&lt;P&gt;8R4_2 pattern whose workplane name is 12 and whose boundary name is 23&lt;/P&gt;&lt;P&gt;8R4_3 pattern whose workplane name is 145 and whose boundary name is 149&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The macro would create automatically 3&amp;nbsp;Model-Area-Clearance patterns inside the existing folder "12R1",&amp;nbsp; applying each same workplane and boundary used in the handly created 8R4&amp;nbsp; patterns, like this:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;12R1_1 pattern whose workplane name is 11 and whose boundary name is 22&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;12R1_2 pattern whose workplane name is 12 and whose boundary name is 23&lt;/P&gt;&lt;P&gt;12R1_3 pattern whose workplane name is 145 and whose boundary name is 149&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And also the macro would create 3&amp;nbsp;Model-Area-Clearance patterns inside the existing folder "6R1" like this:&lt;/P&gt;&lt;P&gt;6R1_1 pattern whose workplane name is 11 and whose boundary name is 22&lt;/P&gt;&lt;P&gt;6R1_2 pattern whose workplane name is 12 and whose boundary name is 23&lt;/P&gt;&lt;P&gt;6R1_3 pattern whose workplane name is 145 and whose boundary name is 149&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to choose if make the 12R1 patterns only, or 6R1 patterns only, or both.&lt;/P&gt;&lt;P&gt;The inclinated only, because the vertical ones&amp;nbsp; I already have as template.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If someone helps me It will be a professional macro, otherwise it will be a long series of beginner macro maker as I am.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So please let me know any solution is welcome&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Oct 2022 13:44:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/quickly-select-all-tool-paths/m-p/11463481#M7817</guid>
      <dc:creator>info</dc:creator>
      <dc:date>2022-10-05T13:44:08Z</dc:date>
    </item>
  </channel>
</rss>

