Costin Gamenţ schrieb:
> Hi, everybody!
> 
> I'm trying to automate some tasks in AutoCAD (version 16.2 -- 2006) with  
> Python and COM. Apparently there is a long standind bug with either  
> win32com or AutoCAD:  
> http://mail.python.org/pipermail/python-win32/2005-December/004075.html  
> and I am having the same problem. Does anybody know a solution for this  
> problem?
> 
> I must specify that this is my first time doing anything COM-related (and,  
> in fact, coding in windows).

You could try comtypes, it allows to specify the exact parameters that
are passed as VARIANTs.  There is even a sample snippet for autocad
in the docs:

http://starship.python.net/crew/theller/comtypes/

> 
> Thanks,
> Costin

Thomas

_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to