Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: sandeep bhat on November 21, 2016, 08:01:25 pm
-
Hi All,
Few years back when i started developing an Addin for Enterprise Architect using python 2.7 64bit, I had an issue with the tkInter. After some research and some inputs, I found that Enterprise Architect is 32bit build. So i will have to use python 32bit. After installing python 32 bit it went well. Now i have an requirement to use python 2.7 64 bit with Enterprise Architect. I see the issue still persists. So wanted to check if anybody has developed an Addin using Python 2.7 64 bit for Enterprise Architect.
-
EA requires a COM interop compatible dll. I always compile for "Any processor" as target CPU.
If your development environment can create that I guess it will work.
Geert
PS. Why would you prefer to use Python over C#? Feels like making your life harder then it should be.
-
I have a dozen claims against Python at least. But once you get the hang of it, it's really neat. Fast as lightning (if you happen to use NumPy/matlab) and tons of useful other libs. So I can well understand preferring it over many other languages. Not just the fact that C# works only on Windoze.
q.
-
Well i need to use python due to the customer requirements. Anyway my question is, is EA a 32 bit application or 64bit? Because the 64bit python doesnt seems to work with EA
-
EA is a 32 bit application.
It also needs 32 bit ODBC drivers to connect to a database. 64 bit drivers don't work.
Geert
-
I thought in 5 years they might have come up with 2 variants, 32 and 64 bit :(. Aware of any workarounds that i can integrate a 64bit program(python) with EA?