Your Products have been synced, click here to refresh
Is there a way to get a message box with the OOT dims to pop up at programs end? Also, can you get it to say "There are ___ dimensions out of tolerance" the ___ being the quantity?
See dph51's answer regarding the first part.
The second part is doable regardless of version, by using a script that you need to run after program execution.
Sub Main()'************PC-DMIS declarations************ Dim pcdApp As Object Set pcdApp = CreateObject("PCDLRN.Application") Dim pcdPart As Object Set pcdPart = pcdApp.ActivePartProgram Dim pcdReportWindow As Object Set pcdReportWindow = pcdPart.ReportWindow 'MsgBox "Refreshing Report" '***********Repaint the report window********* pcdReportWindow.RefreshReport '********************Cleanup********************** Set pcdReportWindow = Nothing Set pcdPart = Nothing Set pcdApp = Nothing End Sub
VPT.se,
Do you have an example of the script concerned in a program ?
© 2024 Hexagon AB and/or its subsidiaries. | Privacy Policy | Cloud Services Agreement |