CATIA Questions about python script

  • Thread starter Gary_Yan
  • Start date
  • #1
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/ [Broken]_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:

Answers and Replies

  • #2
18,363
8,215
Thanks for the post! This is an automated courtesy bump. Sorry you aren't generating responses at the moment. Do you have any further information, come to any new conclusions or is it possible to reword the post?
 

Related Threads on CATIA Questions about python script

  • Last Post
Replies
15
Views
22K
  • Last Post
Replies
1
Views
2K
  • Last Post
Replies
1
Views
9K
  • Last Post
Replies
1
Views
5K
Replies
3
Views
1K
  • Last Post
Replies
1
Views
2K
  • Last Post
Replies
7
Views
15K
Replies
4
Views
1K
  • Last Post
Replies
3
Views
2K
Replies
4
Views
387
Top