sometimes you need a combination of variant type like
win32com.client.VARIANT(VT_VARIANT | VT_NULL,None)
it's better to pass tuple instead of list .. may be this could help ..
regards,
Matteo
Il 12/10/2012 13:13, Johannes Frank ha scritto:
Hello,
I am trying to access an AutoCAD clone, intellicad, via win32com. I
managed to access, but now I am stuck.
AutoCAD as well as Intellicad want
filterType=VARIANT(pythoncom.VT_ARRAY,[0])
filterData=VARIANT(pythoncom.VT_ARRAY,['LINE'])
dwg.ActiveSpace = cnsts.vicModelSpace
sel.Select(cnsts.vicSelectionSetAll,None,None,filterType,filterData)
I get an error:
MemoryError: CreatingSafeArray
In VB6 I pass two variant arrays in VB.NET <http://VB.NET> 2010 I pass
an integer array and an object array.
Now how do I find out how to pass this parameter in pythoncom / win32com
Thank you for your attention
Kind Regards
--
Dipl.-Ing. (FH) Johannes-Maria Frank
Bildungsberater
Königsberger-Str. 19b
76139 Karlsruhe
Tel. +49(170) 3833849
e-mail: jmfran...@gmail.com <mailto:jmfran...@gmail.com>
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32