<?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: How to change macro 1 tool to all.HELP in PowerMill Forum</title>
    <link>https://forums.autodesk.com/t5/powermill-forum/how-to-change-macro-1-tool-to-all-help/m-p/12286316#M3251</link>
    <description>&lt;P&gt;here you go:&lt;/P&gt;&lt;LI-CODE lang="general"&gt;entity list $tps = explorer_selected_entities()
if size($tps) &amp;lt;= 0 {
	return
}
if $tps[0].RootType != 'toolpath' {
	return
}
dialogs message off
foreach $tp in filter($tps, 'this.Computed == 1') {	
	activate toolpath $tp
	EDIT COLLISION TYPE COLLISION
	EDIT COLLISION STOCKMODEL_CHECK N
	EDIT COLLISION SCOPE ALL
	EDIT COLLISION SPLIT_TOOLPATH N
	EDIT PAR 'Verification.UseVerificationThickness' 1
	EDIT PAR 'Verification.UseVerificationThickness' 0
	EDIT COLLISION DEPTH N
	EDIT COLLISION DEPTH Y
	EDIT COLLISION ADJUST_TOOL Y
	EDIT COLLISION APPLY
}
dialogs message on&lt;/LI-CODE&gt;</description>
    <pubDate>Thu, 05 Oct 2023 09:30:22 GMT</pubDate>
    <dc:creator>icse</dc:creator>
    <dc:date>2023-10-05T09:30:22Z</dc:date>
    <item>
      <title>How to change macro 1 tool to all.HELP</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/how-to-change-macro-1-tool-to-all-help/m-p/12286255#M3246</link>
      <description>&lt;P&gt;&lt;div class="lia-vid-container video-embed-center"&gt;&lt;div id="lia-vid-6338441953112w960h540r653" class="lia-video-brightcove-player-container"&gt;&lt;video-js data-video-id="6338441953112" data-account="6057940548001" data-player="default" data-embed="default" class="vjs-fluid" controls="" data-application-id="" style="width: 100%; height: 100%;"&gt;&lt;/video-js&gt;&lt;/div&gt;&lt;script src="https://players.brightcove.net/6057940548001/default_default/index.min.js"&gt;&lt;/script&gt;&lt;script&gt;(function() {  var wrapper = document.getElementById('lia-vid-6338441953112w960h540r653');  var videoEl = wrapper ? wrapper.querySelector('video-js') : null;  if (videoEl) {     if (window.videojs) {       window.videojs(videoEl).ready(function() {         this.on('loadedmetadata', function() {           this.el().querySelectorAll('.vjs-load-progress div[data-start]').forEach(function(bar) {             bar.setAttribute('role', 'presentation');             bar.setAttribute('aria-hidden', 'true');           });         });       });     }  }})();&lt;/script&gt;&lt;a class="video-embed-link" href="https://forums.autodesk.com/t5/video/gallerypage/video-id/6338441953112"&gt;(view in My Videos)&lt;/a&gt;&lt;/div&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="screenshot_1696496619.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1275509i8B4AB2B628B561FB/image-size/large?v=v2&amp;amp;px=999" role="button" title="screenshot_1696496619.png" alt="screenshot_1696496619.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2023 09:04:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/how-to-change-macro-1-tool-to-all-help/m-p/12286255#M3246</guid>
      <dc:creator>ken1996th</dc:creator>
      <dc:date>2023-10-05T09:04:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to change macro 1 tool to all.HELP</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/how-to-change-macro-1-tool-to-all-help/m-p/12286258#M3247</link>
      <description>&lt;P&gt;&lt;BR /&gt;STRING NEWNAME1=REPLACE(NAME,'D',Tool.Overhang)&lt;BR /&gt;RENAME TOOLPATH ; $NEWNAME1&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2023 09:05:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/how-to-change-macro-1-tool-to-all-help/m-p/12286258#M3247</guid>
      <dc:creator>ken1996th</dc:creator>
      <dc:date>2023-10-05T09:05:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to change macro 1 tool to all.HELP</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/how-to-change-macro-1-tool-to-all-help/m-p/12286286#M3248</link>
      <description>&lt;P&gt;select all toolpaths you whant to change then run this macro:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;entity list $tps = explorer_selected_entities()
if size($tps) &amp;lt;= 0 {
	return
}
if $tps[0].RootType != 'toolpath' {
	return
}

foreach $tp in filter($tps, 'entity_exists(this.Tool)') {	
	string $newName = replace($tp.Name,'D',tp.Tool.Overhang)
	if tp.Name == $newName {
		continue
	}
	if entity_exists(entity('toolpath',$newName)) {
		$newName = new_entity_name('toolpath',$newName)
	}
	rename toolpath ${tp.Name} ${newName}
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also could write you one where it adds the overhang to the end of the name so you dont have to add a 'D'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also you can add macros to keyboard shortcuts in the options, so you dont have to drag/drop the file into powermill all the time.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2023 09:22:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/how-to-change-macro-1-tool-to-all-help/m-p/12286286#M3248</guid>
      <dc:creator>icse</dc:creator>
      <dc:date>2023-10-05T09:22:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to change macro 1 tool to all.HELP</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/how-to-change-macro-1-tool-to-all-help/m-p/12286297#M3249</link>
      <description>&lt;P&gt;Thanks you very much &lt;span class="lia-unicode-emoji" title=":red_heart:"&gt;❤️&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2023 09:21:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/how-to-change-macro-1-tool-to-all-help/m-p/12286297#M3249</guid>
      <dc:creator>ken1996th</dc:creator>
      <dc:date>2023-10-05T09:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to change macro 1 tool to all.HELP</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/how-to-change-macro-1-tool-to-all-help/m-p/12286304#M3250</link>
      <description>&lt;P&gt;Can you help me 1 more ?&lt;/P&gt;&lt;P&gt;with this macro with all tool&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;FORM COLLISION&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;EDIT COLLISION TYPE COLLISION&lt;/DIV&gt;&lt;DIV&gt;EDIT COLLISION STOCKMODEL_CHECK N&lt;/DIV&gt;&lt;DIV&gt;EDIT COLLISION SCOPE ALL&lt;/DIV&gt;&lt;DIV&gt;EDIT COLLISION SPLIT_TOOLPATH N&lt;/DIV&gt;&lt;DIV&gt;EDIT PAR 'Verification.UseVerificationThickness' 1&lt;/DIV&gt;&lt;DIV&gt;EDIT PAR 'Verification.UseVerificationThickness' 0&lt;/DIV&gt;&lt;DIV&gt;EDIT COLLISION DEPTH N&lt;/DIV&gt;&lt;DIV&gt;EDIT COLLISION DEPTH Y&lt;/DIV&gt;&lt;DIV&gt;EDIT COLLISION ADJUST_TOOL Y&lt;/DIV&gt;&lt;DIV&gt;EDIT COLLISION APPLY&lt;/DIV&gt;&lt;DIV&gt;COLLISION ACCEPT&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Thu, 05 Oct 2023 09:25:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/how-to-change-macro-1-tool-to-all-help/m-p/12286304#M3250</guid>
      <dc:creator>ken1996th</dc:creator>
      <dc:date>2023-10-05T09:25:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to change macro 1 tool to all.HELP</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/how-to-change-macro-1-tool-to-all-help/m-p/12286316#M3251</link>
      <description>&lt;P&gt;here you go:&lt;/P&gt;&lt;LI-CODE lang="general"&gt;entity list $tps = explorer_selected_entities()
if size($tps) &amp;lt;= 0 {
	return
}
if $tps[0].RootType != 'toolpath' {
	return
}
dialogs message off
foreach $tp in filter($tps, 'this.Computed == 1') {	
	activate toolpath $tp
	EDIT COLLISION TYPE COLLISION
	EDIT COLLISION STOCKMODEL_CHECK N
	EDIT COLLISION SCOPE ALL
	EDIT COLLISION SPLIT_TOOLPATH N
	EDIT PAR 'Verification.UseVerificationThickness' 1
	EDIT PAR 'Verification.UseVerificationThickness' 0
	EDIT COLLISION DEPTH N
	EDIT COLLISION DEPTH Y
	EDIT COLLISION ADJUST_TOOL Y
	EDIT COLLISION APPLY
}
dialogs message on&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 05 Oct 2023 09:30:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/how-to-change-macro-1-tool-to-all-help/m-p/12286316#M3251</guid>
      <dc:creator>icse</dc:creator>
      <dc:date>2023-10-05T09:30:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to change macro 1 tool to all.HELP</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/how-to-change-macro-1-tool-to-all-help/m-p/12286325#M3252</link>
      <description>&lt;P&gt;Thanks&amp;nbsp; you &lt;span class="lia-unicode-emoji" title=":red_heart:"&gt;❤️&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2023 09:34:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/how-to-change-macro-1-tool-to-all-help/m-p/12286325#M3252</guid>
      <dc:creator>ken1996th</dc:creator>
      <dc:date>2023-10-05T09:34:17Z</dc:date>
    </item>
  </channel>
</rss>

