<?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: Drilling Diameter Selection in PowerMill Forum</title>
    <link>https://forums.autodesk.com/t5/powermill-forum/macro-drilling-diameter-selection/m-p/8983520#M14329</link>
    <description>&lt;PRE&gt;&lt;STRONG&gt;&lt;FONT color="#0000FF"&gt;REAL&lt;/FONT&gt;&lt;/STRONG&gt; $diameter = INPUT "What is the diameter of the your drill?"
IF $diameter &amp;lt;= 1.5 {
	IMPORT TEMPLATE ENTITY TOOLPATH TMPLTSELECTORGUI "Drilling/Drilling.ptf"
	EDIT TPPAGE TOOL
	CREATE TOOL ; DRILL
	EDIT TOOL ; DIAMETER $diameter
} ELSE {
	MESSAGE INFO "That is a not a valid Diameter."
}&lt;/PRE&gt;</description>
    <pubDate>Fri, 23 Aug 2019 11:46:12 GMT</pubDate>
    <dc:creator>rafael.sansao</dc:creator>
    <dc:date>2019-08-23T11:46:12Z</dc:date>
    <item>
      <title>MACRO: Drilling Diameter Selection</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/macro-drilling-diameter-selection/m-p/8983504#M14328</link>
      <description>&lt;P&gt;Hey folks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm having an issue getting this macro to identify user input strings and inputting them into the required fields.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is what the macro look like so far.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;STRING $diameter = INPUT "What is the diameter of the your drill?"&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;//Take user data and start building the program&lt;BR /&gt;IF $diameter &amp;lt;= 1.5 {&lt;/P&gt;&lt;P&gt;IMPORT TEMPLATE ENTITY TOOLPATH TMPLTSELECTORGUI "Drilling/Drilling.ptf"&lt;BR /&gt;EDIT TPPAGE TOOL&lt;BR /&gt;CREATE TOOL ; DRILL&lt;BR /&gt;EDIT TOOL ; DIAMETER $diameter //this line is where I am getting the issue&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;} ELSE {&lt;/P&gt;&lt;P&gt;MESSAGE INFO "That is a not a valid Diameter."&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The macro is quite short as I am stuck on that one line.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be awesome.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks guys!&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2019 11:37:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/macro-drilling-diameter-selection/m-p/8983504#M14328</guid>
      <dc:creator>powermillN5SN5</dc:creator>
      <dc:date>2019-08-23T11:37:52Z</dc:date>
    </item>
    <item>
      <title>Re: MACRO: Drilling Diameter Selection</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/macro-drilling-diameter-selection/m-p/8983520#M14329</link>
      <description>&lt;PRE&gt;&lt;STRONG&gt;&lt;FONT color="#0000FF"&gt;REAL&lt;/FONT&gt;&lt;/STRONG&gt; $diameter = INPUT "What is the diameter of the your drill?"
IF $diameter &amp;lt;= 1.5 {
	IMPORT TEMPLATE ENTITY TOOLPATH TMPLTSELECTORGUI "Drilling/Drilling.ptf"
	EDIT TPPAGE TOOL
	CREATE TOOL ; DRILL
	EDIT TOOL ; DIAMETER $diameter
} ELSE {
	MESSAGE INFO "That is a not a valid Diameter."
}&lt;/PRE&gt;</description>
      <pubDate>Fri, 23 Aug 2019 11:46:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/macro-drilling-diameter-selection/m-p/8983520#M14329</guid>
      <dc:creator>rafael.sansao</dc:creator>
      <dc:date>2019-08-23T11:46:12Z</dc:date>
    </item>
    <item>
      <title>Re: MACRO: Drilling Diameter Selection</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/macro-drilling-diameter-selection/m-p/8983528#M14330</link>
      <description>&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can't believe I put STRING instead of REAL....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm an idiot.. haha&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2019 11:49:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/macro-drilling-diameter-selection/m-p/8983528#M14330</guid>
      <dc:creator>powermillN5SN5</dc:creator>
      <dc:date>2019-08-23T11:49:42Z</dc:date>
    </item>
    <item>
      <title>Re: MACRO: Drilling Diameter Selection</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/macro-drilling-diameter-selection/m-p/8983544#M14331</link>
      <description>&lt;P&gt;I'm now getting an RPM value error. I've tried several variants.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Essentially I want it to input an equation that states&amp;nbsp; "191 / $diameter"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EDIT RPM "191" / $diameter // this line is giving me an error..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2019 11:56:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/macro-drilling-diameter-selection/m-p/8983544#M14331</guid>
      <dc:creator>powermillN5SN5</dc:creator>
      <dc:date>2019-08-23T11:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: MACRO: Drilling Diameter Selection</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/macro-drilling-diameter-selection/m-p/8983565#M14332</link>
      <description>&lt;PRE&gt;EDIT RPM ${191/$diameter}&lt;/PRE&gt;</description>
      <pubDate>Fri, 23 Aug 2019 12:04:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/macro-drilling-diameter-selection/m-p/8983565#M14332</guid>
      <dc:creator>rafael.sansao</dc:creator>
      <dc:date>2019-08-23T12:04:19Z</dc:date>
    </item>
  </channel>
</rss>

