<?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: Is it possible for the post-processor to create the output file name, of to modify the default in in HSM Post Processor Forum</title>
    <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/is-it-possible-for-the-post-processor-to-create-the-output-file/m-p/10967026#M4020</link>
    <description>&lt;P&gt;when you tag somebody, on the first message of a thread, others people who may have an answer or information doesn't feel like sharing this information. (it may be seen as intrusive)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you don't tag, anybody can feel free to provide advices, answers ....&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is safe to tag in the middle of the thread, if severals people are involved in the discussion, to direct the answer to somebody.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a nice day&lt;/P&gt;</description>
    <pubDate>Wed, 23 Feb 2022 10:55:55 GMT</pubDate>
    <dc:creator>serge.quiblier</dc:creator>
    <dc:date>2022-02-23T10:55:55Z</dc:date>
    <item>
      <title>Is it possible for the post-processor to create the output file name, of to modify the default in</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/is-it-possible-for-the-post-processor-to-create-the-output-file/m-p/10965066#M4017</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/4762571"&gt;@serge.quiblier&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;I would like to build the filename from the document-path + job-description, to make it unique without having the user having to think about it. I see the sub-programs names being constructed in the post-processor, but not the main program. Would this be possible? (I could use a property to leave the user free to decide)&lt;BR /&gt;&lt;BR /&gt;If NOT possible, is there a way to basically do the same thing to build a default program name inside the post-processing dialog? I have seen that file name is the result of a function/variable "nc_program_name". Is there a variable like "nc_document_path", for example, that I could use instead, as default?&lt;/P&gt;</description>
      <pubDate>Tue, 22 Feb 2022 14:05:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/is-it-possible-for-the-post-processor-to-create-the-output-file/m-p/10965066#M4017</guid>
      <dc:creator>bernard5BABD</dc:creator>
      <dc:date>2022-02-22T14:05:09Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible for the post-processor to create the output file name, of to modify the default in</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/is-it-possible-for-the-post-processor-to-create-the-output-file/m-p/10966974#M4018</link>
      <description>&lt;P&gt;Hello &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/10711802"&gt;@bernard5BABD&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In order to get answer from anybody, don't tag a specific person in a first post, please.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The post can't have an influence in the name of the file at start.&lt;/P&gt;
&lt;P&gt;The name is given in the NC dialog form, using by default an expression that is using the program name as the filename.&lt;/P&gt;
&lt;P&gt;Another value can be entered by the user in the edit box in the form.&lt;/P&gt;
&lt;P&gt;I don't know all the varaible that can be used for the expression.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the post side of thing, an intermediate file is created in a temp folder, then the post engine is called passing the post name, the path to the intermediate file, and the path for the output file.&lt;/P&gt;
&lt;P&gt;This is what we can grab by the getOutputPath function in the post.&lt;/P&gt;
&lt;P&gt;But there is NO setOutputPath or similar function.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can eventually get some inspiration, from the onTerminate function, implemented in the Universal Robot post.&lt;/P&gt;
&lt;P&gt;The output file is moved/renamed based on the required ouput. (this controller support 2 formats with different file extension.)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;______________________________________________________________&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0174DF"&gt;If my post answers your question, please click the &lt;STRONG&gt;"Accept Solution"&lt;/STRONG&gt; button. This helps everyone find answers more quickly!&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Feb 2022 10:28:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/is-it-possible-for-the-post-processor-to-create-the-output-file/m-p/10966974#M4018</guid>
      <dc:creator>serge.quiblier</dc:creator>
      <dc:date>2022-02-23T10:28:12Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible for the post-processor to create the output file name, of to modify the default in</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/is-it-possible-for-the-post-processor-to-create-the-output-file/m-p/10966989#M4019</link>
      <description>&lt;P&gt;Thank you for a detailed answer, and sorry about tagging you, did not know I should not do that.&lt;BR /&gt;Best regards,&lt;/P&gt;&lt;P&gt;Bernard&lt;/P&gt;</description>
      <pubDate>Wed, 23 Feb 2022 10:36:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/is-it-possible-for-the-post-processor-to-create-the-output-file/m-p/10966989#M4019</guid>
      <dc:creator>bernard5BABD</dc:creator>
      <dc:date>2022-02-23T10:36:40Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible for the post-processor to create the output file name, of to modify the default in</title>
      <link>https://forums.autodesk.com/t5/hsm-post-processor-forum/is-it-possible-for-the-post-processor-to-create-the-output-file/m-p/10967026#M4020</link>
      <description>&lt;P&gt;when you tag somebody, on the first message of a thread, others people who may have an answer or information doesn't feel like sharing this information. (it may be seen as intrusive)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you don't tag, anybody can feel free to provide advices, answers ....&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is safe to tag in the middle of the thread, if severals people are involved in the discussion, to direct the answer to somebody.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a nice day&lt;/P&gt;</description>
      <pubDate>Wed, 23 Feb 2022 10:55:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/hsm-post-processor-forum/is-it-possible-for-the-post-processor-to-create-the-output-file/m-p/10967026#M4020</guid>
      <dc:creator>serge.quiblier</dc:creator>
      <dc:date>2022-02-23T10:55:55Z</dc:date>
    </item>
  </channel>
</rss>

