<?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: Apprentice Server COM Exception with Inventor 2015 in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/apprentice-server-com-exception-with-inventor-2015/m-p/6704797#M114164</link>
    <description>&lt;P&gt;It seems this is still a problem with Inventor 2017, Catastrophic Failure when you try do the above!!&lt;/P&gt;</description>
    <pubDate>Wed, 23 Nov 2016 10:33:33 GMT</pubDate>
    <dc:creator>sverduyn</dc:creator>
    <dc:date>2016-11-23T10:33:33Z</dc:date>
    <item>
      <title>Apprentice Server COM Exception with Inventor 2015</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/apprentice-server-com-exception-with-inventor-2015/m-p/5919548#M114162</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have some sample code from the Mod The Machine Blog, which runs on Inventor2012 without problems, &amp;nbsp;but with Inventor 2015 it throws an exception.&lt;/P&gt;&lt;P&gt;I have no idea whats going wrong.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(Code from:&amp;nbsp;&lt;A href="http://modthemachine.typepad.com/my_weblog/2013/09/working-with-cameras-part-2.html)" target="_blank"&gt;http://modthemachine.typepad.com/my_weblog/2013/09/working-with-cameras-part-2.html)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Private Sub CreateImage( _&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Apprentice As Inventor.ApprenticeServerComponent, _ &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PartOrAssembly As Inventor.ApprenticeServerDocument, _ &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Filename As String) &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; ' Create a new camera.&lt;/STRONG&gt; &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp; Dim cam As Inventor.Camera &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp; cam = Apprentice.TransientObjects.CreateCamera &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; ' Associate the document with the camera.&lt;/STRONG&gt; &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp; cam.SceneObject = PartOrAssembly.ComponentDefinition&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This last line throws a&amp;nbsp; "System.Runtime.InteropServices.COMException"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I know that this have worked with Inventor 2012 as i have build a small "Snapshot" App with this code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any Ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 22 Nov 2015 13:05:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/apprentice-server-com-exception-with-inventor-2015/m-p/5919548#M114162</guid>
      <dc:creator>RonaldDold1034</dc:creator>
      <dc:date>2015-11-22T13:05:14Z</dc:date>
    </item>
    <item>
      <title>Re: Apprentice Server COM Exception with Inventor 2015</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/apprentice-server-com-exception-with-inventor-2015/m-p/5925197#M114163</link>
      <description>&lt;P&gt;Hi Ronald,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It does seem to be an issue &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; and so I have logged it in our system, #110672&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I cannot think of a workaround other than using Inventor (e.g. in the background)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2015 20:26:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/apprentice-server-com-exception-with-inventor-2015/m-p/5925197#M114163</guid>
      <dc:creator>adam.nagy</dc:creator>
      <dc:date>2015-11-25T20:26:46Z</dc:date>
    </item>
    <item>
      <title>Re: Apprentice Server COM Exception with Inventor 2015</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/apprentice-server-com-exception-with-inventor-2015/m-p/6704797#M114164</link>
      <description>&lt;P&gt;It seems this is still a problem with Inventor 2017, Catastrophic Failure when you try do the above!!&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2016 10:33:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/apprentice-server-com-exception-with-inventor-2015/m-p/6704797#M114164</guid>
      <dc:creator>sverduyn</dc:creator>
      <dc:date>2016-11-23T10:33:33Z</dc:date>
    </item>
    <item>
      <title>Re: Apprentice Server COM Exception with Inventor 2015</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/apprentice-server-com-exception-with-inventor-2015/m-p/6712817#M114165</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unfortunately, it seems this has not been sorted yet &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'll try to raise the priority on this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;</description>
      <pubDate>Mon, 28 Nov 2016 13:01:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/apprentice-server-com-exception-with-inventor-2015/m-p/6712817#M114165</guid>
      <dc:creator>adam.nagy</dc:creator>
      <dc:date>2016-11-28T13:01:59Z</dc:date>
    </item>
    <item>
      <title>Re: Apprentice Server COM Exception with Inventor 2015</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/apprentice-server-com-exception-with-inventor-2015/m-p/6713751#M114166</link>
      <description>&lt;P&gt;Thanks, fortunately I can run inventor silently and then use the camera object, not ideal as I want to run it on the vault server!!&lt;/P&gt;</description>
      <pubDate>Mon, 28 Nov 2016 18:47:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/apprentice-server-com-exception-with-inventor-2015/m-p/6713751#M114166</guid>
      <dc:creator>sverduyn</dc:creator>
      <dc:date>2016-11-28T18:47:50Z</dc:date>
    </item>
  </channel>
</rss>

