<?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: Need macro command for a set value in the surface default tab in PowerMill Forum</title>
    <link>https://forums.autodesk.com/t5/powermill-forum/need-macro-command-for-a-set-value-in-the-surface-default-tab/m-p/11875309#M4248</link>
    <description>&lt;P class="lia-align-left"&gt;That's very much cleaner &lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;! Tomorrow I'll try this method with my RGB-issue also.&lt;/P&gt;</description>
    <pubDate>Wed, 05 Apr 2023 17:00:51 GMT</pubDate>
    <dc:creator>old_snickers</dc:creator>
    <dc:date>2023-04-05T17:00:51Z</dc:date>
    <item>
      <title>Need macro command for a set value in the surface default tab</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/need-macro-command-for-a-set-value-in-the-surface-default-tab/m-p/11871687#M4243</link>
      <description>&lt;P&gt;I am trying to make a macro that takes a set value from the surface default tab of set 5 and uses the radial thickness value only as my curve thickness for 2D curve Profile but I get an error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't know what that command would be and if it would be REAL or STRING.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="visual-basic"&gt;Real overburn= EDIT THICKNESS DEFAULTLIST UPDATE\r 5 NEW 

IMPORT TEMPLATE ENTITY TOOLPATH TMPLTSELECTORGUI "Curve-Machining/2D-Curve-Profile.003.ptf"

EDIT PAR 'CurveThickness' $overburn

EDIT PAR 'Tolerance' ".001"
EDIT PAR 'AreaClearance.Rest.Active' '0'
EDIT PAR 'AreaClearance.Profile.CutDirection' 'climb'
EDIT PAR 'Thickness' "0"
STRING pattern = $entity('pattern','').name
$toolpath.Pattern = $pattern&lt;/LI-CODE&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="iamcdn79_0-1680616297438.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1198098i66D697B3A0E393F3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="iamcdn79_0-1680616297438.png" alt="iamcdn79_0-1680616297438.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2023 13:52:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/need-macro-command-for-a-set-value-in-the-surface-default-tab/m-p/11871687#M4243</guid>
      <dc:creator>iamcdn79</dc:creator>
      <dc:date>2023-04-04T13:52:30Z</dc:date>
    </item>
    <item>
      <title>Re: Need macro command for a set value in the surface default tab</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/need-macro-command-for-a-set-value-in-the-surface-default-tab/m-p/11872572#M4244</link>
      <description>&lt;P&gt;As I remember, the last row can cause error, instead of&lt;/P&gt;&lt;LI-CODE lang="general"&gt;$toolpath.Pattern = $pattern&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;try&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;EDIT PAR "Pattern" $pattern&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;at least older versions of pmill.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2023 18:47:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/need-macro-command-for-a-set-value-in-the-surface-default-tab/m-p/11872572#M4244</guid>
      <dc:creator>kukelyk</dc:creator>
      <dc:date>2023-04-04T18:47:10Z</dc:date>
    </item>
    <item>
      <title>Betreff: Need macro command for a set value in the surface default tab</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/need-macro-command-for-a-set-value-in-the-surface-default-tab/m-p/11873602#M4245</link>
      <description>&lt;P&gt;I found something interesting here by looking for how to capture the RGB-values of a surface...&lt;/P&gt;&lt;P&gt;Try this instead of your first line:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;REAL overburn = 0&lt;BR /&gt;EDIT THICKNESS DEFAULTLIST UPDATE\r 5 NEW&lt;/P&gt;&lt;P&gt;// Capture the value using a tracefile into file C:\Temp\thickness.txt&lt;BR /&gt;ECHO OFF DCPDEBUG UNTRACE COMMAND ACCEPT&lt;BR /&gt;TRACEFILE OPEN "C:\Temp\thickness.txt"&lt;BR /&gt;PRINT formvalue Thickness.Shell.ThickDef.Radial&lt;BR /&gt;TRACEFILE CLOSE&lt;/P&gt;&lt;P&gt;// Read the first line of the Tracefile into variable $overburn&lt;BR /&gt;FILE OPEN "C:\Temp\thickness.txt" FOR READ AS input&lt;BR /&gt;FILE READ $overburn FROM input&lt;BR /&gt;FILE CLOSE input&lt;/P&gt;&lt;P&gt;EDIT PAR 'CurveThickness' $overburn&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2023 05:14:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/need-macro-command-for-a-set-value-in-the-surface-default-tab/m-p/11873602#M4245</guid>
      <dc:creator>old_snickers</dc:creator>
      <dc:date>2023-04-05T05:14:22Z</dc:date>
    </item>
    <item>
      <title>Re: Need macro command for a set value in the surface default tab</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/need-macro-command-for-a-set-value-in-the-surface-default-tab/m-p/11873992#M4246</link>
      <description>&lt;P&gt;Replace your first line with this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EDIT THICKNESS DEFAULTLIST UPDATE\r 5 NEW&lt;BR /&gt;Real Overburn = $widget("Thickness.Shell.ThickDef.Radial").value&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2023 08:54:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/need-macro-command-for-a-set-value-in-the-surface-default-tab/m-p/11873992#M4246</guid>
      <dc:creator>kevin.hammond3WX4X</dc:creator>
      <dc:date>2023-04-05T08:54:34Z</dc:date>
    </item>
    <item>
      <title>Re: Need macro command for a set value in the surface default tab</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/need-macro-command-for-a-set-value-in-the-surface-default-tab/m-p/11874266#M4247</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3959841"&gt;@kukelyk&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;As I remember, the last row can cause error, instead of&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;$toolpath.Pattern = $pattern&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;try&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;EDIT PAR "Pattern" $pattern&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;at least older versions of pmill.&lt;/P&gt;&lt;HR /&gt;&lt;P&gt;In 2023 that's no problem&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2023 11:15:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/need-macro-command-for-a-set-value-in-the-surface-default-tab/m-p/11874266#M4247</guid>
      <dc:creator>iamcdn79</dc:creator>
      <dc:date>2023-04-05T11:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: Need macro command for a set value in the surface default tab</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/need-macro-command-for-a-set-value-in-the-surface-default-tab/m-p/11875309#M4248</link>
      <description>&lt;P class="lia-align-left"&gt;That's very much cleaner &lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;! Tomorrow I'll try this method with my RGB-issue also.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2023 17:00:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/need-macro-command-for-a-set-value-in-the-surface-default-tab/m-p/11875309#M4248</guid>
      <dc:creator>old_snickers</dc:creator>
      <dc:date>2023-04-05T17:00:51Z</dc:date>
    </item>
  </channel>
</rss>

