<?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 Macro question in PowerMill Forum</title>
    <link>https://forums.autodesk.com/t5/powermill-forum/macro-question/m-p/12091752#M3775</link>
    <description>&lt;P&gt;Is there a way to treat a Setup entity as a folder in a macro?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When you use&amp;nbsp;&lt;SPAN&gt;INPUT&lt;/SPAN&gt; &lt;SPAN&gt;ENTITY&lt;/SPAN&gt; &lt;SPAN&gt;MULTIPLE&lt;/SPAN&gt; &lt;SPAN&gt;toolpath and your toolpath are in a folder under the toolpath tree, the dropdown shows the folder and the toolpath under it. If the toolpath are in a setup, all you get are the toolpaths in a random order with no reference to a setup.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If you use&amp;nbsp;&lt;SPAN&gt;INPUT&lt;/SPAN&gt; &lt;SPAN&gt;ENTITY&lt;/SPAN&gt; &lt;SPAN&gt;MULTIPLE&lt;/SPAN&gt;&amp;nbsp;setup you just get a list of setups with no toolpath shown.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is there a command to show a setup and the toolpaths under it in a dropdown?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 10 Jul 2023 17:08:13 GMT</pubDate>
    <dc:creator>dames123</dc:creator>
    <dc:date>2023-07-10T17:08:13Z</dc:date>
    <item>
      <title>Macro question</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/macro-question/m-p/12091752#M3775</link>
      <description>&lt;P&gt;Is there a way to treat a Setup entity as a folder in a macro?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When you use&amp;nbsp;&lt;SPAN&gt;INPUT&lt;/SPAN&gt; &lt;SPAN&gt;ENTITY&lt;/SPAN&gt; &lt;SPAN&gt;MULTIPLE&lt;/SPAN&gt; &lt;SPAN&gt;toolpath and your toolpath are in a folder under the toolpath tree, the dropdown shows the folder and the toolpath under it. If the toolpath are in a setup, all you get are the toolpaths in a random order with no reference to a setup.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If you use&amp;nbsp;&lt;SPAN&gt;INPUT&lt;/SPAN&gt; &lt;SPAN&gt;ENTITY&lt;/SPAN&gt; &lt;SPAN&gt;MULTIPLE&lt;/SPAN&gt;&amp;nbsp;setup you just get a list of setups with no toolpath shown.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is there a command to show a setup and the toolpaths under it in a dropdown?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jul 2023 17:08:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/macro-question/m-p/12091752#M3775</guid>
      <dc:creator>dames123</dc:creator>
      <dc:date>2023-07-10T17:08:13Z</dc:date>
    </item>
    <item>
      <title>Re: Macro question</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/macro-question/m-p/12188292#M3776</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Entity list $Set = INPUT ENTITY Setup "pick"&lt;BR /&gt;Activate Setup $Set.name&lt;BR /&gt;STRING LIST n = extract(components(entity('setup','')), 'name')&lt;BR /&gt;STRING LIST TP = INPUT ENTITY MULTIPLE TOOLPATH "pick Toolpaths" "" $n&lt;/P&gt;</description>
      <pubDate>Tue, 22 Aug 2023 13:39:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/macro-question/m-p/12188292#M3776</guid>
      <dc:creator>kevin.hammond3WX4X</dc:creator>
      <dc:date>2023-08-22T13:39:26Z</dc:date>
    </item>
    <item>
      <title>Re: Macro question</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/macro-question/m-p/12188881#M3777</link>
      <description>&lt;P&gt;Thanks Kevin.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That certainly selects the toolpaths but it doesn't correspond to the correct selection. For example, if I select "Rough" toolpath in the dropdown, it performs the macro function (collision check in this case) on an entirely different toolpath under that setup. Setups are tied to the Toolpaths tree folder somehow but they don't act the same. And the ordering is random when selected by a macro.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I'm really looking for is the way&amp;nbsp;&lt;SPAN&gt;ENTITY&lt;/SPAN&gt; &lt;SPAN&gt;LIST&lt;/SPAN&gt;&lt;SPAN&gt; $&lt;/SPAN&gt;&lt;SPAN&gt;ents&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;INPUT&lt;/SPAN&gt; &lt;SPAN&gt;ENTITY&lt;/SPAN&gt; &lt;SPAN&gt;MULTIPLE&lt;/SPAN&gt; &lt;SPAN&gt;toolpath&lt;/SPAN&gt; &lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;Select Toolpaths&lt;/SPAN&gt;&lt;SPAN&gt;" behaves when toolpaths are under the Toolpaths tree folder. You can select the folder in the dropdown and all toolpaths are selected under it.&lt;/SPAN&gt;&lt;/P&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="dames_WKQ27869AUZJ_0-1692725292607.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1256529i280B46B5887FAF80/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dames_WKQ27869AUZJ_0-1692725292607.png" alt="dames_WKQ27869AUZJ_0-1692725292607.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I wish Setups acted this same way but perhaps there is no API for this function.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In any case I appreciate the help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;</description>
      <pubDate>Tue, 22 Aug 2023 17:31:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/macro-question/m-p/12188881#M3777</guid>
      <dc:creator>dames123</dc:creator>
      <dc:date>2023-08-22T17:31:50Z</dc:date>
    </item>
    <item>
      <title>Re: Macro question</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/macro-question/m-p/12190565#M3778</link>
      <description>&lt;P&gt;I agree, that Setups seem to behave differently,&amp;nbsp; I have no further answers for this.&lt;/P&gt;&lt;P&gt;Perhaps raise it as a helpdesk ticket, you might some help from someone more advanced than myself&lt;/P&gt;</description>
      <pubDate>Wed, 23 Aug 2023 10:26:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/macro-question/m-p/12190565#M3778</guid>
      <dc:creator>kevin.hammond3WX4X</dc:creator>
      <dc:date>2023-08-23T10:26:34Z</dc:date>
    </item>
  </channel>
</rss>

