<?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: Are attributes not implemented in ApprenticeServer in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/are-attributes-not-implemented-in-apprenticeserver/m-p/14190716#M181106</link>
    <description>&lt;P&gt;I did some additional test.&lt;/P&gt;
&lt;LI-CODE lang="csharp"&gt;var attSets = doc.AttributeSets;

attSets = doc.Sheets[1].AttributeSets; &lt;/LI-CODE&gt;
&lt;DIV&gt;I don't get an exception online 1. wich tells me that attributes are supported.&lt;/DIV&gt;
&lt;DIV&gt;however i still get the exception&amp;nbsp;"Not implemented (0x80004001 (E_NOTIMPL))" on the 2e line. Therfore I come to the conclusion that attributes are not supported for sheets.&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 07 Jul 2026 05:59:02 GMT</pubDate>
    <dc:creator>JelteDeJong</dc:creator>
    <dc:date>2026-07-07T05:59:02Z</dc:date>
    <item>
      <title>Are attributes not implemented in ApprenticeServer</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/are-attributes-not-implemented-in-apprenticeserver/m-p/14189903#M181094</link>
      <description>&lt;DIV&gt;
&lt;DIV class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;I'm developing a Vault add-in that needs to read information from Inventor documents stored in a folder. I wanted to avoid using a full Inventor instance, and as far as I know, Inventor Server is not available for Vault add-ins. Because of that, I'm using &lt;STRONG&gt;ApprenticeServer&lt;/STRONG&gt;.&lt;/DIV&gt;
&lt;DIV class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;Inside a function, I have the following code:&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;LI-CODE lang="general"&gt;var sheetCollection = doc.AttributeManager.FindObjects();
var sheets = sheetCollection.Cast&amp;lt;Sheet&amp;gt;();&lt;/LI-CODE&gt;
&lt;DIV&gt;
&lt;DIV class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;My understanding is that &lt;CODE&gt;FindObjects()&lt;/CODE&gt; should return all objects that have attributes assigned to them (not just sheets). However, the collection is empty. No objects are returned, and no exception is thrown.&lt;/DIV&gt;
&lt;DIV class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;When I run the same code in an iLogic rule, &lt;CODE&gt;FindObjects()&lt;/CODE&gt; returns 79 objects, so something is clearly behaving differently.&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;As an additional test, I tried:&lt;/DIV&gt;
&lt;LI-CODE lang="csharp"&gt;var attSets = doc.Sheets[1].AttributeSets;&lt;/LI-CODE&gt;
&lt;DIV&gt;To my surprise, this throws the following exception:&lt;/DIV&gt;
&lt;P&gt;"Not implemented (0x80004001 (E_NOTIMPL))"&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;It is my first time working with the&amp;nbsp;ApprenticeServer but i cant imagen that this is not implemented. Therfore I guess that i did some thing wrong. Can any one tell me what could cause this (or that it's realy not implemented)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;This is my first time working with &lt;STRONG&gt;ApprenticeServer&lt;/STRONG&gt;, but I find it hard to believe that attribute access is not implemented. Because of that, I suspect I may be doing something wrong.&lt;/DIV&gt;
&lt;DIV class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;Can anyone confirm whether &lt;CODE&gt;AttributeManager&lt;/CODE&gt; and &lt;CODE&gt;AttributeSets&lt;/CODE&gt; are supported when using ApprenticeServer, or point out what might be causing this behavior?&lt;BR /&gt;&lt;BR /&gt;i have refrenced inventor like this im my project file:&lt;BR /&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;ItemGroup&amp;gt;
	&amp;lt;Reference Include="Autodesk.Inventor.Interop"&amp;gt;
	&amp;lt;HintPath&amp;gt;C:\Program Files\Autodesk\Inventor 2026\Bin\Public Assemblies\v30.0\Autodesk.Inventor.Interop.dll&amp;lt;/HintPath&amp;gt;
	&amp;lt;EmbedInteropTypes&amp;gt;False&amp;lt;/EmbedInteropTypes&amp;gt;
	&amp;lt;/Reference&amp;gt;
&amp;lt;/ItemGroup&amp;gt;​&lt;/LI-CODE&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jul 2026 13:42:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/are-attributes-not-implemented-in-apprenticeserver/m-p/14189903#M181094</guid>
      <dc:creator>JelteDeJong</dc:creator>
      <dc:date>2026-07-06T13:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: Are attributes not implemented in ApprenticeServer</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/are-attributes-not-implemented-in-apprenticeserver/m-p/14190716#M181106</link>
      <description>&lt;P&gt;I did some additional test.&lt;/P&gt;
&lt;LI-CODE lang="csharp"&gt;var attSets = doc.AttributeSets;

attSets = doc.Sheets[1].AttributeSets; &lt;/LI-CODE&gt;
&lt;DIV&gt;I don't get an exception online 1. wich tells me that attributes are supported.&lt;/DIV&gt;
&lt;DIV&gt;however i still get the exception&amp;nbsp;"Not implemented (0x80004001 (E_NOTIMPL))" on the 2e line. Therfore I come to the conclusion that attributes are not supported for sheets.&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jul 2026 05:59:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/are-attributes-not-implemented-in-apprenticeserver/m-p/14190716#M181106</guid>
      <dc:creator>JelteDeJong</dc:creator>
      <dc:date>2026-07-07T05:59:02Z</dc:date>
    </item>
  </channel>
</rss>

