Your Products have been synced, click here to refresh
Not sure how to pass it back to the pcd program?
If[SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]Dialog[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] (Dlg1) = "-1" [/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE][/COLOR][/SIZE] [SIZE=2]V10 = "OK"[/SIZE] [SIZE=2]Else[/SIZE] [SIZE=2]V10 = "Cancel"[/SIZE] Dim Cmds As Object Dim Cmd As Object Set Cmds = PCDMISPart.Commands For Each Cmd In Cmds If Cmd.Type = ASSIGNMENT Then If Cmd.GetText(DEST_EXPR, 0) = "BUTTON" Then bln = Cmd.PutText(V10, SRC_EXPR, 0) Cmd.ReDraw End If Next Cmd [SIZE=2]Exit Sub[/SIZE] [SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]End[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]If[/COLOR][/SIZE] [/COLOR][/SIZE]
Not sure how to pass it back to the pcd program?
If[SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]Dialog[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] (Dlg1) = "-1" [/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]Then[/COLOR][/SIZE][/COLOR][/SIZE] [SIZE=2]V10 = "OK"[/SIZE] [SIZE=2]Else[/SIZE] [SIZE=2]V10 = "Cancel"[/SIZE] Dim Cmds As Object Dim Cmd As Object Set Cmds = PCDMISPart.Commands For Each Cmd In Cmds If Cmd.Type = ASSIGNMENT Then If Cmd.GetText(DEST_EXPR, 0) = "BUTTON" Then bln = Cmd.PutText(V10, SRC_EXPR, 0) Cmd.ReDraw End If Next Cmd [SIZE=2]Exit Sub[/SIZE] [SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]End[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]If[/COLOR][/SIZE] [/COLOR][/SIZE]
© 2024 Hexagon AB and/or its subsidiaries. | Privacy Policy | Cloud Services Agreement |