Hello,
we have a problem to pass an array to the GetComponents()-Method of
CATIA-COM-Object.
The method expects an array as method-parameter. The result will be written in
the given array. The array must be initialized with 12 elements. You can't pass
an empty array/dictionary to the method.
I thought I'd try this again -- still no progress on my debugging. From
using Visual Basic it seems that the interface is expecting an array of type
varint where each element of the array is another array. The inner arrays
are two elements long (an x and y data point)
I have also tried using
One more thought -- I have tried both Early and Late binding COM calls and I
get the same error message either way.
>I thought I'd try this again -- still no progress on my debugging. From
>using Visual Basic it seems that the interface is expecting an array of
>type varint where each elemen
> > F:\automation>test2.py
> > [(1, 1), (1, 2), (2, 2), (2, 1)]
> > Traceback (most recent call last):
> > File "F:\automation\test2.py", line 19, in ?
> > doc.Selection.Select(selregion,1,0,0)
> > File ">", line 3, in Select
> > pywintypes.com_error: (-2147352567, 'Exception occurred.',
>