Apprentice.FileSaveAs with Cable and Harness in Inventor 2015

Apprentice.FileSaveAs with Cable and Harness in Inventor 2015

Anonymous
Not applicable
401 Views
1 Reply
Message 1 of 2

Apprentice.FileSaveAs with Cable and Harness in Inventor 2015

Anonymous
Not applicable

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. 

0 Likes
402 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable

Hello,

 

did you check if your file needs to be migrated ?

0 Likes