<?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 Re: Capture ActiveLevelOfDetailRepresentation value in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/capture-activelevelofdetailrepresentation-value/m-p/12818597#M168113</link>
    <description>&lt;P&gt;To get the item, it's "Item(Value).":&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.autodesk.com/view/INVNTOR/2023/ENU/?guid=GUID-780E05F5-6334-4F34-AC70-D519516A2DF6" target="_blank"&gt;https://help.autodesk.com/view/INVNTOR/2023/ENU/?guid=GUID-780E05F5-6334-4F34-AC70-D519516A2DF6&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 04 Jun 2024 19:58:11 GMT</pubDate>
    <dc:creator>Frederick_Law</dc:creator>
    <dc:date>2024-06-04T19:58:11Z</dc:date>
    <item>
      <title>Capture ActiveLevelOfDetailRepresentation value</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/capture-activelevelofdetailrepresentation-value/m-p/12818575#M168111</link>
      <description>&lt;P&gt;I am just trying to capture the value of the ActiveLevelOfDetailRepresentation that is under the Item.Definition but when I do it throws an error "Compile error:&amp;nbsp; Argument not optional" and highlights the ".Item".&amp;nbsp; I know that the value is populated because if I do a watch on it, I see what is attached.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried this:&lt;/P&gt;&lt;P&gt;Set oSubs = oDef.ReferenceComponents.DerivedAssemblyComponents&lt;/P&gt;&lt;P&gt;Dim DerivedNameRef As String&lt;/P&gt;&lt;P&gt;DerivedNameRef = oSubs.Item.Definition.ActiveLevelOfDetailRepresentation&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But when I do that it shows the error and highlights the .Item in the third line above.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jun 2024 19:51:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/capture-activelevelofdetailrepresentation-value/m-p/12818575#M168111</guid>
      <dc:creator>ashhof</dc:creator>
      <dc:date>2024-06-04T19:51:39Z</dc:date>
    </item>
    <item>
      <title>Re: Capture ActiveLevelOfDetailRepresentation value</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/capture-activelevelofdetailrepresentation-value/m-p/12818593#M168112</link>
      <description>&lt;P&gt;shoot.&amp;nbsp; Right after I posted this, I figured it out.&amp;nbsp; I was missing the argument.&amp;nbsp; So I needed this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DerivedNameRef = oSubs.Item(1).Definition.ActiveLevelOfDetailRepresentation&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jun 2024 19:57:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/capture-activelevelofdetailrepresentation-value/m-p/12818593#M168112</guid>
      <dc:creator>ashhof</dc:creator>
      <dc:date>2024-06-04T19:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: Capture ActiveLevelOfDetailRepresentation value</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/capture-activelevelofdetailrepresentation-value/m-p/12818597#M168113</link>
      <description>&lt;P&gt;To get the item, it's "Item(Value).":&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.autodesk.com/view/INVNTOR/2023/ENU/?guid=GUID-780E05F5-6334-4F34-AC70-D519516A2DF6" target="_blank"&gt;https://help.autodesk.com/view/INVNTOR/2023/ENU/?guid=GUID-780E05F5-6334-4F34-AC70-D519516A2DF6&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jun 2024 19:58:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/capture-activelevelofdetailrepresentation-value/m-p/12818597#M168113</guid>
      <dc:creator>Frederick_Law</dc:creator>
      <dc:date>2024-06-04T19:58:11Z</dc:date>
    </item>
  </channel>
</rss>

