<?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 Programmatically select a PartsListRow to highlight geometry in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/programmatically-select-a-partslistrow-to-highlight-geometry/m-p/13982131#M178992</link>
    <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I am developing an Add-in for my company and I am facing a performance issue regarding selection in the Drawing environment.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The Goal:&lt;/STRONG&gt; I need to programmatically select a specific item (row) in the Parts List. My intention is to replicate the manual behavior: when a user clicks on a row in the Parts List, Inventor automatically highlights/selects the corresponding component on the sheet. This manual behavior meets my needs perfectly.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The Problem:&lt;/STRONG&gt; Currently, I am trying to achieve this highlighting by iterating through DrawingCurves and adding them to the SelectSet. However, this approach is causing significant performance lags (freezing) because some of our parts have a very large number of curves.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The Question:&lt;/STRONG&gt; Is there a way to directly select the PartsListRow object via the API (adding the row itself to the SelectSet) so that Inventor handles the geometry highlighting natively, avoiding the need to iterate through curves?&lt;/P&gt;&lt;P&gt;I have searched for a method to "Select" the row item but haven't found a working solution yet.&lt;/P&gt;&lt;P&gt;Any suggestions or code snippets would be greatly appreciated.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="projeto2SGY8C_0-1768832971186.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1611522i4B87575BA4767F92/image-size/medium?v=v2&amp;amp;px=400" role="button" title="projeto2SGY8C_0-1768832971186.png" alt="projeto2SGY8C_0-1768832971186.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 19 Jan 2026 14:36:22 GMT</pubDate>
    <dc:creator>projeto2SGY8C</dc:creator>
    <dc:date>2026-01-19T14:36:22Z</dc:date>
    <item>
      <title>Programmatically select a PartsListRow to highlight geometry</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/programmatically-select-a-partslistrow-to-highlight-geometry/m-p/13982131#M178992</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I am developing an Add-in for my company and I am facing a performance issue regarding selection in the Drawing environment.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The Goal:&lt;/STRONG&gt; I need to programmatically select a specific item (row) in the Parts List. My intention is to replicate the manual behavior: when a user clicks on a row in the Parts List, Inventor automatically highlights/selects the corresponding component on the sheet. This manual behavior meets my needs perfectly.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The Problem:&lt;/STRONG&gt; Currently, I am trying to achieve this highlighting by iterating through DrawingCurves and adding them to the SelectSet. However, this approach is causing significant performance lags (freezing) because some of our parts have a very large number of curves.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The Question:&lt;/STRONG&gt; Is there a way to directly select the PartsListRow object via the API (adding the row itself to the SelectSet) so that Inventor handles the geometry highlighting natively, avoiding the need to iterate through curves?&lt;/P&gt;&lt;P&gt;I have searched for a method to "Select" the row item but haven't found a working solution yet.&lt;/P&gt;&lt;P&gt;Any suggestions or code snippets would be greatly appreciated.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="projeto2SGY8C_0-1768832971186.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1611522i4B87575BA4767F92/image-size/medium?v=v2&amp;amp;px=400" role="button" title="projeto2SGY8C_0-1768832971186.png" alt="projeto2SGY8C_0-1768832971186.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jan 2026 14:36:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/programmatically-select-a-partslistrow-to-highlight-geometry/m-p/13982131#M178992</guid>
      <dc:creator>projeto2SGY8C</dc:creator>
      <dc:date>2026-01-19T14:36:22Z</dc:date>
    </item>
    <item>
      <title>Re: Programmatically select a PartsListRow to highlight geometry</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/programmatically-select-a-partslistrow-to-highlight-geometry/m-p/13983454#M179010</link>
      <description>&lt;P&gt;I'm just throwing an idea that may be an alternative.&lt;BR /&gt;&lt;BR /&gt;How about you select the components via browser nodes instead?&lt;BR /&gt;Manually, you'll be clicking the components in the browser tree and the component edges in the drawing views will be highlighted.&lt;BR /&gt;&lt;BR /&gt;I noticed though that the highlight color is different&lt;BR /&gt;Red when clicking the partslist row&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="jnowel_0-1768922599366.png" style="width: 460px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1611739iCF7C1BE2991E2F08/image-dimensions/460x237?v=v2" width="460" height="237" role="button" title="jnowel_0-1768922599366.png" alt="jnowel_0-1768922599366.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Green when selecting via browser nodes&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jnowel_1-1768922663000.png" style="width: 462px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1611740i70E6782DBBAB1DE9/image-dimensions/462x241?v=v2" width="462" height="241" role="button" title="jnowel_1-1768922663000.png" alt="jnowel_1-1768922663000.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Below link might help with regards the browser nodes&lt;BR /&gt;&lt;A href="https://forums.autodesk.com/t5/inventor-programming-forum/drawing-tree-nodes-dopreselect-not-highlighting-components-blue/m-p/11205787/highlight/true#M36433" target="_blank"&gt;Solved: Drawing Tree Nodes - DoPreSelect not highlighting components Blue in View - Autodesk Community&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jan 2026 15:31:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/programmatically-select-a-partslistrow-to-highlight-geometry/m-p/13983454#M179010</guid>
      <dc:creator>jnowel</dc:creator>
      <dc:date>2026-01-20T15:31:49Z</dc:date>
    </item>
  </channel>
</rss>

