Your Products have been synced, click here to refresh
import win32com.client as w32 dmisapp = w32.Dispatch('PCDLRN.Application') dmispart = dmisapp.ActivePartProgram dmiscommands = dmispart.Commands print(dmisapp.CurrentFolder) # Location of .PRG x = cmdcount = dmiscommands.Count print(x) y = dmispart.GetVariableValue ("CMM") print(y) input('Press any key to continue...') dmispart.RefreshPart()
import win32com.client as w32 dmisapp = w32.Dispatch('PCDLRN.Application') dmispart = dmisapp.ActivePartProgram dmiscommands = dmispart.Commands print(dmisapp.CurrentFolder) # Location of .PRG x = cmdcount = dmiscommands.Count print(x) y = dmispart.GetVariableValue ("CMM") print(y) input('Press any key to continue...') dmispart.RefreshPart()
© 2024 Hexagon AB and/or its subsidiaries. | Privacy Policy | Cloud Services Agreement |