Your Products have been synced, click here to refresh
Option Explicit Dim CommandLineInput As String Dim CommandLineParsed() As String Dim VariableName As String Sub SaveData(Response As String) VariableName = "DROPLIST" Dim PCDMIS As Object Set PCDMIS = CreateObject("PCDLRN.Application") Dim Part As Object Set Part = PCDMIS.ActivePartProgram Dim objListVar As Object Set objListVar = Part.GetVariableValue(VariableName) 'where VariableName is a PCDMIS part program variable 'MsgBox "PCDMIS Variable: " & objListVar.StringValue objListVar.StringValue = Response Part.SetVariableValue VariableName, objListVar 'this sets the variable in the part program to the value of Response 'Part.RefreshPart End Sub
Option Explicit Dim CommandLineInput As String Dim CommandLineParsed() As String Dim VariableName As String Sub SaveData(Response As String) VariableName = "DROPLIST" Dim PCDMIS As Object Set PCDMIS = CreateObject("PCDLRN.Application") Dim Part As Object Set Part = PCDMIS.ActivePartProgram Dim objListVar As Object Set objListVar = Part.GetVariableValue(VariableName) 'where VariableName is a PCDMIS part program variable 'MsgBox "PCDMIS Variable: " & objListVar.StringValue objListVar.StringValue = Response Part.SetVariableValue VariableName, objListVar 'this sets the variable in the part program to the value of Response 'Part.RefreshPart End Sub
© 2024 Hexagon AB and/or its subsidiaries. | Privacy Policy | Cloud Services Agreement |