Details
User want to open file in View and Markup application using automation
Solution
User can open part file in View and Markup application using Solid Edge (OpenFileInVMFromAutomation()) API.
For Example:
Imports System.Runtime.InteropServices
Module Module1
Sub Main()
Dim application As InsightConnect.IVMApp = Nothing
Try
application = New InsightConnect.VMApplication()
application.Visible = True
application.OpenFileInVMFromAutomation("C:\Part1.par")
Catch ex As System.Exception
Console.WriteLine(ex)
Finally
application.Quit()
End Try
End Sub
End Module
Hardware/Software Configuration
Platform: AMD64
OS: windows
OS Version: 764
Product: SOLID_EDGE
Application: AUTOMATION
Version: V220MP5
Function: API_DOCUMENT
Ref: 002-8016514