- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am trying to use iLogic to suppress or show a feature in multiple parts from an assembly.
I first started with creating a list item user parameter in all of the parts named "Color"
I then set a rule in all of those parts to update the feature using select case.
Part 1:
Select Color Case "White" ' ***Extrusion11*** Feature.IsActive("Extrusion11") = False Case "Midnight/Midnight" ' ***Extrusion11*** Feature.IsActive("Extrusion11") = True Case "Midnight/White" ' ***Extrusion11*** Feature.IsActive("Extrusion11") = True Case "Sandstone" ' ***Extrusion11*** Feature.IsActive("Extrusion11") = False Case "Tan" ' ***Extrusion11*** Feature.IsActive("Extrusion11") = False End Select
Part 2:
Select Color Case "White" ' ***Extrusion7*** Feature.IsActive("Extrusion7") = False Case "Midnight/Midnight" ' ***Extrusion7*** Feature.IsActive("Extrusion7") = True Case "Midnight/White" ' ***Extrusion7*** Feature.IsActive("Extrusion7") = True Case "Sandstone" ' ***Extrusion7*** Feature.IsActive("Extrusion7") = False Case "Tan" ' ***Extrusion7*** Feature.IsActive("Extrusion7") = False End Select
Part 3:
Select Color Case "White" ' ***Extrusion14*** Feature.IsActive("Extrusion14") = False Case "Midnight/Midnight" ' ***Extrusion14*** Feature.IsActive("Extrusion14") = True Case "Midnight/White" ' ***Extrusion14*** Feature.IsActive("Extrusion14") = True Case "Sandstone" ' ***Extrusion14*** Feature.IsActive("Extrusion14") = False Case "Tan" ' ***Extrusion14*** Feature.IsActive("Extrusion14") = False End Select
These Rules all work and were tested by forms in the individual part files.
In the assembly file with all of these parts, I created a rule that set the user parameter in the part = to the assembly user parameter of the same name.
'Color Parameter("Part1", "Color") = Color Parameter("Part2", "Color") = Color Parameter("Part3", "Color") = Color
The only part that updates is Part1. The others do not reflect any changes. This happens even if I comment out all of the other parts in the assembly.
I am unsure why only one of my parts is updating in the assembly yet they all work the same in their individual part files.
Solved! Go to Solution.