Inventor.interop??

Inventor.interop??

SharkDesign
Mentor Mentor
915 Views
1 Reply
Message 1 of 2

Inventor.interop??

SharkDesign
Mentor
Mentor

I foolishly updated to 2019.1 today and now I have this error message coming from ilogic, any ideas what it means or how I fix it?

Thanks.

 

Error on Line 20 : The project currently contains references to more than one version of Autodesk.Inventor.Interop, a direct reference to version 23.0.0.0 and an indirect reference (through 'Autodesk.iLogic.Runtime.CadDoc.New') to version 23.1.0.0. Change the direct reference to use version 23.1.0.0 (or higher) of Autodesk.Inventor.Interop.
Error on Line 20 : The project currently contains references to more than one version of Autodesk.Inventor.Interop, a direct reference to version 23.0.0.0 and an indirect reference (through 'Autodesk.iLogic.Interfaces.ILowLevelSupport.RuleDocument') to version 23.1.0.0. Change the direct reference to use version 23.1.0.0 (or higher) of Autodesk.Inventor.Interop.
Error on Line 20 : The project currently contains references to more than one version of Autodesk.Inventor.Interop, a direct reference to version 23.0.0.0 and an indirect reference (through 'Autodesk.iLogic.Interfaces.ILowLevelSupport.InventorServer') to version 23.1.0.0. Change the direct reference to use version 23.1.0.0 (or higher) of Autodesk.Inventor.Interop.
Error on Line 20 : The project currently contains references to more than one version of Autodesk.Inventor.Interop, a direct reference to version 23.0.0.0 and an indirect reference (through 'Autodesk.iLogic.Interfaces.ICadDoc.Document') to version 23.1.0.0. Change the direct reference to use version 23.1.0.0 (or higher) of Autodesk.Inventor.Interop.

 

my ilogic code

If STEP="True"
Project = iProperties.Value("Project", "Project")
PN = iProperties.Value("Project", "Part Number")

SaveStepFolder = "\\SVR1\Shared\MACHINING\3D MODELS\" & Project 

ThisDoc.Document.SaveAs(SaveStepFolder & "\" & PN & (".stp") , True)
MessageBox.Show("STEP Updated", "Step update")

End If

 

  Inventor Certified Professional
0 Likes
Accepted solutions (1)
916 Views
1 Reply
Reply (1)
Message 2 of 2

SharkDesign
Mentor
Mentor
Accepted solution

I think what has happened is, if I 'launch' Inventor from the autodesk desktop app, it launches a different version of Inventor 2019 for some reason. 

 

Will see if the problem persists after going back to other one. 

  Inventor Certified Professional
0 Likes