Ask Your Question

Revision history [back]

Another possibly cleaner way is to write your script as a stand-alone tool that can be run on the command line and outputs the results you need. Then use the AsyncExecute* or ExecuteCommandLine methods on the CAPIApplication in the scripting API to call it and read its output. That way you don't have to match Python version, etc.