I've been using comtypes 0.3.3 because of issues with recent versions (and 
Autocad/Microstation) and because comtypes development has been fairly rapid 
(waiting for that next cool version).  Just now I installed 0.5.1 (and let it 
empty my comtypes wrapper cache) and messed with Autocad a little.  Everything 
seems to work fine here using Autocad 2008 (civil 3d pretending to be 
land-desktop configured to act like plain old Autocad ;)

My sugestion is to delete the contents of your gen directory in 
site-packages\comtypes and regenerate.  If that doesn't work post some code and 
we'll see if you've done anything strange!

Ed Blake

--- On Tue, 8/19/08, Anthony Tuininga <[EMAIL PROTECTED]> wrote:

> From: Anthony Tuininga <[EMAIL PROTECTED]>
> Subject: [comtypes-users] No such interface supported?
> To: comtypes-users@lists.sourceforge.net
> Date: Tuesday, August 19, 2008, 2:15 PM
> Hi,
> 
> I have successfully used pywin32 for a while now for doing
> COM related
> stuff but ran into a problem with it using AutoCAD to
> create points
> and lines as appears to be well known given the
> documentation for
> comtypes. So I downloaded comtypes and installed it (0.5.1
> and later
> on SVN trunk) but immediately ran into a problem running
> the sample
> code. Specifically, the instance is created fine and
> app.ActiveDocument returns a value but
> app.ActiveDocument.ModelSpace
> yields "no such interface supported" and so does
> anything else on
> app.ActiveDocument from what I can tell. Is there something
> obvious
> that I am missing? A Google search doesn't suggest as
> much but maybe
> I'm using the wrong terms. :-) Any help appreciated.
> Thanks.
> 
> Anthony
> 
> -------------------------------------------------------------------------
> 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

-------------------------------------------------------------------------
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