<?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: extract toolpath folder in project folder in PowerMill Forum</title>
    <link>https://forums.autodesk.com/t5/powermill-forum/extract-toolpath-folder-in-project-folder/m-p/10883166#M7086</link>
    <description>&lt;P&gt;Hi !&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/4109666"&gt;@kmarkopouliotis&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just followed th steps and it worked somewhat.&lt;/P&gt;&lt;P&gt;I still didn't got final solution and yet working on it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But, anyway your code helped me alot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you !&lt;/P&gt;</description>
    <pubDate>Sun, 16 Jan 2022 13:53:42 GMT</pubDate>
    <dc:creator>karan30782</dc:creator>
    <dc:date>2022-01-16T13:53:42Z</dc:date>
    <item>
      <title>extract toolpath folder in project folder</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/extract-toolpath-folder-in-project-folder/m-p/10881452#M7082</link>
      <description>&lt;P&gt;HI, There !&lt;/P&gt;&lt;P&gt;I'm exploring through a macro that must create folders in "Nc programs" explorer.&lt;BR /&gt;Folders are already in "Toolpath" explorer.&lt;/P&gt;&lt;P&gt;And these "Nc programs" folder must be created in Project &amp;gt; Ncprograms.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I'm working on this code below ...........&lt;/P&gt;&lt;P&gt;// macro start ===========&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="ruby"&gt;STRING $dirpath = project_pathname(0) + "/ncprograms/"
MKDIR $dirpath
EXPLORER SELECT TOOLPATH ROOT


STRING LIST TPFOLDERS = get_folders('TOOLPATH')
FOREACH tp IN TPFOLDERS {

CREATE FOLDER project_pathname(0) + '\ncprograms\' $tp


}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;can someone add their idea, where I'm wrong.&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="11.JPG" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1011663iB16983F94C175395/image-size/large?v=v2&amp;amp;px=999" role="button" title="11.JPG" alt="11.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you !&lt;/P&gt;</description>
      <pubDate>Sat, 15 Jan 2022 05:56:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/extract-toolpath-folder-in-project-folder/m-p/10881452#M7082</guid>
      <dc:creator>karan30782</dc:creator>
      <dc:date>2022-01-15T05:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: extract toolpath folder in project folder</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/extract-toolpath-folder-in-project-folder/m-p/10881690#M7083</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;TRY THESE MACROS. HOPE WILL HELP.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;THANK YOU.&lt;/P&gt;</description>
      <pubDate>Sat, 15 Jan 2022 10:25:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/extract-toolpath-folder-in-project-folder/m-p/10881690#M7083</guid>
      <dc:creator>kmarkopouliotis</dc:creator>
      <dc:date>2022-01-15T10:25:59Z</dc:date>
    </item>
    <item>
      <title>Re: extract toolpath folder in project folder</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/extract-toolpath-folder-in-project-folder/m-p/10882727#M7084</link>
      <description>&lt;P&gt;Thanks for replying,&lt;/P&gt;&lt;P&gt;With your code It extract folders from "toolpath" to "nc program".&lt;/P&gt;&lt;P&gt;That's fabulous.&lt;/P&gt;&lt;P&gt;But, even after so many attempt I'm unable to create those folder in project &amp;gt; ncprogram (folder)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again !&lt;/P&gt;</description>
      <pubDate>Sun, 16 Jan 2022 04:57:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/extract-toolpath-folder-in-project-folder/m-p/10882727#M7084</guid>
      <dc:creator>karan30782</dc:creator>
      <dc:date>2022-01-16T04:57:33Z</dc:date>
    </item>
    <item>
      <title>Re: extract toolpath folder in project folder</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/extract-toolpath-folder-in-project-folder/m-p/10882912#M7085</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;you have to save your project and run the "02_folder_matching.mac". Afterward when you write your NCPROGRAM it will be written in the same position (tree) in ncprogram file.&lt;/P&gt;</description>
      <pubDate>Sun, 16 Jan 2022 09:05:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/extract-toolpath-folder-in-project-folder/m-p/10882912#M7085</guid>
      <dc:creator>kmarkopouliotis</dc:creator>
      <dc:date>2022-01-16T09:05:55Z</dc:date>
    </item>
    <item>
      <title>Re: extract toolpath folder in project folder</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/extract-toolpath-folder-in-project-folder/m-p/10883166#M7086</link>
      <description>&lt;P&gt;Hi !&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/4109666"&gt;@kmarkopouliotis&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just followed th steps and it worked somewhat.&lt;/P&gt;&lt;P&gt;I still didn't got final solution and yet working on it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But, anyway your code helped me alot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you !&lt;/P&gt;</description>
      <pubDate>Sun, 16 Jan 2022 13:53:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/extract-toolpath-folder-in-project-folder/m-p/10883166#M7086</guid>
      <dc:creator>karan30782</dc:creator>
      <dc:date>2022-01-16T13:53:42Z</dc:date>
    </item>
    <item>
      <title>回复： extract toolpath folder in project folder</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/extract-toolpath-folder-in-project-folder/m-p/12000109#M7087</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I had the same problem before, but I have solved it, I hope you can use it&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;STRING $dirpath = project_pathname(0) +"/ncprogram"+"/"&lt;BR /&gt;MKDIR $dirpath&lt;BR /&gt;EXPLORER SELECT TOOLPATH ROOT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;STRING $path = project_pathname(0) + "/ncprogram"&lt;BR /&gt;MKDIR $path&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;EDIT NCPROGRAM ALL FOLDER PROJSELECTOR $path&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NCGLOBAL APPLY&lt;BR /&gt;NCGLOBAL ACCEPT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2023 04:08:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/extract-toolpath-folder-in-project-folder/m-p/12000109#M7087</guid>
      <dc:creator>kl1445</dc:creator>
      <dc:date>2023-05-31T04:08:49Z</dc:date>
    </item>
  </channel>
</rss>

