<?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: Macro for screenshot in PowerMill Forum</title>
    <link>https://forums.autodesk.com/t5/powermill-forum/macro-for-screenshot/m-p/10253224#M8818</link>
    <description>&lt;P&gt;Hi, try this:&lt;/P&gt;&lt;P&gt;if length(project_pathname(0)) &amp;gt; 3 {&lt;BR /&gt;FOREACH ncp IN FOLDER('ncprogram') {&lt;BR /&gt;STRING pngname = replace(project_pathname(0), "/", "\") + "\ncprograms\" + $ncp.name + ".png"&lt;BR /&gt;DELETE FILE $pngname&lt;BR /&gt;DRAW NCProgram $ncp.name&lt;BR /&gt;//ROTATE TRANSFORM ISO2&lt;BR /&gt;KEEP BITMAP $pngname&lt;BR /&gt;UNDRAW NCProgram $ncp.name&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;//not tested..&lt;/P&gt;&lt;P&gt;üdv.&lt;/P&gt;</description>
    <pubDate>Tue, 20 Apr 2021 11:09:37 GMT</pubDate>
    <dc:creator>kukelyk</dc:creator>
    <dc:date>2021-04-20T11:09:37Z</dc:date>
    <item>
      <title>Macro for screenshot</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/macro-for-screenshot/m-p/10252982#M8817</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I would like a make macro for my NCPROGRAMS screenshot to the active project\ncprograms.&lt;BR /&gt;I have standard NCPROGRAM names: 100001, 100002..... ect.&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="Standard.jpg" style="width: 514px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/909064iA8F761D4C8AAC4A4/image-size/large?v=v2&amp;amp;px=999" role="button" title="Standard.jpg" alt="Standard.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 20 Apr 2021 09:29:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/macro-for-screenshot/m-p/10252982#M8817</guid>
      <dc:creator>attila.tolvaj</dc:creator>
      <dc:date>2021-04-20T09:29:05Z</dc:date>
    </item>
    <item>
      <title>Re: Macro for screenshot</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/macro-for-screenshot/m-p/10253224#M8818</link>
      <description>&lt;P&gt;Hi, try this:&lt;/P&gt;&lt;P&gt;if length(project_pathname(0)) &amp;gt; 3 {&lt;BR /&gt;FOREACH ncp IN FOLDER('ncprogram') {&lt;BR /&gt;STRING pngname = replace(project_pathname(0), "/", "\") + "\ncprograms\" + $ncp.name + ".png"&lt;BR /&gt;DELETE FILE $pngname&lt;BR /&gt;DRAW NCProgram $ncp.name&lt;BR /&gt;//ROTATE TRANSFORM ISO2&lt;BR /&gt;KEEP BITMAP $pngname&lt;BR /&gt;UNDRAW NCProgram $ncp.name&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;//not tested..&lt;/P&gt;&lt;P&gt;üdv.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Apr 2021 11:09:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/macro-for-screenshot/m-p/10253224#M8818</guid>
      <dc:creator>kukelyk</dc:creator>
      <dc:date>2021-04-20T11:09:37Z</dc:date>
    </item>
    <item>
      <title>Re: Macro for screenshot</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/macro-for-screenshot/m-p/10253260#M8819</link>
      <description>&lt;P&gt;Thank you!&lt;BR /&gt;&lt;BR /&gt;It is working good, but, only make the first one NCPROGRAM screenshot.&lt;BR /&gt;I&amp;nbsp;need everything in the project.&lt;BR /&gt;&lt;BR /&gt;Üdv &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Apr 2021 11:31:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/macro-for-screenshot/m-p/10253260#M8819</guid>
      <dc:creator>attila.tolvaj</dc:creator>
      <dc:date>2021-04-20T11:31:58Z</dc:date>
    </item>
    <item>
      <title>Re: Macro for screenshot</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/macro-for-screenshot/m-p/10253775#M8820</link>
      <description>&lt;P&gt;it works fine for me, if the 'ncprograms' folder exists..&lt;/P&gt;</description>
      <pubDate>Tue, 20 Apr 2021 14:14:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/macro-for-screenshot/m-p/10253775#M8820</guid>
      <dc:creator>kukelyk</dc:creator>
      <dc:date>2021-04-20T14:14:59Z</dc:date>
    </item>
    <item>
      <title>Re: Macro for screenshot</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/macro-for-screenshot/m-p/10253821#M8821</link>
      <description>&lt;P&gt;Oh my God... 1 symbol not copied... ( { )&lt;BR /&gt;&lt;BR /&gt;Working perfectly!&lt;BR /&gt;Thank you very much!&lt;/P&gt;</description>
      <pubDate>Tue, 20 Apr 2021 14:29:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/macro-for-screenshot/m-p/10253821#M8821</guid>
      <dc:creator>attila.tolvaj</dc:creator>
      <dc:date>2021-04-20T14:29:30Z</dc:date>
    </item>
  </channel>
</rss>

