pycatia3dx.base_interfaces.base_application¶
- pycatia3dx.base_interfaces.base_application.catia_application() Application¶
Connects to the active 3DEXPERIENCE session and returns a pycatia3dx Application object.
This function tries to dynamically locate and import the com3dx module provided by the Dassault Systèmes 3DEXPERIENCE installation. The module is typically located at:
3DX_INSTALL_DIR/win_b64/code/python3dx/lib/com3dx.py
A running instance of 3DEXPERIENCE.exe is required in order to identify the correct installation path.
If com3dx is set to False pycatia3dx will fall back to using win32com.client.Dispatch. This should only be necessary if the 3DEXPERIENCE installation does not include the com3dx.py file.
Usage:
>>> from pycatia3dx import catia3dx >>> application = catia()
- Returns:
Application