Re: [python-win32] Problem : COM with Array Argument

2012-01-01 Thread Mark Hammond
On 22/12/2011 1:18 AM, randfb wrote: There's not an awful lot we can do here. Type code 24581 is a COM safe array of doubles, passed by reference. That seems to be what the documentation shows. You'd sure your values were all floats? I tried Ent.GetPoints(1,1, d) where d is a list of 3 floa

Re: [python-win32] Problem : COM with Array Argument

2011-12-21 Thread randfb
>There's not an awful lot we can do here. Type code 24581 is a COM safe >array of doubles, passed by reference. That seems to be what the >documentation shows. You'd sure your values were all floats? >> I tried Ent.GetPoints(1,1, d) >> where d is a list of 3 floats, Yes I tried various arrang

Re: [python-win32] Problem : COM with Array Argument

2011-12-19 Thread Tim Roberts
Rand Batchelder wrote: > I ran makepy on the DesignCad 20 type library. > > I get Type mismatch errors with the function GetPoints: > ... > def GetPoints(self, iStartIndex=defaultNamedNotOptArg, > iCount=defaultNamedNotOptArg, pXYZArray=defaultNamedNotOptArg): > return self._ApplyTypes_

[python-win32] Problem : COM with Array Argument

2011-12-19 Thread Rand Batchelder
I ran makepy on the DesignCad 20 type library. I get Type mismatch errors with the function GetPoints: a subset of the class definition is: """ class IDcadEntity(DispatchBaseClass):     CLSID = IID('{B4D5DA6E-EDEB-4816-BD4C-88C04C119C24}')     coclass_clsid = IID('{4FCCD850-D360-458C-8FB1-61CB90A