<?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: Output File Extension in PowerMill Forum</title>
    <link>https://forums.autodesk.com/t5/powermill-forum/output-file-extension/m-p/12181073#M3667</link>
    <description>&lt;DIV class=""&gt;&lt;P&gt;&lt;SPAN&gt;Hi&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/7207970" target="_self"&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;Jonathan.Artiss&lt;/STRONG&gt; , thanks for your clear and kindly reply. I tested your solution and it works . I accepted it as it is really a good solution but my filenames are not usual and it will confuse in certain cases. assume there is&amp;nbsp; Holes of 8mm and 8.5mm in project. drilling macro creates Toolpaths&amp;nbsp; naming "Hole 8" and "Hole 8.5" and consequently NcPrograms are named "Drill 8" and "Drill8.5"&amp;nbsp; &amp;nbsp;. Posting results to files : "Drill 8.tap"&amp;nbsp; and&amp;nbsp; "Drill 8.5" normally. forcing them to ".tap" by post the second file will omit ".5" and it will not be "8.5"&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;anyhow I am not professional as you, but I handled a macro by another person and edited it to add a ".tap" to end of files if they don't have it, and my file become " Drill 8.5.tap" and works fine for me.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;thanks a lot to all persons share their knowledge.&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 18 Aug 2023 17:51:59 GMT</pubDate>
    <dc:creator>hrh46</dc:creator>
    <dc:date>2023-08-18T17:51:59Z</dc:date>
    <item>
      <title>Output File Extension</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/output-file-extension/m-p/12141947#M3659</link>
      <description>&lt;P&gt;My output file extension is .tap by default. but Drilling g-codes are outputted without extension or not .tap&lt;/P&gt;&lt;P&gt;I have a macro for manipulating nc programs(g-codes) and does not work for none .tap files. does anybody know how can I force all outputs for&amp;nbsp; &amp;nbsp;.tap or changing extensions to .tap by a macro?&lt;/P&gt;&lt;P&gt;thanks in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Aug 2023 17:52:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/output-file-extension/m-p/12141947#M3659</guid>
      <dc:creator>hrh46</dc:creator>
      <dc:date>2023-08-01T17:52:57Z</dc:date>
    </item>
    <item>
      <title>Re: Output File Extension</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/output-file-extension/m-p/12142036#M3660</link>
      <description>&lt;P&gt;have you tried this code in your macro?&lt;BR /&gt;&lt;BR /&gt;EDIT NCPROGRAM PREFERENCES EXTENSION "tap"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I run that to change my extensions at the beginning of my posting macros&lt;/P&gt;</description>
      <pubDate>Tue, 01 Aug 2023 18:30:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/output-file-extension/m-p/12142036#M3660</guid>
      <dc:creator>TK.421</dc:creator>
      <dc:date>2023-08-01T18:30:18Z</dc:date>
    </item>
    <item>
      <title>Re: Output File Extension</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/output-file-extension/m-p/12142141#M3661</link>
      <description>&lt;P&gt;Thank you for quick reply. I never used it before. I will test it tomorrow.&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Aug 2023 19:19:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/output-file-extension/m-p/12142141#M3661</guid>
      <dc:creator>hrh46</dc:creator>
      <dc:date>2023-08-01T19:19:46Z</dc:date>
    </item>
    <item>
      <title>Re: Output File Extension</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/output-file-extension/m-p/12143998#M3662</link>
      <description>&lt;P&gt;You can modify your post to output a specific file extension. Add the below to your script tab inside the post.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;OutputExtension = "tap";&lt;/P&gt;</description>
      <pubDate>Wed, 02 Aug 2023 12:53:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/output-file-extension/m-p/12143998#M3662</guid>
      <dc:creator>Jonathan_Artiss19</dc:creator>
      <dc:date>2023-08-02T12:53:39Z</dc:date>
    </item>
    <item>
      <title>Re: Output File Extension</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/output-file-extension/m-p/12158501#M3663</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/7207970"&gt;@Jonathan_Artiss19&lt;/a&gt;&amp;nbsp;&amp;nbsp;The problem with doing that way is that now the "Open file in external program" button in the right click menu won't work if they don't also change the output file extension in the settings as well.&amp;nbsp;&lt;BR /&gt;So I guess the best solution would be to just set it in the post and in PowerMill ¯\_(ツ)_/¯&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2023 01:45:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/output-file-extension/m-p/12158501#M3663</guid>
      <dc:creator>Sean571</dc:creator>
      <dc:date>2023-08-09T01:45:38Z</dc:date>
    </item>
    <item>
      <title>Re: Output File Extension</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/output-file-extension/m-p/12166987#M3664</link>
      <description>&lt;P&gt;Many Thanks to all experts who shared their knowledge in this post. As I started this post, I found that only some ncprograms have the extension problem. I have a macro creating drilling toolpaths and ncprograms&amp;nbsp; automatically get their name from toolpaths&amp;nbsp; name. if hole size is not Integer and is real number we get toolpath name as “ Drill 10.5 “ the point in the toolpath name (from hole size) is therefore in ncprogram and when is post processed output g-gode file has no extension. So logically the remedy my be as:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Macro to check all outputted g-code files to check if they have not “.tap” at the end of name then add “.tap” at the end.&lt;/LI&gt;&lt;LI&gt;Forcing post processor to add “.tap”&amp;nbsp; at the end of file name even there is a dot “.” In the file name.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Again thanks to all experts, waiting from you which is the best way.&lt;/P&gt;</description>
      <pubDate>Sat, 12 Aug 2023 17:39:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/output-file-extension/m-p/12166987#M3664</guid>
      <dc:creator>hrh46</dc:creator>
      <dc:date>2023-08-12T17:39:29Z</dc:date>
    </item>
    <item>
      <title>Re: Output File Extension</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/output-file-extension/m-p/12173127#M3665</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/796924"&gt;@hrh46&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is totally up to you, it all depends on how many post's you have to maintain and switch to. There are macro approaches to set up any and all post-preference settings for a specific machine tool, and there are also foolproof ways to set it up.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A macro approach is good if you need to setup specific things like, MTD models, post's, tool database, output location etc.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can try the method of having all post's in one directory, then point PowerMill to this location. Use the options in your PowerMill session to change the output type for each post.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JonathanArtissDSI_0-1692130927816.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1253594i40E609827391E7AA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JonathanArtissDSI_0-1692130927816.png" alt="JonathanArtissDSI_0-1692130927816.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You could use my preferred method, which, as&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/12685679"&gt;@Sean571&lt;/a&gt;&amp;nbsp;mentioned, there is a flaw if you need to launch your code from inside PowerMill, personally, I see more upside to this than down. If I need to open my code for review, I can launch it from my File Explorer of open it from my notepad or text edit software. Use a script to force the output type required for each post. This way it's the same across the shop floor for whomever uses the post. Open your post, go to script, click on script on the upper left and paste in the below.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;OutputExtension = "tap";&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JonathanArtissDSI_1-1692131725944.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1253597i88447CBE45430418/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JonathanArtissDSI_1-1692131725944.png" alt="JonathanArtissDSI_1-1692131725944.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Aug 2023 20:35:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/output-file-extension/m-p/12173127#M3665</guid>
      <dc:creator>Jonathan_Artiss19</dc:creator>
      <dc:date>2023-08-15T20:35:34Z</dc:date>
    </item>
    <item>
      <title>Re: Output File Extension</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/output-file-extension/m-p/12173181#M3666</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/796924"&gt;@hrh46&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Last ping, &lt;A href="https://know.dsi-mfg.com/kb/pm-file-extension" target="_blank" rel="noopener"&gt;here is a link to an article&lt;/A&gt; I just published on this topic. It's got a step-by-step workflow on setting this up inside your options.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Aug 2023 21:09:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/output-file-extension/m-p/12173181#M3666</guid>
      <dc:creator>Jonathan_Artiss19</dc:creator>
      <dc:date>2023-08-15T21:09:12Z</dc:date>
    </item>
    <item>
      <title>Re: Output File Extension</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/output-file-extension/m-p/12181073#M3667</link>
      <description>&lt;DIV class=""&gt;&lt;P&gt;&lt;SPAN&gt;Hi&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/7207970" target="_self"&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;Jonathan.Artiss&lt;/STRONG&gt; , thanks for your clear and kindly reply. I tested your solution and it works . I accepted it as it is really a good solution but my filenames are not usual and it will confuse in certain cases. assume there is&amp;nbsp; Holes of 8mm and 8.5mm in project. drilling macro creates Toolpaths&amp;nbsp; naming "Hole 8" and "Hole 8.5" and consequently NcPrograms are named "Drill 8" and "Drill8.5"&amp;nbsp; &amp;nbsp;. Posting results to files : "Drill 8.tap"&amp;nbsp; and&amp;nbsp; "Drill 8.5" normally. forcing them to ".tap" by post the second file will omit ".5" and it will not be "8.5"&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;anyhow I am not professional as you, but I handled a macro by another person and edited it to add a ".tap" to end of files if they don't have it, and my file become " Drill 8.5.tap" and works fine for me.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;thanks a lot to all persons share their knowledge.&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Aug 2023 17:51:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/output-file-extension/m-p/12181073#M3667</guid>
      <dc:creator>hrh46</dc:creator>
      <dc:date>2023-08-18T17:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: Output File Extension</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/output-file-extension/m-p/12181121#M3668</link>
      <description>&lt;P&gt;I'd recommend removing the "." from the NC program name.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Aug 2023 18:14:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/output-file-extension/m-p/12181121#M3668</guid>
      <dc:creator>Jonathan_Artiss19</dc:creator>
      <dc:date>2023-08-18T18:14:47Z</dc:date>
    </item>
    <item>
      <title>Re: Output File Extension</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/output-file-extension/m-p/12181206#M3669</link>
      <description>&lt;P&gt;How?&lt;/P&gt;</description>
      <pubDate>Fri, 18 Aug 2023 18:50:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/output-file-extension/m-p/12181206#M3669</guid>
      <dc:creator>hrh46</dc:creator>
      <dc:date>2023-08-18T18:50:39Z</dc:date>
    </item>
    <item>
      <title>Re: Output File Extension</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/output-file-extension/m-p/12181208#M3670</link>
      <description>&lt;P&gt;How ?&lt;/P&gt;</description>
      <pubDate>Fri, 18 Aug 2023 18:52:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/output-file-extension/m-p/12181208#M3670</guid>
      <dc:creator>hrh46</dc:creator>
      <dc:date>2023-08-18T18:52:09Z</dc:date>
    </item>
    <item>
      <title>Re: Output File Extension</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/output-file-extension/m-p/12181321#M3671</link>
      <description>&lt;P&gt;If your NC Program name is "8.5mm hole" for example, PowerMill and the post would see the name as "8" and the file extension would be "5mm hole" rather than .tap&lt;/P&gt;
&lt;P&gt;To correct this, you need to remove the "." between the 8 and the 5.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Aug 2023 19:32:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/output-file-extension/m-p/12181321#M3671</guid>
      <dc:creator>Jonathan_Artiss19</dc:creator>
      <dc:date>2023-08-18T19:32:37Z</dc:date>
    </item>
  </channel>
</rss>

