Re: [Ironpython-users] COM Interop argument convert error

2012-01-24 Thread Jeff Hardy
Check out http://ironpython.net/documentation/dotnet/dotnet.html#ref-and-out-parameters - IronPython treats ref/out parameters a bit differently than VBA does. - Jeff On Tue, Jan 24, 2012 at 8:06 PM, Kamu wrote: > Hi All, > > Having a problem passing 'None' to a COM Interop method that can > ac

[Ironpython-users] COM Interop argument convert error

2012-01-24 Thread Kamu
Hi All, Having a problem passing 'None' to a COM Interop method that can accept 'Nothing' (in VBA) My code (with considerable snippage): t = System.Type.GetTypeFromProgID("MicroStationDGN.Application") self.ms = System.Activator.CreateInstance(t) elem = self.ms.CreateLineElement2(None, point3d1