[Ironpython-users] New to .NET and IronPython

Matt Cheung mgcheung at gmail.com
Sat Sep 7 15:18:55 CEST 2013


Hi,

I'm new to both .NET and IronPython.  I've mostly worked in the Linux
world and was tasked recently to develop a conversion tool for
Enterprise Architect.  I have a Python script that can convert an XML
exported version of a diagram, but there is a way to add a dll to create
Add-Ins.  That part isn't really important, but the point is I was
thinking of rewriting what I have in the Python script in C#, but I've
had trouble finding the same information from the Enterprise Architect
API.  What I did find was a function to get Enterprise Architect to
export the diagram in the XML format I knew how to work with in Python. 
I suppose I could rewrite it in C#, but I figured it would be easier to
reuse my Python code.  So what I would like to do is export the XML
file, then essentially call the Python script on this file.  If
possible, it'd be nice if it could be compiled into the dll that creates
the Add-In, but I don't know if that is possible.  I saw in the
documentation that it is possible to compile Python into a dll, but I'd
rather minimize the number of dll's if possible.  Also, if I do compile
the Python into a dll, I'm not sure how to call it.

Given my situation, do any of you have any advice?  I've tried looking
through the documentation, but I couldn't quite find what I was looking
for.  Thanks.


More information about the Ironpython-users mailing list