Hello,

I have created small app for SWx and encountered a minor problem with it. When 
trying to read properties from SWx-files using API-command: 
CustomPropertyManager.Get2(ByVal FieldName As String, ByRef ValOut As String, 
ByRef ReesolvedValOut As String)  I get results:

CustPropMgr.Get2(CustProperty, ValOut, ResValOut)
  File "<COMObject <unknown>>", line 2, in Get2
pywintypes.com_error: (-2147352571, 'Type mismatch.', None, 2)

Definitions in makepy generated file are:

def Get2(self, FieldName=defaultNamedNotOptArg, ValOut=pythoncom.Missing, 
ReesolvedValOut=pythoncom.Missing):
        """Get a custom property"""
        return self._ApplyTypes_(10, 1, (24, 0), ((8, 1), (16392, 2), (16392, 
2)), 'Get2', None,FieldName
            , ValOut, ReesolvedValOut)

Is there any workarounds for this? It seemed that someone has fixed similar 
issues with AutoCAD & pywin, but I did not understand where he/she was able to 
pull out the fixes. 

-Samu







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

Reply via email to