- #1
Gary_Yan
- 1
- 0
Hello,ALL
Have somebody used python to Instanciate UDF in CATIA ?
I have some question with it
As follows:
Traceback (most recent call last):
File "D:/VSProjects/Python/instantiateTemplate/insTemplateDlg.py", line 80, in on_buttonApply_clicked
factory.BeginInstanceFactory('Sphere',self.lineEdit.text())
File "<COMObject GetCustomerFactory>", line 3, in BeginInstanceFactory
http://pywintypes.com/ _error: (-2147352567, '发生意外。', (0, 'CATIAInstanceFactory', 'The method BeginInstanceFactory failed', None, 0, -2147467259), None)
I hope I explained my problem clearly.
Tks
Have somebody used python to Instanciate UDF in CATIA ?
I have some question with it
As follows:
Traceback (most recent call last):
File "D:/VSProjects/Python/instantiateTemplate/insTemplateDlg.py", line 80, in on_buttonApply_clicked
factory.BeginInstanceFactory('Sphere',self.lineEdit.text())
File "<COMObject GetCustomerFactory>", line 3, in BeginInstanceFactory
http://pywintypes.com/ _error: (-2147352567, '发生意外。', (0, 'CATIAInstanceFactory', 'The method BeginInstanceFactory failed', None, 0, -2147467259), None)
I hope I explained my problem clearly.
Tks
Last edited by a moderator: