My i Logic rule doesent work in one case

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello again sorry but i muss know this.
Why doses a iLogic rule in one case his work?
I use If rule for 4 cases. For Supressing and deleting files.
I first 3 i make it work but in 4th it doesent:
If Parameter("Mittelpfosten_vorhanden")=0 Then
Component.IsActive("Mittelpfosten:1") = False
Component.IsActive("Komponentenanordnung 4:1") = False
Component.IsActive("Mittelpfosten:2") = False
Component.IsActive("Komponentenanordnung 5:1") = False
Component.IsActive("Mittelpfosten:3") = False
Component.IsActive("Komponentenanordnung 6:1") = False
Component.IsActive("Untere Lamelle_2:1") = False
Component.IsActive("Obere Lamelle_2:1") = False
Component.IsActive("Obere Lamelle_4:1") = False
Component.IsActive("Obere Lamelle_3:1") = False
Component.IsActive("Obere Lamelle_5:1") = False
Component.IsActive("Untere Lamelle_5:1") = False
End If
If Parameter("Mittelpfosten_vorhanden")=1 Then
Component.IsActive("Mittelpfosten:1") = True
Component.IsActive("Komponentenanordnung 4:1") = True
Component.IsActive("Mittelpfosten:2") = False
Component.IsActive("Komponentenanordnung 5:1") = False
Component.IsActive("Mittelpfosten:3") = False
Component.IsActive("Komponentenanordnung 6:1") = False
Component.IsActive("Untere Lamelle_2:1") = True
Component.IsActive("Obere Lamelle_2:1") = True
Component.IsActive("Obere Lamelle_4:1") = False
Component.IsActive("Obere Lamelle_3:1") = False
Component.IsActive("Obere Lamelle_5:1") = False
Component.IsActive("Untere Lamelle_5:1") = False
End If
If Parameter("Mittelpfosten_vorhanden")=2 Then
Component.IsActive("Mittelpfosten:1") = True
Component.IsActive("Komponentenanordnung 4:1") = True
Component.IsActive("Mittelpfosten:2") = True
Component.IsActive("Komponentenanordnung 5:1") =True
Component.IsActive("Mittelpfosten:3") = False
Component.IsActive("Komponentenanordnung 6:1") = False
Component.IsActive("Untere Lamelle_2:1") = True
Component.IsActive("Obere Lamelle_2:1") = True
Component.IsActive("Obere Lamelle_4:1") = True
Component.IsActive("Obere Lamelle_3:1") = True
Component.IsActive("Obere Lamelle_5:1") = False
Component.IsActive("Untere Lamelle_5:1") = False
End If
If Parameter("Mittelpfosten_vorhanden")=3 Then
Component.IsActive("Mittelpfosten:1") = True
Component.IsActive("Komponentenanordnung 4:1") = True
Component.IsActive("Mittelpfosten:2") = True
Component.IsActive("Komponentenanordnung 5:1") =True
Component.IsActive("Mittelpfosten:3") = True
Component.IsActive("Komponentenanordnung 6:1") = True
Component.IsActive("Obere Lamelle_4:1") = True
Component.IsActive("Obere Lamelle_3:1") = True
Component.IsActive("Obere Lamelle_5:1") = True
Component.IsActive("Untere Lamelle_5:1") = True
End If
InventorVb.DocumentUpdate()
iLogicVb.UpdateWhenDone = True