Message 1 of 2
Inventor 2025.2 iLogic rule only runs when regenrating after a component replacement
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have a simple rule that only activates or deactivates a component based on the value of a parameter and it works fine. However, when replacing a component with a new one and replacing the names in the code, it won't run anymore unless you always regenerate the rule. Is this a bug?
Select Case Stiffener_Option
Case Is = "Top"
Component.IsActive("Stiffener:2") = False
Component.IsActive("Stiffener Pattern Left") = False
Component.IsActive("Stiffener Pattern Top") = True
Component.IsActive("Stiffener:1") = True
Case Is = "Left"
Component.IsActive("Stiffener:1") = False
Component.IsActive("Stiffener Pattern Top") = False
Component.IsActive("Stiffener Pattern Left") = True
Component.IsActive("Stiffener:2") = True
Case Is = "None"
Component.IsActive("Stiffener:1") = False
Component.IsActive("Stiffener Pattern Top") = False
Component.IsActive("Stiffener Pattern Left") = False
Component.IsActive("Stiffener:2") = False
Component.IsActive("Stiffener Pattern Left") = False
Component.IsActive("Stiffener Pattern Top") = False
End Select
iLogicVb.UpdateWhenDone = True