Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

CATIA Questions about python script

  1. Jan 10, 2015 #1
    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: May 7, 2017
  2. jcsd
  3. Jan 15, 2015 #2
    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?
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: CATIA Questions about python script
  1. CATIA eBooks (Replies: 15)

  2. Catia this giant (Replies: 1)

Loading...