Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hi All, How can i call EES in py 1

Status
Not open for further replies.

MosesTebatso

Computer
Apr 20, 2021
5
Hi All,

How can i call EES in python.

I know the reverse is possible to call python in EES. Please any ideas will help
 
Replies continue below

Recommended for you

That's described in the manual

Running EES from an External Program
EES (Professional version) can be started and made to run an EES file or an EES macro file
from the Run command line (or from another program such as MATLAB) by providing the
name of the file and /Solve as command line parameters. For example, the command line
C:\EES32\EES.EXE myEESFile.EES /solve will start EES in a hidden state, open
myEESFile.EES, solve this file and then quit. For this capability to be useful, the EES file
should write output to a file using the $EXPORT or $SAVETABLE directives

TTFN (ta ta for now)
I can do absolutely anything. I'm an expert! faq731-376 forum1529 Entire Forum list
 
DO you have an idea how to run this on pythin? I have tried to find commands on how to run cmd commands on python but none works
 
Thank you for your responses, this actually helped a lot.

C:\EES32\EES.EXE myEESFile.EES /solve

The issue was i was using the wrong EES license(commercial).

I have been reading about the DDE implementation in matlab, and trying to find out how to write EES results to matlab memory/variable rather than to local .txt or .csv file, and read later as an attempt to optimize my code.

I am using python 3 And i am trying to find out if we can have EES push its calculation results straight into python memory/variable rather than writing to .txt/ .csv then reading it again from python.

If no such DDE library for python exists, between writing to .txt or .csv on EES and reading the results later from python which is quicker and recommendable?

Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor