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_