Author Topic: Running a script written in python directly fromEA  (Read 3473 times)

newtonianb

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Running a script written in python directly fromEA
« on: May 10, 2014, 07:15:46 am »
I'm using win32com to interact with enterprise architect from a python script using

win32.com.client.Dispatch("EA.App")

Is there a way to get that script show up in Enterprise Architect? Or a way to have it ran from EA?

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Running a script written in python directly fr
« Reply #1 on: May 12, 2014, 05:54:51 am »
You can create an add-in with Python (and WSH - no idea if ActivePython offers the same feature as ActivePerl to create a DLL). But there's no native scripting engine for Python inside EA.

q.