Your Products have been synced, click here to refresh
Sub Main() Dim vbaShell As Object Set vbaShell = VBA.CreateObject("Wscript.Shell") vbaShell.Run """C:\Users\Owner\AppData\Local\Programs\Python\Py thon310\python.exe""" & """C:\Users\Owner\Desktop\PCDMIS.PY""" End Sub
import win32com.client as w32 dmisapp = w32.Dispatch('PCDLRN.Application') dmispart = dmisapp.ActivePartProgram dmiscommands = dmispart.Commands print(dmisapp.CurrentFolder) # Location of .PRG input('Press any key to continue...') dmispart.RefreshPart()
© 2024 Hexagon AB and/or its subsidiaries. | Privacy Policy | Cloud Services Agreement |