<?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: Get Toolpath/Tool parameters in AMPU script in PowerMill Forum</title>
    <link>https://forums.autodesk.com/t5/powermill-forum/get-toolpath-tool-parameters-in-ampu-script/m-p/9737213#M10638</link>
    <description>&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was hoping I would be able to solve this issue without creating a UDP.&amp;nbsp; But at least now I know that if I want to preset the Q variables for lead in/out and link feedrate, I will have to create a UDP.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;</description>
    <pubDate>Wed, 09 Sep 2020 10:01:08 GMT</pubDate>
    <dc:creator>cfastNJWK6</dc:creator>
    <dc:date>2020-09-09T10:01:08Z</dc:date>
    <item>
      <title>Get Toolpath/Tool parameters in AMPU script</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/get-toolpath-tool-parameters-in-ampu-script/m-p/9729709#M10636</link>
      <description>&lt;P&gt;I am trying to get&amp;nbsp;&lt;SPAN style="font-family: inherit;"&gt;{powermill}.Tool.FeedSpeed.LeadInFactor into a script in the post-processor.&amp;nbsp; The post is for a Heidenhain control.&amp;nbsp; We are currently using "Q" variables to set the different feedrates.&amp;nbsp; This gives the machine operator a chance to change all cut, rapid, link, and plunge feedrates at the beginning of the program.&amp;nbsp; I am having difficulty setting the initial lead in and lead out feedrates.&amp;nbsp; I need to figure out how to pass the&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit;"&gt;{powermill}.Tool.FeedSpeed.LeadInFactor parameter to a script in AMPU.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;I have tried the following and have received errors every time:&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;var IN = program.ActiveToolpath.GetParameter("%p(FeedRate.LeadInFactor)%"));

var IN = program.ActiveTool.GetParameter("%p(FeedRate)%"));

var IN = program.ActiveToolpath.GetParameter("%p(FeedRate.LeadInFactor)%"));
&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;How can I pass this PowerMill parameter to AMPU?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Sep 2020 12:44:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/get-toolpath-tool-parameters-in-ampu-script/m-p/9729709#M10636</guid>
      <dc:creator>cfastNJWK6</dc:creator>
      <dc:date>2020-09-04T12:44:51Z</dc:date>
    </item>
    <item>
      <title>Re: Get Toolpath/Tool parameters in AMPU script</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/get-toolpath-tool-parameters-in-ampu-script/m-p/9736314#M10637</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;According to the AMPPU Reference you cold only able to get the followings with GetParam("%p(ParamName)%"):&lt;BR /&gt;- Feed Rate Type -&amp;nbsp;&lt;SPAN style="font-family: inherit;"&gt;The Feed Rate Type (UNDEFINED / CUTTING / RAPID / PLUNGE / SKIM / RAMP LEADIN / LEADIN / LEADOUT).&lt;BR /&gt;- Plunge Rate, Skim Rate, Variable Feed Rate, Feed Rate&lt;BR /&gt;&lt;BR /&gt;I think the LeadIn/OutFactor not stored in any CLDATA record.&lt;BR /&gt;Another possible way to push this (or any) info to AMPPU from PM is to define a user parameter at PM, store the desired value in it (even with a macro) and after you able to get this value with a script at AMPPU.&lt;BR /&gt;&lt;BR /&gt;Hope it helps to solve your needs.&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Joe&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Sep 2020 22:28:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/get-toolpath-tool-parameters-in-ampu-script/m-p/9736314#M10637</guid>
      <dc:creator>CAMXPRESS</dc:creator>
      <dc:date>2020-09-08T22:28:44Z</dc:date>
    </item>
    <item>
      <title>Re: Get Toolpath/Tool parameters in AMPU script</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/get-toolpath-tool-parameters-in-ampu-script/m-p/9737213#M10638</link>
      <description>&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was hoping I would be able to solve this issue without creating a UDP.&amp;nbsp; But at least now I know that if I want to preset the Q variables for lead in/out and link feedrate, I will have to create a UDP.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Sep 2020 10:01:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/get-toolpath-tool-parameters-in-ampu-script/m-p/9737213#M10638</guid>
      <dc:creator>cfastNJWK6</dc:creator>
      <dc:date>2020-09-09T10:01:08Z</dc:date>
    </item>
  </channel>
</rss>

