wow, looks complicated. why not use ironpython?
http://secretgeek.net/host_ironpython.asp
with just a few lines of code you get a full scripting engine and for one liners python doesn't look different to c# anyway.

yes, in boo you also need the [DllImport("acknex.dll")]. i left it away in the example snippet.