Apprentice.FileSaveAs with Cable and Harness in Inventor 2015

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
After Upgrading from Inventor 2014 to 2015,
I have encountered a problem using Apprentice.FileSaveAs.
Actually it works fine with my other files but fails with cable and harness file.
I tested with "Personal Computer" sample file.
This is my simple program to show errors.
Public Sub saveAsUsingApprentice()
Dim fromPath = "C:\Users\Administrator\Documents\Inventor\Personal Computer\Aip\CD Ribbon Cable.ipt"
Dim toPath = "C:\Cornerstone\stage\Rename.ipt"
Dim apprentice As New ApprenticeServerComponent
Dim doc As ApprenticeServerDocument = apprentice.Open(fromPath)
apprentice.FileSaveAs.AddFileToSave(doc, toPath)
apprentice.FileSaveAs.ExecuteSaveAs()
apprentice.Close()
End Sub
"apprentice.FileSave.ExecuteSaveAs()" line yields captured message attached.
Any information can help me.
Thanks,
Jaewon.