arno4012
Mechanical
- Jul 11, 2007
- 10
Hi,
I have read the thread 562-135208, but I've still the same probleme than Baat. I'm trying :
Dim set1(1) As Reference
Dim set2(1) As Reference
Set set1(1) = objdoc.CreateReference(objdoc.Occurrences(2), objdoc.Occurrences(2).OccurrenceDocument.Models(1).Body)
Set set2(1) = objdoc.CreateReference(objdoc.Occurrences(3), objdoc.Occurrences(3).OccurrenceDocument.Models(1).Body)
Call objdoc.CheckInterference(1, set1, 2, 1, 1, set2)
And SE replies (in french):
Incompatibilité de type : Tableau ou type défini par l'utilisateur attendu
In English : wrong type, array of objects or user defined type required
And the cursor is on the last set(1)
Can anyone explain me where is my mistake ?
Thank you,
Arno
I have read the thread 562-135208, but I've still the same probleme than Baat. I'm trying :
Dim set1(1) As Reference
Dim set2(1) As Reference
Set set1(1) = objdoc.CreateReference(objdoc.Occurrences(2), objdoc.Occurrences(2).OccurrenceDocument.Models(1).Body)
Set set2(1) = objdoc.CreateReference(objdoc.Occurrences(3), objdoc.Occurrences(3).OccurrenceDocument.Models(1).Body)
Call objdoc.CheckInterference(1, set1, 2, 1, 1, set2)
And SE replies (in french):
Incompatibilité de type : Tableau ou type défini par l'utilisateur attendu
In English : wrong type, array of objects or user defined type required
And the cursor is on the last set(1)
Can anyone explain me where is my mistake ?
Thank you,
Arno