Message 1 of 13
iLogic, run rule twice to work
Not applicable
07-01-2016
02:26 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all,
I stumbled upon a problem within my parametric model. (see pictures)
SyntaxEditor Code Snippet
Select Case Omgevingstemperatuur Case = "=> -5�C" Feature.IsActive("24AW304-P03:1", "Gat olieverwarming") = False Component.IsActive("A50001.01.0020:1") = False Component.IsActive("Olieverwarmer:1") = False Case = "< -5�C" Feature.IsActive("24AW304-P03:1", "Gat olieverwarming") = True Component.IsActive("A50001.01.0020:1") = True Component.IsActive("Olieverwarmer:1") = True End Select RuleParametersOutput() InventorVb.DocumentUpdate()
I'm suppressing two parts (one within first level and one in sub-assembly (3rd level)) and a hole with the iLogic code.
It runs fine up until I want to unsuppress them.
As you can see in the pictures, one part (1st level) and the hole will show up but the other part (3rd level) will not and still is suppressed in the design tree. And when I run the same rule again, without doing anything else, the part will get unsuppressed and show up. What is the problem here?? As you can see I already tried something with the update and rule patamters output.

