Hello Andreas, I have managed to cobble together a solution following your initial suggestion. Not really elegant, but it works quite well. Many thanks.
best regards Peter 2017-02-19 20:57 GMT+01:00 Andreas Holtz <a.ho...@gmx.net>: > I missed your second questions: > I have no experience with this. But it looks like one could wrap a > Python-array in such a VARIANT > object and hand this to CATIA, like: > > v = VARIANT(pythoncom.VT_BYREF | pythoncom.VT_ARRAY | pythoncom.VT_R4, > 12*[1.]) > > Worth a try. > > Peter Enenkel schrieb am 19.02.2017 um 20:38: > > An other idea I came up over the weekend is using the VARIANT type, like > it is described here > > <http://docs.activestate.com/activepython/3.4/pywin32/html/ > com/win32com/HTML/variant.html> do you > > think that is a viable option, or am I misunderstanding the purpose of > this construct? >
_______________________________________________ python-win32 mailing list python-win32@python.org https://mail.python.org/mailman/listinfo/python-win32