Message 1 of 4
Apprentice server component not working on Inventor 2019

Not applicable
01-08-2019
04:45 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I had a macro in vba Excel that worked fine with Inventor 2018 but now with the update to Inventor 2019, it seems that the module "Apprentice server" doesn't exists anymore (Run-time Error 'xxx-xxxxxxxx (8007007e)').
Here is my code (to change the workspace path of an existing design project):
Dim oIV As New ApprenticeServerComponent
Dim oProjectMgr As DesignProjectManager
Dim oproject As DesignProject
Set oProjectMgr = oIV.DesignProjectManager
Set oproject = oProjectMgr.DesignProjects.AddExisting(*path of my design project*)
oproject.WorkspacePath = *path of my desired workspace*
Thank you for your help.
Regards,
Mathias