Your Products have been synced, click here to refresh
Sub Main() Dim objFSO, objShell Dim PCDApp, PCDPartProgram, PCDCommands, PCDCommand, retval Dim objFile, objFolder As Object Set PCDApp=CreateObject("PCDLRN.Application") Set PCDPartProgram=PCDApp.ActivePartProgram Set PCDCommands=PCDPartProgram.Commands Set Pathname=PCDPartProgram.GetVariableValue("PATH2") strPath=Pathname.StringValue Set objFSO = CreateObject("Scripting.FileSystemObject") If objFSO.FolderExists(strPath) Then 'Nothing Else Set objFile=objFSO.CreateFolder(strPath) End If End Sub
Sub Main() Dim objFSO, objShell Dim PCDApp, PCDPartProgram, PCDCommands, PCDCommand, retval Dim objFile, objFolder As Object Set PCDApp=CreateObject("PCDLRN.Application") Set PCDPartProgram=PCDApp.ActivePartProgram Set PCDCommands=PCDPartProgram.Commands Set Pathname=PCDPartProgram.GetVariableValue("PATH2") strPath=Pathname.StringValue Set objFSO = CreateObject("Scripting.FileSystemObject") If objFSO.FolderExists(strPath) Then 'Nothing Else Set objFile=objFSO.CreateFolder(strPath) End If End Sub
ASSIGN/PATH="Q:\\Quality\\In Process Inspection Plans\\11127-MACHINE\\CMM REPORTS\\"+JN.INPUT+"\ "+PROG_NAME+"_"+V2+".PDF" ASSIGN/PATH2="Q:\\Quality\\In Process Inspection Plans\\11127-MACHINE\\CMM REPORTS\\"+JN.INPUT PRINT =LABEL/ PRINT/REPORT,EXEC MODE=END,$ TO_FILE=ON,APPEND=PATH,AUTO OPEN REPORT=OFF,$ TO_PRINTER=OFF,COPIES=1,$ TO_DMIS_REPORT=OFF,FILE_OPTION=INDEX,FILENAME=,$ REPORT_THEORETICALS=NONE,REPORT_FEATURE_WITH_DIMENSIONS=NO,$ TO_EXCEL_OUTPUT=OFF, PREVIOUS_RUNS=DELETE_INSTANCES
ASSIGN/PATH2="Q:\Quality\In Process Inspection Plans\11127-MACHINE\CMM REPORTS\\"+JN.INPUT
ASSIGN/PATH="Q:\Quality\In Process Inspection Plans\11127-MACHINE\CMM REPORTS\\"+JN.INPUT+"\\"+PROG_NAME+"_"+V2+".PDF"
ASSIGN/PATH2="Q:\Quality\In Process Inspection Plans\11127-MACHINE\CMM REPORTS\\"+JN.INPUT
ASSIGN/PATH="Q:\Quality\In Process Inspection Plans\11127-MACHINE\CMM REPORTS\\"+JN.INPUT+"\\"+PROG_NAME+"_"+V2+".PDF"
© 2024 Hexagon AB and/or its subsidiaries. | Privacy Policy | Cloud Services Agreement |