Mark McMahon <[EMAIL PROTECTED]> writes:
> I would suggest trying a simple test with Word for example, automate AutoCAD
through the VBA in word - and see
> if it is much faster than Python.
> 

Thanks Mark!

I followed your suggestion. My limited tests show using VBA in Word to automate
AutoCAD is about 1.6 times faster than using Python. But still much slower than
using lisp. So it is probably as you said due to the out-of- process nature.
Btw, AutoCAD comes with VBA as well. So if I modify the VBA code from Word a
little and run it in AutoCAD, the speed is about the same as lisp.

> I have no idea why these take longer. If you change the order of the 3 tests -
is it still the xrange that is fastest?

Yes.




-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
comtypes-users mailing list
comtypes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/comtypes-users

Reply via email to