Your Products have been synced, click here to refresh
Sub Main() Dim DmisApp As Object Dim DmisPart As Object Dim DmisCommands As Object Dim DmisCommand As Object Set DmisApp = CreateObject("PCDLRN.Application") Set DmisPart = DmisApp.ActivePartProgram Set DmisCommands = DmisPart.Commands For Each DmisCommand In DmisCommands If DmisCommand.Type = TRACEFIELD Then retVal = DmisCommand.PutText("should work", TRACE_VALUE, 0) Exit For End If Next DmisCommand DmisPart.RefreshPart End Sub
Sub Main() Dim DmisApp As Object Dim DmisPart As Object Dim DmisCommands As Object Dim DmisCommand As Object Set DmisApp = CreateObject("PCDLRN.Application") Set DmisPart = DmisApp.ActivePartProgram Set DmisCommands = DmisPart.Commands For Each DmisCommand In DmisCommands If DmisCommand.Type = TRACEFIELD Then retVal = DmisCommand.PutText("should work", TRACE_VALUE, 0) retVal = DmisCommand.SetExpression("""should work""", TRACE_VALUE, 0) Exit For End If Next DmisCommand DmisPart.RefreshPart End Sub
© 2024 Hexagon AB and/or its subsidiaries. | Privacy Policy | Cloud Services Agreement |