Hallo zusammen,
Bei der Abfrage eines ParSet wird das ParaSet "Projektinfo" nicht erkannt obwohl es im Watchfenster erscheint.
Hat jemand ne Idee woran das liegen könnte.
Code:
Function check_Sets(PARAMSet As ParameterSet) As BooleanDim x As Integer
Dim Anzahl As Integer
Anzahl = PARAMSet.ParameterSets.Count
check_Sets = False
If Anzahl = 0 Then
check_Sets = False
Else
For x = 1 To Anzahl
If CATIA.SystemConfiguration.Release = "16" Then
If PARAMSet.ParameterSets.Item(x).Name = "Projektinfo" Then
check_Sets = True
Exit For
Else
check_Sets = False
End If
Else
If PARAMSet.ParameterSets.Item(x).Parent.Name = "Projektinfo" Then'Hier wird das Set nicht erkannt
check_Sets = True
Exit For
End If
End If
Next
End If
End Function
------------------
Gruß Uwe
Auch Catia ist nur ein Mensch!

Eine Antwort auf diesen Beitrag verfassen (mit Zitat/Zitat des Beitrags) IP