<?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 Betreff: SelectionFilterEnum filter for hatch selecting with &amp;quot;Pick&amp;quot; iLogic command in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/selectionfilterenum-filter-for-hatch-selecting-with-quot-pick/m-p/13903246#M178084</link>
    <description>&lt;P&gt;Autodesk would say, thats not a bug it's "as designed, go to Idea Station..."&lt;/P&gt;</description>
    <pubDate>Thu, 13 Nov 2025 14:44:43 GMT</pubDate>
    <dc:creator>cidhelp</dc:creator>
    <dc:date>2025-11-13T14:44:43Z</dc:date>
    <item>
      <title>SelectionFilterEnum filter for hatch selecting with "Pick" iLogic command</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/selectionfilterenum-filter-for-hatch-selecting-with-quot-pick/m-p/13902688#M178080</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anybody has know which filter ("SelectionFilterEnum") to use in "Pick" command from "CommandManager" (code below) to select only "Hatch" ("DrawingViewHatchRegion") or the part that has a "Hatch"?&lt;/P&gt;&lt;P&gt;I have a feeling that it is not possible / implemented, but I ask anyway if anybody may know this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What we want to do is to run the iLogic rule, which has "Pick" command and we would click on "Hatches" we want to changed with specific parameters. Alternatively we could also click on the part that has a hatch, but first option is better.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Code example:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN&gt;CommandManager&lt;/SPAN&gt;.&lt;SPAN&gt;Pick&lt;/SPAN&gt;(&lt;SPAN&gt;SelectionFilterEnum&lt;/SPAN&gt;.&lt;SPAN&gt;kDrawingViewFilter&lt;/SPAN&gt;, "Select object.")&lt;/PRE&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="ReneRepina_0-1763032524898.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1595245i71DA526821DF5CDB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ReneRepina_0-1763032524898.png" alt="ReneRepina_0-1763032524898.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Rene Repina&lt;/P&gt;</description>
      <pubDate>Thu, 13 Nov 2025 11:16:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/selectionfilterenum-filter-for-hatch-selecting-with-quot-pick/m-p/13902688#M178080</guid>
      <dc:creator>ReneRepina</dc:creator>
      <dc:date>2025-11-13T11:16:16Z</dc:date>
    </item>
    <item>
      <title>Betreff: SelectionFilterEnum filter for hatch selecting with "Pick" iLogic command</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/selectionfilterenum-filter-for-hatch-selecting-with-quot-pick/m-p/13903179#M178082</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5053305"&gt;@ReneRepina&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;there is rarely support for drawingview hatch-objects.&lt;/P&gt;&lt;P&gt;If you use &lt;EM&gt;&lt;STRONG&gt;kAllEntitiesFilter&lt;/STRONG&gt;&lt;/EM&gt; you can't select a hatch-object.&lt;/P&gt;&lt;P&gt;If you select a hatch at the UI and use &lt;EM&gt;&lt;STRONG&gt;Thisapplication.ActiveDocument.Selectset(1)&lt;/STRONG&gt; &lt;/EM&gt;you get &lt;STRONG&gt;Nothing&lt;/STRONG&gt;!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use Pick with &lt;EM&gt;&lt;STRONG&gt;kDrawingCurveSegmentFilter&lt;/STRONG&gt;&lt;/EM&gt; to get an DrawingCurveSegment.&lt;/P&gt;&lt;P&gt;From this you can get the DrawingCurve and furthermore the SurfaceBody and the DrawingView for the selected object.&lt;/P&gt;&lt;P&gt;Finally loop through the drawingview's HatchRegions and check if the hatchregion's SurfaceBody is the drawingcurve's SurfaceBody.&lt;/P&gt;&lt;P&gt;If thats True, you have the HatchRegion from the selected DrawingCurveSegment, yeah!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Nov 2025 13:57:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/selectionfilterenum-filter-for-hatch-selecting-with-quot-pick/m-p/13903179#M178082</guid>
      <dc:creator>cidhelp</dc:creator>
      <dc:date>2025-11-13T13:57:13Z</dc:date>
    </item>
    <item>
      <title>Betreff: SelectionFilterEnum filter for hatch selecting with "Pick" iLogic command</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/selectionfilterenum-filter-for-hatch-selecting-with-quot-pick/m-p/13903186#M178083</link>
      <description>&lt;P&gt;Hello &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/837416"&gt;@cidhelp&lt;/a&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, I though so...&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":frowning_face:"&gt;☹️&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;kAllEntitiesFilter --&amp;gt; I have tried that, but as you already said, no luck.&lt;BR /&gt;Thisapplication.ActiveDocument.Selectset(1) --&amp;gt; It is really strange this goes to "Nothing", since it is a "DrawingViewHatchRegion" object? Bug?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for answer and suggestion! I was going into this direction, but I did not want to.&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face_with_sweat:"&gt;😅&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Nov 2025 14:01:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/selectionfilterenum-filter-for-hatch-selecting-with-quot-pick/m-p/13903186#M178083</guid>
      <dc:creator>ReneRepina</dc:creator>
      <dc:date>2025-11-13T14:01:14Z</dc:date>
    </item>
    <item>
      <title>Betreff: SelectionFilterEnum filter for hatch selecting with "Pick" iLogic command</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/selectionfilterenum-filter-for-hatch-selecting-with-quot-pick/m-p/13903246#M178084</link>
      <description>&lt;P&gt;Autodesk would say, thats not a bug it's "as designed, go to Idea Station..."&lt;/P&gt;</description>
      <pubDate>Thu, 13 Nov 2025 14:44:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/selectionfilterenum-filter-for-hatch-selecting-with-quot-pick/m-p/13903246#M178084</guid>
      <dc:creator>cidhelp</dc:creator>
      <dc:date>2025-11-13T14:44:43Z</dc:date>
    </item>
    <item>
      <title>Betreff: SelectionFilterEnum filter for hatch selecting with "Pick" iLogic command</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/selectionfilterenum-filter-for-hatch-selecting-with-quot-pick/m-p/13903267#M178085</link>
      <description>&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":face_with_tears_of_joy:"&gt;😂&lt;/span&gt;&lt;span class="lia-unicode-emoji" title=":ok_hand:"&gt;👌&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Nov 2025 15:01:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/selectionfilterenum-filter-for-hatch-selecting-with-quot-pick/m-p/13903267#M178085</guid>
      <dc:creator>ReneRepina</dc:creator>
      <dc:date>2025-11-13T15:01:48Z</dc:date>
    </item>
  </channel>
</rss>

