I quite like using Python with Eclipse Monkey to create scripts for Topcased. The SWT tools are nice for developing dialog boxes. I have written a script to transform and solve a parametric diagram using Modelica. See www.thinksysml.org<http://www.thinksysml.org> for the script and test model. It makes use of the SWTChart plugin that must be downloaded separately.
The problem is that when the script is first run it takes almost a minute to compile. Subsequent invocations of the script are fast. I have tried a number of tricks to speed it up but nothing seems to work. The script consists of a main python script and then a number of classes in separate script files which the main script imports. I tried putting all the classes in a single file. I also tried deleting the script files and just using .py.class files. That worked but didn't speed up the compile. Any ideas? Thanks, Peter Peter L. Jackson Director of Graduate Studies, Systems Engineering Program Professor, School of Operations Research and Information Engineering Rhodes Hall 218 (607) 255-9122 [email protected]
_______________________________________________ Topcased-users mailing list [email protected] http://lists.gforge.enseeiht.fr/cgi-bin/mailman/listinfo/topcased-users
