miss88912514 发表于 2021-1-1 23:10:17

python调用大漠插件求高手解决 出错

D:\DM>py DM.py
3.1233
Traceback (most recent call last):
File "DM.py", line 7, in <module>
    dm.MoveTo(20.20)
File "<COMObject dm.dmsoft>", line 3, in MoveTo
pywintypes.com_error: (-2147352562, '无效的参数数目。', None, None)


suchocolate 发表于 2021-1-1 23:23:43

MoveTo里头是用逗号分隔的坐标,不能用英文句号。
页: [1]
查看完整版本: python调用大漠插件求高手解决 出错