<?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 filter function confused in PowerMill Forum</title>
    <link>https://forums.autodesk.com/t5/powermill-forum/filter-function-confused/m-p/8931831#M14638</link>
    <description>&lt;P&gt;About the filter function.&lt;BR /&gt;I use the filter function to get toolpaths which is set rest.active.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;ENTITY LIST EntityToolpaths = filter(folder('Toolpath'), 'AreaClearance.Rest.Active==1')&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But when I use filter to the toolpath which where use specify tool, it raise error infor.&lt;BR /&gt;Can somebody tell me why.&lt;/P&gt;&lt;PRE&gt;ENTITY LIST UseToolToolpaths = filter(folder('Toolpath'), "Tool.Name=='1'")&lt;/PRE&gt;&lt;P&gt;How can I to get the toolpath list which was use the tool 1.&lt;/P&gt;</description>
    <pubDate>Fri, 26 Jul 2019 03:32:52 GMT</pubDate>
    <dc:creator>hx</dc:creator>
    <dc:date>2019-07-26T03:32:52Z</dc:date>
    <item>
      <title>filter function confused</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/filter-function-confused/m-p/8931831#M14638</link>
      <description>&lt;P&gt;About the filter function.&lt;BR /&gt;I use the filter function to get toolpaths which is set rest.active.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;ENTITY LIST EntityToolpaths = filter(folder('Toolpath'), 'AreaClearance.Rest.Active==1')&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But when I use filter to the toolpath which where use specify tool, it raise error infor.&lt;BR /&gt;Can somebody tell me why.&lt;/P&gt;&lt;PRE&gt;ENTITY LIST UseToolToolpaths = filter(folder('Toolpath'), "Tool.Name=='1'")&lt;/PRE&gt;&lt;P&gt;How can I to get the toolpath list which was use the tool 1.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jul 2019 03:32:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/filter-function-confused/m-p/8931831#M14638</guid>
      <dc:creator>hx</dc:creator>
      <dc:date>2019-07-26T03:32:52Z</dc:date>
    </item>
    <item>
      <title>Re: filter function confused</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/filter-function-confused/m-p/8932168#M14639</link>
      <description>&lt;PRE&gt;ENTITY LIST UseToolToolpaths = filter(folder('Toolpath'), "Tool.&lt;FONT color="#00ff00"&gt;Identifier&lt;/FONT&gt;=='1'")&lt;/PRE&gt;&lt;P&gt;Problem: The Tool.Identifier&amp;nbsp; n&lt;FONT&gt;ot necessarily unique...&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jul 2019 08:23:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/filter-function-confused/m-p/8932168#M14639</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-26T08:23:20Z</dc:date>
    </item>
    <item>
      <title>Re: filter function confused</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/filter-function-confused/m-p/8932302#M14640</link>
      <description>&lt;P&gt;The problem that you'll have is if one of the toolapths' doesn't have a tool. In such cases '"Tool.Name' will raise an error.&lt;/P&gt;&lt;P&gt;Try something like:&lt;/P&gt;&lt;PRE&gt;ENTITY LIST UseToolToolpaths = filter(filter(folder('Toolpath'), 'entity_exists(Tool)'),"Tool.Name=='1'")&lt;/PRE&gt;&lt;P&gt;the inner filter will return a list of toolapths that have a tool to the outer filter which then returns just the toolpaths that use the Tool named '1'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jul 2019 09:25:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/filter-function-confused/m-p/8932302#M14640</guid>
      <dc:creator>urizenYHS3W</dc:creator>
      <dc:date>2019-07-26T09:25:22Z</dc:date>
    </item>
  </channel>
</rss>

