Your Products have been synced, click here to refresh
Public Sub VarSet() [B]Dim PCDPart,Cmds,Cmd As Object PCDPart = PCDApp.ActivePartProgram Cmds = PCDPart.Commands[/B] For Each Cmd In [B][COLOR=#FF0000]Cmds [/COLOR][/B] If [B]Cmd.Type[/B] = "Assignment" And Cmd.GetText(DEST_EXPR, 0) = "JOBNO" Then retval = Cmd.PutText("1234", SRC_EXPR, 0) End If Next Cmd endForm() End Sub
Public Sub VarSet() [B]Dim PCDPart,Cmds,Cmd As Object PCDPart = PCDApp.ActivePartProgram Cmds = PCDPart.Commands[/B] For Each Cmd In [B][COLOR=#FF0000]Cmds [/COLOR][/B] If [B]Cmd.Type[/B] = "Assignment" And Cmd.GetText(DEST_EXPR, 0) = "JOBNO" Then retval = Cmd.PutText("1234", SRC_EXPR, 0) End If Next Cmd endForm() End Sub
© 2024 Hexagon AB and/or its subsidiaries. | Privacy Policy | Cloud Services Agreement |