<?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 Align Workplane To Geometry With A Macro in PowerMill Forum</title>
    <link>https://forums.autodesk.com/t5/powermill-forum/align-workplane-to-geometry-with-a-macro/m-p/7773376#M23094</link>
    <description>&lt;P&gt;I came across this&amp;nbsp;&lt;A href="https://forums.autodesk.com/t5/powermill-forum/macro-for-iterating-selected-surfaces/td-p/7108209" target="_blank"&gt;post&lt;/A&gt;&amp;nbsp;and I made some use out of the solution. One thing I haven't been able to get to work though is aligning a workplane to the geometry of each selected surface. I use the code...&lt;/P&gt;&lt;PRE&gt;MODE WORKPLANE_CREATE ; SELECTION CENTRE&lt;/PRE&gt;&lt;P&gt;to get a workplane off the surface but I can't seem to get it aligned properly with the code&lt;/P&gt;&lt;PRE&gt;MODE WORKPLANE_EDIT ALIGN GEOMETRY&lt;/PRE&gt;&lt;P&gt;Is this even possible without user input?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 13 Feb 2018 09:21:53 GMT</pubDate>
    <dc:creator>danmic7JH66</dc:creator>
    <dc:date>2018-02-13T09:21:53Z</dc:date>
    <item>
      <title>Align Workplane To Geometry With A Macro</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/align-workplane-to-geometry-with-a-macro/m-p/7773376#M23094</link>
      <description>&lt;P&gt;I came across this&amp;nbsp;&lt;A href="https://forums.autodesk.com/t5/powermill-forum/macro-for-iterating-selected-surfaces/td-p/7108209" target="_blank"&gt;post&lt;/A&gt;&amp;nbsp;and I made some use out of the solution. One thing I haven't been able to get to work though is aligning a workplane to the geometry of each selected surface. I use the code...&lt;/P&gt;&lt;PRE&gt;MODE WORKPLANE_CREATE ; SELECTION CENTRE&lt;/PRE&gt;&lt;P&gt;to get a workplane off the surface but I can't seem to get it aligned properly with the code&lt;/P&gt;&lt;PRE&gt;MODE WORKPLANE_EDIT ALIGN GEOMETRY&lt;/PRE&gt;&lt;P&gt;Is this even possible without user input?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2018 09:21:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/align-workplane-to-geometry-with-a-macro/m-p/7773376#M23094</guid>
      <dc:creator>danmic7JH66</dc:creator>
      <dc:date>2018-02-13T09:21:53Z</dc:date>
    </item>
    <item>
      <title>Re: Align Workplane To Geometry With A Macro</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/align-workplane-to-geometry-with-a-macro/m-p/7774269#M23095</link>
      <description>&lt;P&gt;It looks like similar to this &lt;A href="https://forums.autodesk.com/t5/powermill-forum/macro-automatic-i-j-k-values-from-selected-surface/m-p/7474727" target="_blank"&gt;post&lt;/A&gt; ?&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2018 15:01:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/align-workplane-to-geometry-with-a-macro/m-p/7774269#M23095</guid>
      <dc:creator>5axes</dc:creator>
      <dc:date>2018-02-13T15:01:41Z</dc:date>
    </item>
    <item>
      <title>Re: Align Workplane To Geometry With A Macro</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/align-workplane-to-geometry-with-a-macro/m-p/7775912#M23096</link>
      <description>&lt;P&gt;Never seen that one, Ill give it a whirl and report back, thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2018 02:04:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/align-workplane-to-geometry-with-a-macro/m-p/7775912#M23096</guid>
      <dc:creator>danmic7JH66</dc:creator>
      <dc:date>2018-02-14T02:04:59Z</dc:date>
    </item>
    <item>
      <title>Re: Align Workplane To Geometry With A Macro</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/align-workplane-to-geometry-with-a-macro/m-p/7779583#M23097</link>
      <description>&lt;P&gt;Pretty similar and it helps, I understand how it gets the i,j,k values but is there a way to rotate a workplane along those values?&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2018 08:39:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/align-workplane-to-geometry-with-a-macro/m-p/7779583#M23097</guid>
      <dc:creator>danmic7JH66</dc:creator>
      <dc:date>2018-02-15T08:39:55Z</dc:date>
    </item>
    <item>
      <title>Re: Align Workplane To Geometry With A Macro</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/align-workplane-to-geometry-with-a-macro/m-p/7780803#M23098</link>
      <description>&lt;P&gt;Use the command&lt;/P&gt;
&lt;PRE&gt;MODE WORKPLANE_EDIT DIRECTION Z&lt;BR /&gt;MODE DIRECTION COMPONENT I $VectI&lt;BR /&gt;MODE DIRECTION COMPONENT J $VectJ&lt;BR /&gt;MODE DIRECTION COMPONENT K $VectK&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EditWorkplane.jpg" style="width: 337px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/463544i25E266B322B2B109/image-size/large?v=v2&amp;amp;px=999" role="button" title="EditWorkplane.jpg" alt="EditWorkplane.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2018 15:22:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/align-workplane-to-geometry-with-a-macro/m-p/7780803#M23098</guid>
      <dc:creator>5axes</dc:creator>
      <dc:date>2018-02-15T15:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: Align Workplane To Geometry With A Macro</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/align-workplane-to-geometry-with-a-macro/m-p/7782516#M23099</link>
      <description>&lt;P&gt;You're a doll thanks a million.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Feb 2018 04:53:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/align-workplane-to-geometry-with-a-macro/m-p/7782516#M23099</guid>
      <dc:creator>danmic7JH66</dc:creator>
      <dc:date>2018-02-16T04:53:06Z</dc:date>
    </item>
  </channel>
</rss>

