AnsweredAssumed Answered

vb.net  saveas3 error

Question asked by Prabaharan Pichaiyan on Oct 17, 2018
Latest reply on Oct 23, 2018 by Prabaharan Pichaiyan

Hi,

Im trying to use saveas3 command to save as in step format.

In VBA its working fine but im facing problem with vb.net could you please anyone help with this?

 

PartName3 = "D:\test.step"
If fdObj.FolderExists(Folder_Location) Then
            MsgBox(PartName3)
            longstatus = swModel.SaveAs3(PartName3, 0, 0)
        Else
            fdObj.CreateFolder(Folder_Location)
            MsgBox(PartName3)
            longstatus = swModel.SaveAs3(PartName3, 0, 0)
        End If


 

 

Error

 

asa.png


Thanks

Outcomes