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 Pathname1=PCDPartProgram.GetVariableValue("PATH1") strPath1=Pathname1.StringValue Set objFSO = CreateObject("Scripting.FileSystemObject") If objFSO.FolderExists(strPath1) Then 'Nothing Else Set objFile=objFSO.CreateFolder(strPath1) End If Set Pathname2=PCDPartProgram.GetVariableValue("PATH2") strPath2=Pathname2.StringValue If objFSO.FolderExists(strPath2) Then 'Nothing Else Set objFile=objFSO.CreateFolder(strPath2) 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 Pathname1=PCDPartProgram.GetVariableValue("PATH1") strPath1=Pathname1.StringValue Set objFSO = CreateObject("Scripting.FileSystemObject") If objFSO.FolderExists(strPath1) Then 'Nothing Else Set objFile=objFSO.CreateFolder(strPath1) End If Set Pathname2=PCDPartProgram.GetVariableValue("PATH2") strPath2=Pathname2.StringValue If objFSO.FolderExists(strPath2) Then 'Nothing Else Set objFile=objFSO.CreateFolder(strPath2) End If End Sub
© 2024 Hexagon AB and/or its subsidiaries. | Privacy Policy | Cloud Services Agreement |