thank you Daniel for all the useful articles published on your site.
I came across by chance as I have been interested in learning a bit of Python and as an user of Catia was keen to find some info on the subject.
Regards
Nikolay
Let me get Dan on this Post, he is a CATIA python wizard, stand by.
thank you Daniel for all the useful articles published on your site.
I came across by chance as I have been interested in learning a bit of Python and as an user of Catia was keen to find some info on the subject.
Regards
Nikolay
Hi Nikolay, my apologies for the seriously late reply. it's awesome that you are looking to learn some Python to automate with CATIA! In my journey, I found Dassault's automation API guide (included in the CATIA/3DX installation) to be extremely helpful as a starting point. It's the most thorough source of API information I've found thus far, and includes sections and code examples specific to Python, VBA, and in some cases C.
The guide I'm referring to is "DSYAutomation.chm" and can be found within the code/bin subdirectory of your CATIA installation directory. In my case, this is the file path, but it may be slightly different depending on your CATIA version: "C:\Program Files\Dassault Systemes\B425\win_b64\code\bin\DSYAutomation.chm"
If you're just getting started with Python, this guide will prove to be a valuable resource for you, as it provides a complete reference of classified methods and properties of all the different objects that the API supports. In many cases, code examples in the guide are in VBA, but translating to Python shouldn't be extremely difficult if you're familiar with the basics of the language.
If there is anything specific that you're trying to do and need assistance with, feel free to reach out and I can try to help. Have an amazing day!