<?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 remove text block in PowerMill Forum</title>
    <link>https://forums.autodesk.com/t5/powermill-forum/macro-remove-text-block/m-p/9522870#M11626</link>
    <description>&lt;P&gt;Hi, it doesn't work clear the text block but also the toolpath.&lt;BR /&gt;I was interested in erasing only the blocks of text.&lt;/P&gt;</description>
    <pubDate>Mon, 18 May 2020 05:59:37 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-05-18T05:59:37Z</dc:date>
    <item>
      <title>Macro remove text block</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/macro-remove-text-block/m-p/9521233#M11624</link>
      <description>&lt;P&gt;Hi everyone, I have this simple macro to add a certain block of text on all the tool paths of an NC program which in this specific case is a programmed stop.&lt;BR /&gt;I would like to know if there is also a way with a macro to remove them all from the nc program.&lt;/P&gt;</description>
      <pubDate>Sat, 16 May 2020 20:35:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/macro-remove-text-block/m-p/9521233#M11624</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-16T20:35:10Z</dc:date>
    </item>
    <item>
      <title>Re: Macro remove text block</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/macro-remove-text-block/m-p/9522328#M11625</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This seemed to work for me&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;STRING Remove = INPUT ENTITY NCPROGRAM "Seleziona NcProgram"&lt;BR /&gt;ACTIVATE NCPROGRAM $Remove&lt;BR /&gt;EDIT NCPROGRAM $Remove REMOVE ITEM 1&lt;BR /&gt;EDIT NCPROGRAM $Remove REMOVE ITEM 2&lt;/P&gt;</description>
      <pubDate>Sun, 17 May 2020 18:57:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/macro-remove-text-block/m-p/9522328#M11625</guid>
      <dc:creator>lee_sanders</dc:creator>
      <dc:date>2020-05-17T18:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: Macro remove text block</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/macro-remove-text-block/m-p/9522870#M11626</link>
      <description>&lt;P&gt;Hi, it doesn't work clear the text block but also the toolpath.&lt;BR /&gt;I was interested in erasing only the blocks of text.&lt;/P&gt;</description>
      <pubDate>Mon, 18 May 2020 05:59:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/macro-remove-text-block/m-p/9522870#M11626</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-18T05:59:37Z</dc:date>
    </item>
    <item>
      <title>Re: Macro remove text block</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/macro-remove-text-block/m-p/9523137#M11627</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you share an example PM project?&lt;/P&gt;</description>
      <pubDate>Mon, 18 May 2020 08:41:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/macro-remove-text-block/m-p/9523137#M11627</guid>
      <dc:creator>lee_sanders</dc:creator>
      <dc:date>2020-05-18T08:41:24Z</dc:date>
    </item>
    <item>
      <title>Re: Macro remove text block</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/macro-remove-text-block/m-p/9523154#M11628</link>
      <description>&lt;P&gt;Yes&lt;/P&gt;</description>
      <pubDate>Mon, 18 May 2020 08:51:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/macro-remove-text-block/m-p/9523154#M11628</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-18T08:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: Macro remove text block</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/macro-remove-text-block/m-p/9529225#M11629</link>
      <description>&lt;P&gt;hi&amp;nbsp;@Anonymous&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;here is a workaround, this relies on the programs and text block being added&amp;nbsp;&lt;SPAN&gt;sequentially.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I'm trying to get a more robust method&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;// count stores the number of programs in the NC program&lt;BR /&gt;INT count = 0&lt;BR /&gt;// counter is based on there being a text block before and after each program&lt;BR /&gt;INT counter = 0&lt;/P&gt;
&lt;P&gt;STRING nc_program = INPUT ENTITY NCPROGRAM "Seleziona NcProgram"&lt;/P&gt;
&lt;P&gt;// enter the number of programs in the NC program&lt;BR /&gt;string prompt = "Enter number of programs in NC" &lt;BR /&gt;$count = input $prompt&lt;BR /&gt;$count = $count *2&lt;/P&gt;
&lt;P&gt;WHILE $counter &amp;lt; $count {&lt;BR /&gt;EDIT NCPROGRAM $nc_program REMOVE ITEM $counter&lt;BR /&gt;$counter = $counter + 2&lt;BR /&gt;}&lt;BR /&gt;// deletes last text block&lt;BR /&gt;EDIT NCPROGRAM $nc_program REMOVE ITEM $counter&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2020 11:20:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/macro-remove-text-block/m-p/9529225#M11629</guid>
      <dc:creator>lee_sanders</dc:creator>
      <dc:date>2020-05-20T11:20:11Z</dc:date>
    </item>
    <item>
      <title>Re: Macro remove text block</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/macro-remove-text-block/m-p/9530991#M11630</link>
      <description>&lt;P&gt;Hi, I tried your macro, also delete the nc programs together with the blocks of text.&lt;/P&gt;</description>
      <pubDate>Thu, 21 May 2020 05:41:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/macro-remove-text-block/m-p/9530991#M11630</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-21T05:41:33Z</dc:date>
    </item>
    <item>
      <title>Re: Macro remove text block</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/macro-remove-text-block/m-p/9532063#M11631</link>
      <description>&lt;P&gt;hi&amp;nbsp;@Anonymous&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;please try this below, this will remove ALL text blocks from the NC programs&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;FOREACH $item in components(entity('ncprogram','')) {&lt;BR /&gt;if ($item.roottype=='nctextblock') {&lt;BR /&gt;EDIT TEXTBLOCK $item.Identifier REMFROMNCPROG&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 May 2020 14:56:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/macro-remove-text-block/m-p/9532063#M11631</guid>
      <dc:creator>lee_sanders</dc:creator>
      <dc:date>2020-05-21T14:56:57Z</dc:date>
    </item>
    <item>
      <title>Re: Macro remove text block</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/macro-remove-text-block/m-p/9533366#M11632</link>
      <description>&lt;P&gt;Thanks, mythical works fine&lt;/P&gt;</description>
      <pubDate>Fri, 22 May 2020 05:43:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/macro-remove-text-block/m-p/9533366#M11632</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-22T05:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: Macro remove text block</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/macro-remove-text-block/m-p/11572452#M11633</link>
      <description>&lt;P&gt;can you please share any video clip ,this macro is not working to us.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2022 09:56:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/macro-remove-text-block/m-p/11572452#M11633</guid>
      <dc:creator>ksrinivas94GLE</dc:creator>
      <dc:date>2022-11-23T09:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: Macro remove text block</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/macro-remove-text-block/m-p/11572586#M11634</link>
      <description>CAN YOU SHARE THE PROCEDURE</description>
      <pubDate>Wed, 23 Nov 2022 10:52:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/macro-remove-text-block/m-p/11572586#M11634</guid>
      <dc:creator>ksrinivas94GLE</dc:creator>
      <dc:date>2022-11-23T10:52:15Z</dc:date>
    </item>
  </channel>
</rss>

