Your Products have been synced, click here to refresh
'This script will export the features In the active program To a file of the Type specified by the extension value 'In the Part.Export Function Line. The export path And file Name are defined by concatenating the values of 'several variables defined In the PC-DMIS program. Sub Main(PN1 As String, OP1 As String, SN1 As String, RPTTIME1 As String, RPTDATE1 As String, IGS1 As String) Dim App As Object Set App = CreateObject("PCDLRN.Application") Dim Part As Object Set Part = App.ActivePartProgram Dim CADFullPath As String 'Concatenate variable values passed from PCD To create full path for new CAD file CADFullPath=IGS1 & PN1 & "\Results\IGES\" & PN1 & "_" & OP1 & "_" & SN1 & "_" & RPTTIME1 & "_" & RPTDATE1 'Call export Function. Change the value of the extension below To change the file Type exported. Part.Export CADFullPath + ".igs" End Sub
'This script will export the features In the active program To a file of the Type specified by the extension value 'In the Part.Export Function Line. The export path And file Name are defined by concatenating the values of 'several variables defined In the PC-DMIS program. Sub Main(PN1 As String, OP1 As String, SN1 As String, RPTTIME1 As String, RPTDATE1 As String, IGS1 As String) Dim App As Object Set App = CreateObject("PCDLRN.Application") Dim Part As Object Set Part = App.ActivePartProgram Dim CADFullPath As String 'Concatenate variable values passed from PCD To create full path for new CAD file CADFullPath=IGS1 & PN1 & "\Results\IGES\" & PN1 & "_" & OP1 & "_" & SN1 & "_" & RPTTIME1 & "_" & RPTDATE1 'Call export Function. Change the value of the extension below To change the file Type exported. Part.Export CADFullPath + ".igs" End Sub
© 2024 Hexagon AB and/or its subsidiaries. | Privacy Policy | Cloud Services Agreement |