<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
Hello,<br><br>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)&nbsp; I get results:<br><br>CustPropMgr.Get2(CustProperty, ValOut, ResValOut)<br>&nbsp; File "&lt;COMObject &lt;unknown&gt;&gt;", line 2, in Get2<br>pywintypes.com_error: (-2147352571, 'Type mismatch.', None, 2)<br><br>Definitions in makepy generated file are:<br><br>def Get2(self, FieldName=defaultNamedNotOptArg, ValOut=pythoncom.Missing, ReesolvedValOut=pythoncom.Missing):<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; """Get a custom property"""<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; return self._ApplyTypes_(10, 1, (24, 0), ((8, 1), (16392, 2), (16392, 2)), 'Get2', None,FieldName<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; , ValOut, ReesolvedValOut)<br><br>Is there any workarounds for this? It seemed that someone has fixed similar issues with AutoCAD &amp; pywin, but I did not understand where he/she was able to pull out the fixes. <br><br>-Samu<br><br><br><table class="syntaxtable" width="1468" cellpadding="0" cellspacing="0" height="41"><tbody><tr><td colspan="2"><br></td></tr><tr><td valign="top"><br></td><td valign="top"><br></td></tr><tr><td valign="top"><br></td><td valign="top"><br></td></tr></tbody></table>                                               </body>
</html>