<?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: How to use ApprenticeServerComponent and ApprenticeServerDocument in .Net classlibrary(c# dll) in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/how-to-use-apprenticeservercomponent-and/m-p/11432469#M142840</link>
    <description>&lt;P&gt;Thank you for your response&amp;nbsp;JelteDeJong.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Inventor.ApprenticeServerComponent apprentice = new Inventor.ApprenticeServerComponent();&lt;BR /&gt;Inventor.ApprenticeServerDocument apprenticeDoc = apprentice.Open(Filename);&lt;BR /&gt;Inventor.PropertySet summaryPropSet = apprenticeDoc.PropertySets["Inventor Document Summary Information"];&lt;BR /&gt;Inventor.Property companyProp = summaryPropSet["Company"];&lt;BR /&gt;companyProp.Value = "&lt;A href="http://www.hjalte.nl" target="_blank"&gt;www.hjalte.nl&lt;/A&gt;";&lt;BR /&gt;apprenticeDoc.PropertySets.FlushToFile();&lt;BR /&gt;apprenticeDoc.Close();&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The above code it is working fine for Console Application(C#) or Windows Application(C#).&lt;BR /&gt;But in class library (dll) it is not working.&lt;BR /&gt;Can you please let me know is there any solution is there to execute in&amp;nbsp;class library (dll).&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;Vijay&lt;/P&gt;</description>
    <pubDate>Tue, 20 Sep 2022 05:25:42 GMT</pubDate>
    <dc:creator>vijaykumarreddy25</dc:creator>
    <dc:date>2022-09-20T05:25:42Z</dc:date>
    <item>
      <title>How to use ApprenticeServerComponent and ApprenticeServerDocument in .Net classlibrary(c# dll)</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/how-to-use-apprenticeservercomponent-and/m-p/11427405#M142829</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Please provide solution for how to use ApprenticeServerComponent and ApprenticeServerDocument in .Net classlibrary(c# dll).&lt;/P&gt;&lt;P&gt;My requirement is to open document using ApprenticeServerComponent in .Net classlibrary(c# dll).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;</description>
      <pubDate>Sat, 17 Sep 2022 01:33:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/how-to-use-apprenticeservercomponent-and/m-p/11427405#M142829</guid>
      <dc:creator>vijaykumarreddy25</dc:creator>
      <dc:date>2022-09-17T01:33:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to use ApprenticeServerComponent and ApprenticeServerDocument in .Net classlibrary(c# dll)</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/how-to-use-apprenticeservercomponent-and/m-p/11429558#M142830</link>
      <description>&lt;P&gt;You might have more luck reposting over on the customisation forum here:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/inventor-ilogic-and-vb-net-forum/bd-p/120" target="_blank"&gt;Inventor iLogic and VB.net Forum - Autodesk Community&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One of the forum moderators can move this post for you.&lt;/P&gt;</description>
      <pubDate>Sun, 18 Sep 2022 20:19:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/how-to-use-apprenticeservercomponent-and/m-p/11429558#M142830</guid>
      <dc:creator>pcrawley</dc:creator>
      <dc:date>2022-09-18T20:19:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to use ApprenticeServerComponent and ApprenticeServerDocument in .Net classlibrary(c# dll)</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/how-to-use-apprenticeservercomponent-and/m-p/11431665#M142831</link>
      <description>&lt;P&gt;You might want to look at this post "&lt;A href="https://modthemachine.typepad.com/my_weblog/2010/03/iproperties-without-inventor-apprentice.html" target="_blank" rel="noopener"&gt;iProperties Without Inventor (Apprentice)&lt;/A&gt;". In the post, they use vb.net. I translated to C# (but did not test it.) it looks something like this:&lt;/P&gt;
&lt;LI-CODE lang="csharp"&gt;Inventor.ApprenticeServerComponent apprentice = new Inventor.ApprenticeServerComponent();
Inventor.ApprenticeServerDocument apprenticeDoc = apprentice.Open(Filename);

Inventor.PropertySet summaryPropSet = apprenticeDoc.PropertySets["Inventor Document Summary Information"];
Inventor.Property companyProp = summaryPropSet["Company"];
companyProp.Value = "www.hjalte.nl";

apprenticeDoc.PropertySets.FlushToFile();

apprenticeDoc.Close();&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Sep 2022 19:07:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/how-to-use-apprenticeservercomponent-and/m-p/11431665#M142831</guid>
      <dc:creator>JelteDeJong</dc:creator>
      <dc:date>2022-09-19T19:07:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to use ApprenticeServerComponent and ApprenticeServerDocument in .Net classlibrary(c# dll)</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/how-to-use-apprenticeservercomponent-and/m-p/11432469#M142840</link>
      <description>&lt;P&gt;Thank you for your response&amp;nbsp;JelteDeJong.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Inventor.ApprenticeServerComponent apprentice = new Inventor.ApprenticeServerComponent();&lt;BR /&gt;Inventor.ApprenticeServerDocument apprenticeDoc = apprentice.Open(Filename);&lt;BR /&gt;Inventor.PropertySet summaryPropSet = apprenticeDoc.PropertySets["Inventor Document Summary Information"];&lt;BR /&gt;Inventor.Property companyProp = summaryPropSet["Company"];&lt;BR /&gt;companyProp.Value = "&lt;A href="http://www.hjalte.nl" target="_blank"&gt;www.hjalte.nl&lt;/A&gt;";&lt;BR /&gt;apprenticeDoc.PropertySets.FlushToFile();&lt;BR /&gt;apprenticeDoc.Close();&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The above code it is working fine for Console Application(C#) or Windows Application(C#).&lt;BR /&gt;But in class library (dll) it is not working.&lt;BR /&gt;Can you please let me know is there any solution is there to execute in&amp;nbsp;class library (dll).&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;Vijay&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2022 05:25:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/how-to-use-apprenticeservercomponent-and/m-p/11432469#M142840</guid>
      <dc:creator>vijaykumarreddy25</dc:creator>
      <dc:date>2022-09-20T05:25:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to use ApprenticeServerComponent and ApprenticeServerDocument in .Net classlibrary(c# dll)</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/how-to-use-apprenticeservercomponent-and/m-p/11433921#M142871</link>
      <description>&lt;P&gt;Is the platform target for your application using the DLL set to x64? It cannot be 'Any CPU'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Edit:&amp;nbsp; Just to clarify, it can't be 'Any CPU' with 'Prefer 32-bit' checked (which is the default).&amp;nbsp; So either unchecking 'Prefer 32-bit' with 'Any CPU' or selecting x64 will work.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2022 17:49:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/how-to-use-apprenticeservercomponent-and/m-p/11433921#M142871</guid>
      <dc:creator>jjstr8</dc:creator>
      <dc:date>2022-09-20T17:49:07Z</dc:date>
    </item>
  </channel>
</rss>

