Message 1 of 2

Not applicable
03-01-2017
10:36 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am working on an iLogic driven assembly which contains iAssemblies within it. When 1 of 8 widths is selected, I am using the following statement to change the configuration of the iAssembly.
SyntaxEditor Code Snippet
If Width = 18 Then iPart.ChangeRow("Assembly:1", "Assembly-01") ElseIf Width = 24 Then iPart.ChangeRow("Assembly:1", "Assembly-02") ElseIf Width = 30 Then iPart.ChangeRow("Assembly:1", "Assembly-03") ElseIf Width = 36 Then iPart.ChangeRow("Assembly:1", "Assembly-04") ElseIf Width = 42 Then iPart.ChangeRow("Assembly:1", "Assembly-05") ElseIf Width = 44 Then iPart.ChangeRow("Assembly:1", "Assembly-06") ElseIf Width = 48 Then iPart.ChangeRow("Assembly:1", "Assembly-07") ElseIf Width = 60 Then iPart.ChangeRow("Assembly:1", "Assembly-08") End If
Each configuration has its own "Width" value so I use the code below to push the paramater to the parts
SyntaxEditor Code Snippet
Parameter("Part1:1", "Width")=Width Parameter("Part2:1", "Width")=Width
The iLogic works, but the sub-iassembly only updates when I open it. I am looking an iLogic statement that will update all of the sub-iAssemblies then update the main Assembly.
I have tried
iLogicVb.UpdateWhenDone = True
and
RuleParametersOutput()
ThisDoc.Document.Rebuild()
at multiple levels and combinations but haven't had any luck.
Solved! Go to Solution.