iLogic collapsable section issue

iLogic collapsable section issue

J-Camper
Advisor Advisor
975 Views
4 Replies
Message 1 of 5

iLogic collapsable section issue

J-Camper
Advisor
Advisor

I am experiencing an issue with iLogic rules after switching from 2016 to 2018 Inventor.

 

I opened a 2016 file with iLogic rules in 2018, then saved it as a 2018 file.  Later I had to modify the rules and found my collapsable section brackets were not reading properly, see picture below: (the closing braket for '[ MID is not connecting to the open bracket)

ILOGIC ISSUE.JPG

I also noticed that the text to the right of the '[ open bracket is a lighter grey than normal.

 

 

I have tried to delete and retype the closing bracket, but that does not fix the issue.  I have also copied the rule into a text file and remade the rule, but the issue persists.  I had a colleague open the file on his PC and it works fine.  I have copied made a new rule in a new part by copying the code out of the text file but the issue persists, my colleague did the same thing on his PC with no issue.

 

The code is below:

 

'[ MASTER

MSH=Parameter("7125-3209-CAB-WM-01:1", "d210")/2-Parameter("7125-3209-SH-WM-01:1", "shThickness")/2

']

'[ WEST WALL

'[ CABINETS

'[ BASE

Parameter("7125-3209-CAB-WB-01:1", "coWidth")=Parameter("7125-3209-FF-WEST:1", "WOW")
Parameter("7125-3209-CAB-WB-01:1", "coHeight")=Parameter("7125-3209-FF-WEST:1", "BCOH")
Parameter("7125-3209-CAB-WB-01:1", "ffDepth")=WFFOW
Parameter("7125-3209-CAB-WB-01:1", "ffThickness")=FFT
Parameter("7125-3209-CAB-WB-01:1", "shimThickness")=.5

Parameter("7125-3209-CAB-WB-02:1", "coWidth")=Parameter("7125-3209-FF-WEST:1", "COW")
Parameter("7125-3209-CAB-WB-02:1", "coHeight")=Parameter("7125-3209-FF-WEST:1", "CBOH")
Parameter("7125-3209-CAB-WB-02:1", "ffDepth")=WFFOW
Parameter("7125-3209-CAB-WB-02:1", "ffThickness")=FFT
Parameter("7125-3209-CAB-WB-02:1", "shimThickness")=.5

Parameter("7125-3209-CAB-WB-03:1", "coWidth")=Parameter("7125-3209-FF-WEST:1", "WOW")
Parameter("7125-3209-CAB-WB-03:1", "coHeight")=Parameter("7125-3209-FF-WEST:1", "BCOH")
Parameter("7125-3209-CAB-WB-03:1", "ffDepth")=WFFOW
Parameter("7125-3209-CAB-WB-03:1", "ffThickness")=FFT
Parameter("7125-3209-CAB-WB-03:1", "shimThickness")=.5

']

'[ MID

Parameter("7125-3209-CAB-WM-01:1", "coWidth")=Parameter("7125-3209-FF-WEST:1", "WOW")
Parameter("7125-3209-CAB-WM-01:1", "coHeight")=Parameter("7125-3209-FF-WEST:1", "MCRH")
Parameter("7125-3209-CAB-WM-01:1", "ffDepth")=WFFOW-Parameter("7125-3209-FF-WEST:1", "USB")
Parameter("7125-3209-CAB-WM-01:1", "ffThickness")=FFT
Parameter("7125-3209-CAB-WM-01:1", "shimThickness")=.5
Parameter("7125-3209-CAB-WM-01:1", "d193")=Parameter("7125-3209-FF-WEST:1", "MWBOH")
Parameter("7125-3209-CAB-WM-01:1", "d174")=Parameter("7125-3209-CAB-WM-02:1", "d174")

Parameter("7125-3209-CAB-WM-02:1", "coWidth")=Parameter("7125-3209-FF-WEST:1", "COW")
Parameter("7125-3209-CAB-WM-02:1", "coHeight")=Parameter("7125-3209-FF-WEST:1", "MCRH")
Parameter("7125-3209-CAB-WM-02:1", "ffDepth")=WFFOW-Parameter("7125-3209-FF-WEST:1", "USB")
Parameter("7125-3209-CAB-WM-02:1", "ffThickness")=FFT
Parameter("7125-3209-CAB-WM-02:1", "shimThickness")=.5

Parameter("7125-3209-CAB-WM-03:1", "coWidth")=Parameter("7125-3209-FF-WEST:1", "WOW")
Parameter("7125-3209-CAB-WM-03:1", "coHeight")=Parameter("7125-3209-FF-WEST:1", "MCRH")
Parameter("7125-3209-CAB-WM-03:1", "ffDepth")=WFFOW-Parameter("7125-3209-FF-WEST:1", "USB")
Parameter("7125-3209-CAB-WM-03:1", "ffThickness")=FFT
Parameter("7125-3209-CAB-WM-03:1", "shimThickness")=.5
Parameter("7125-3209-CAB-WM-03:1", "d193")=Parameter("7125-3209-FF-WEST:1", "MWBOH")
Parameter("7125-3209-CAB-WM-03:1", "d174")=Parameter("7125-3209-CAB-WM-02:1", "d174")

'] 

'[ UPPERS

Parameter("7125-3209-CAB-WU-01:1", "coWidth")=Parameter("7125-3209-FF-WEST:1", "WOW")
Parameter("7125-3209-CAB-WU-01:1", "coHeight")=Parameter("7125-3209-FF-WEST:1", "UCOH")
Parameter("7125-3209-CAB-WU-01:1", "ffDepth")=WFFOW-Parameter("7125-3209-FF-WEST:1", "USB")
Parameter("7125-3209-CAB-WU-01:1", "ffThickness")=FFT
Parameter("7125-3209-CAB-WU-01:1", "shimThickness")=.5

Parameter("7125-3209-CAB-WU-02:1", "coWidth")=Parameter("7125-3209-FF-WEST:1", "COW")
Parameter("7125-3209-CAB-WU-02:1", "coHeight")=Parameter("7125-3209-FF-WEST:1", "UCOH")
Parameter("7125-3209-CAB-WU-02:1", "ffDepth")=WFFOW-Parameter("7125-3209-FF-WEST:1", "USB")
Parameter("7125-3209-CAB-WU-02:1", "ffThickness")=FFT
Parameter("7125-3209-CAB-WU-02:1", "shimThickness")=.5

Parameter("7125-3209-CAB-WU-03:1", "coWidth")=Parameter("7125-3209-FF-WEST:1", "WOW")
Parameter("7125-3209-CAB-WU-03:1", "coHeight")=Parameter("7125-3209-FF-WEST:1", "UCOH")
Parameter("7125-3209-CAB-WU-03:1", "ffDepth")=WFFOW-Parameter("7125-3209-FF-WEST:1", "USB")
Parameter("7125-3209-CAB-WU-03:1", "ffThickness")=FFT
Parameter("7125-3209-CAB-WU-03:1", "shimThickness")=.5

']

']

'[ PLINTHS

Parameter("7125-3209-PL-WB-01:1", "pWidth")=Parameter("7125-3209-CAB-WB-01:1", "cWidth")
Parameter("7125-3209-PL-WB-01:1", "FFOW")=Parameter("7125-3209-CAB-WB-01:1", "ffDepth")
Parameter("7125-3209-PL-WB-01:1", "shimThickness")=Parameter("7125-3209-CAB-WB-01:1", "shimThickness")
Parameter("7125-3209-PL-WB-01:1", "tkDepth")=3
Parameter("7125-3209-PL-WB-01:1", "tkHeight")=BBFH
Parameter("7125-3209-PL-WB-01:1", "brHeight")=Parameter("7125-3209-FF-WEST:1", "TYP")

Parameter("7125-3209-PL-WB-03:1", "pWidth")=Parameter("7125-3209-CAB-WB-03:1", "cWidth")
Parameter("7125-3209-PL-WB-03:1", "FFOW")=Parameter("7125-3209-CAB-WB-03:1", "ffDepth")
Parameter("7125-3209-PL-WB-03:1", "shimThickness")=Parameter("7125-3209-CAB-WB-03:1", "shimThickness")
Parameter("7125-3209-PL-WB-03:1", "tkDepth")=3
Parameter("7125-3209-PL-WB-03:1", "tkHeight")=BBFH
Parameter("7125-3209-PL-WB-03:1", "brHeight")=Parameter("7125-3209-FF-WEST:1", "TYP")

']

'[ SHELVES

Parameter("7125-3209-SH-WU-01-A:1", "coDepth")=Parameter("7125-3209-CAB-WU-01:1", "coDepth")
Parameter("7125-3209-SH-WU-01-A:1", "coWidth")=Parameter("7125-3209-CAB-WU-01:1", "coWidth")
Parameter("7125-3209-SH-WU-01-A:1", "shThickness")=.75

Parameter("7125-3209-SH-WU-02-A:1", "coDepth")=Parameter("7125-3209-CAB-WU-02:1", "coDepth")
Parameter("7125-3209-SH-WU-02-A:1", "coWidth")=Parameter("7125-3209-CAB-WU-02:1", "coWidth")
Parameter("7125-3209-SH-WU-02-A:1", "shThickness")=.75
d319=-Parameter("7125-3209-CAB-WU-02:1", "boBottom")

Parameter("7125-3209-SH-WU-03-A:1", "coDepth")=Parameter("7125-3209-CAB-WU-03:1", "coDepth")
Parameter("7125-3209-SH-WU-03-A:1", "coWidth")=Parameter("7125-3209-CAB-WU-03:1", "coWidth")
Parameter("7125-3209-SH-WU-03-A:1", "shThickness")=.75

Parameter("7125-3209-SH-WM-01:1", "coDepth")=Parameter("7125-3209-CAB-WM-01:1", "coDepth")
Parameter("7125-3209-SH-WM-01:1", "coWidth")=Parameter("7125-3209-CAB-WM-01:1", "coWidth")
Parameter("7125-3209-SH-WM-01:1", "shThickness")=.75

Parameter("7125-3209-SH-WM-03:1", "coDepth")=Parameter("7125-3209-CAB-WM-03:1", "coDepth")
Parameter("7125-3209-SH-WM-03:1", "coWidth")=Parameter("7125-3209-CAB-WM-03:1", "coWidth")
Parameter("7125-3209-SH-WM-03:1", "shThickness")=.75

']

']

'[ SOUTH WALL

'[ CABINETS

'[ BASE

Parameter("7125-3209-CAB-SB-01:1", "coWidth")=Parameter("7125-3209-FF-SOUTH:1", "WDOW")
Parameter("7125-3209-CAB-SB-01:1", "coHeight")=Parameter("7125-3209-FF-SOUTH:1", "WDCOH")
Parameter("7125-3209-CAB-SB-01:1", "ffDepth")=SFFOW
Parameter("7125-3209-CAB-SB-01:1", "ffThickness")=FFT
Parameter("7125-3209-CAB-SB-01:1", "shimThickness")=0

Parameter("7125-3209-CAB-SB-02:1", "coWidth")=Parameter("7125-3209-FF-EAST:1", "SRCOW")
Parameter("7125-3209-CAB-SB-02:1", "coHeight")=Parameter("7125-3209-FF-EAST:1", "TBCOH")
Parameter("7125-3209-CAB-SB-02:1", "ffDepth")=Parameter("7125-3209-FF-EAST:1", "SBCOW")
Parameter("7125-3209-CAB-SB-02:1", "ffThickness")=FFT
Parameter("7125-3209-CAB-SB-02:1", "shimThickness")=.5

']

'[ UPPERS

Parameter("7125-3209-CAB-SU-01:1", "coWidth")=Parameter("7125-3209-FF-SOUTH:1", "LCOW")
Parameter("7125-3209-CAB-SU-01:1", "coHeight")=Parameter("7125-3209-FF-SOUTH:1", "UDOH")
Parameter("7125-3209-CAB-SU-01:1", "ffDepth")=SFFOW-Parameter("7125-3209-FF-SOUTH:1", "USB")+Parameter("7125-3209-FF-SOUTH:1", "LCO")
Parameter("7125-3209-CAB-SU-01:1", "ffThickness")=FFT
Parameter("7125-3209-CAB-SU-01:1", "shimThickness")=.5
Parameter("7125-3209-CAB-SU-01:1", "LCS")=Parameter("7125-3209-RM_LAUNDRY-CHUTE:1", "LCS")

Parameter("7125-3209-CAB-SU-02:1", "coWidth")=Parameter("7125-3209-FF-SOUTH:1", "UCOW")
Parameter("7125-3209-CAB-SU-02:1", "coHeight")=Parameter("7125-3209-FF-SOUTH:1", "UCOHT")
Parameter("7125-3209-CAB-SU-02:1", "ffDepth")=SFFOW-Parameter("7125-3209-FF-SOUTH:1", "USB")
Parameter("7125-3209-CAB-SU-02:1", "ffThickness")=FFT
Parameter("7125-3209-CAB-SU-02:1", "shimThickness")=.5

']

']

'[ PLINTHS

Parameter("7125-3209-PL-SB-02:1", "pWidth")=Parameter("7125-3209-CAB-SB-02:1", "cWidth")+Parameter("7125-3209-CAB-EB-01:1", "cWidth")/2-Parameter("7125-3209-CAB-EB-01:1", "lsThickness")+Parameter("7125-3209-PL-EB-01:1", "tkDepth")
Parameter("7125-3209-PL-SB-02:1", "FFOW")=EFFOW
Parameter("7125-3209-PL-SB-02:1", "shimThickness")=Parameter("7125-3209-CAB-EB-01:1", "shimThickness")
Parameter("7125-3209-PL-SB-02:1", "tkDepth")=3.5
Parameter("7125-3209-PL-SB-02:1", "tkHeight")=TKH
Parameter("7125-3209-PL-SB-02:1", "brHeight")=1.25

']

'[ SHELVES

Parameter("7125-3209-SH-SU-02-A:1", "coDepth")=Parameter("7125-3209-CAB-SU-02:1", "coDepth")
Parameter("7125-3209-SH-SU-02-A:1", "coWidth")=Parameter("7125-3209-CAB-SU-02:1", "BAY_WIDTH")
Parameter("7125-3209-SH-SU-02-A:1", "shThickness")=.75

Parameter("7125-3209-SH-SU-02-B:1", "coDepth")=Parameter("7125-3209-CAB-SU-02:1", "coDepth")
Parameter("7125-3209-SH-SU-02-B:1", "coWidth")=Parameter("7125-3209-CAB-SU-02:1", "BAY_WIDTH")
Parameter("7125-3209-SH-SU-02-B:1", "shThickness")=.75

']

']

'[ EAST WALL

'[ CABINETS

'[ BASE

Parameter("7125-3209-CAB-EB-01:1", "coWidth")=Parameter("7125-3209-FF-EAST:1", "LSOW")*2+FFT*2
Parameter("7125-3209-CAB-EB-01:1", "coHeight")=Parameter("7125-3209-FF-EAST:1", "TBCOH")
Parameter("7125-3209-CAB-EB-01:1", "ffDepth")=EFFOW
Parameter("7125-3209-CAB-EB-01:1", "ffThickness")=FFT
Parameter("7125-3209-CAB-EB-01:1", "shimThickness")=.5
Parameter("7125-3209-RM_LAZY_SUSAN-01:1", "CAB_H")=Parameter("7125-3209-CAB-EB-01:1", "coHeight")

Parameter("7125-3209-CAB-EB-02:1", "coWidth")=Parameter("7125-3209-FF-EAST:1", "EBCOW")
Parameter("7125-3209-CAB-EB-02:1", "coHeight")=Parameter("7125-3209-FF-EAST:1", "TBCOH")
Parameter("7125-3209-CAB-EB-02:1", "ffDepth")=EFFOW
Parameter("7125-3209-CAB-EB-02:1", "ffThickness")=FFT
Parameter("7125-3209-CAB-EB-02:1", "shimThickness")=.5
Parameter("7125-3209-CAB-EB-02:1", "SINK")=Parameter("7125-3209-FF-EAST:1", "SINK")
Parameter("7125-3209-CAB-EB-02:1", "SSSH")=Parameter("7125-3209-FF-EAST:1", "SSSH")

']

'[ TALL

Parameter("7125-3209-CAB-ET-01:1", "coWidth")=Parameter("7125-3209-FF-EAST:1", "TCOW")
Parameter("7125-3209-CAB-ET-01:1", "coHeight")=Parameter("7125-3209-FF-EAST:1", "TCDOH")
Parameter("7125-3209-CAB-ET-01:1", "ffDepth")=EFFOW+Parameter("7125-3209-FF-EAST:1", "TSF")
Parameter("7125-3209-CAB-ET-01:1", "ffThickness")=FFT
Parameter("7125-3209-CAB-ET-01:1", "shimThickness")=.5

']

'[ UPPER

Parameter("7125-3209-CAB-EU-01:1", "coWidth")=Parameter("7125-3209-FF-EAST:1", "URW")+Parameter("7125-3209-FF-EAST:1", "SUCOW")
Parameter("7125-3209-CAB-EU-01:1", "coHeight")=Parameter("7125-3209-FF-EAST:1", "RUCOH")
Parameter("7125-3209-CAB-EU-01:1", "ffDepth")=EFFOW-Parameter("7125-3209-FF-EAST:1", "USB")
Parameter("7125-3209-CAB-EU-01:1", "ffThickness")=FFT
Parameter("7125-3209-CAB-EU-01:1", "shimThickness")=.5

Parameter("7125-3209-CAB-EU-02:1", "coWidth")=Parameter("7125-3209-FF-EAST:1", "TCOW")
Parameter("7125-3209-CAB-EU-02:1", "coHeight")=Parameter("7125-3209-FF-EAST:1", "LUCOH")
Parameter("7125-3209-CAB-EU-02:1", "ffDepth")=EFFOW+Parameter("7125-3209-FF-EAST:1", "TSF")
Parameter("7125-3209-CAB-EU-02:1", "ffThickness")=FFT
Parameter("7125-3209-CAB-EU-02:1", "shimThickness")=.5

']

']

'[ PLINTHS

Parameter("7125-3209-PL-EB-01:1", "pWidth")=Parameter("7125-3209-CAB-EB-01:1", "cWidth")/2+Parameter("7125-3209-CAB-EB-01:1", "cDepth")
Parameter("7125-3209-PL-EB-01:1", "FFOW")=EFFOW
Parameter("7125-3209-PL-EB-01:1", "shimThickness")=Parameter("7125-3209-CAB-EB-01:1", "shimThickness")
Parameter("7125-3209-PL-EB-01:1", "tkDepth")=3.5
Parameter("7125-3209-PL-EB-01:1", "tkHeight")=TKH
Parameter("7125-3209-PL-EB-01:1", "brHeight")=1.25

Parameter("7125-3209-PL-EB-02:1", "pWidth")=Parameter("7125-3209-CAB-EB-02:1", "cWidth")
Parameter("7125-3209-PL-EB-02:1", "FFOW")=EFFOW
Parameter("7125-3209-PL-EB-02:1", "shimThickness")=Parameter("7125-3209-CAB-EB-02:1", "shimThickness")
Parameter("7125-3209-PL-EB-02:1", "tkDepth")=3.5
Parameter("7125-3209-PL-EB-02:1", "tkHeight")=TKH
Parameter("7125-3209-PL-EB-02:1", "brHeight")=1.25

Parameter("7125-3209-PL-ET-01:1", "pWidth")=Parameter("7125-3209-CAB-ET-01:1", "cWidth")
Parameter("7125-3209-PL-ET-01:1", "FFOW")=EFFOW++Parameter("7125-3209-FF-EAST:1", "TSF")
Parameter("7125-3209-PL-ET-01:1", "shimThickness")=Parameter("7125-3209-CAB-ET-01:1", "shimThickness")
Parameter("7125-3209-PL-ET-01:1", "tkDepth")=3.5
Parameter("7125-3209-PL-ET-01:1", "tkHeight")=TKH
Parameter("7125-3209-PL-ET-01:1", "brHeight")=1.25

']

'[ SHELVES

Parameter("7125-3209-SH-EU-01:1", "coDepth")=Parameter("7125-3209-CAB-EU-01:1", "coDepth")
Parameter("7125-3209-SH-EU-01:1", "coWidth")=Parameter("7125-3209-CAB-EU-01:1", "coWidth")
Parameter("7125-3209-SH-EU-01:1", "shThickness")=.75

Parameter("7125-3209-SH-EU-02:1", "coDepth")=Parameter("7125-3209-CAB-EU-02:1", "coDepth")
Parameter("7125-3209-SH-EU-02:1", "coWidth")=Parameter("7125-3209-CAB-EU-02:1", "coWidth")
Parameter("7125-3209-SH-EU-02:1", "shThickness")=.75

Parameter("7125-3209-SH-ET-01:1", "coDepth")=6.375
Parameter("7125-3209-SH-ET-01:1", "coWidth")=Parameter("7125-3209-CAB-ET-01:1", "coWidth")
Parameter("7125-3209-SH-ET-01:1", "shThickness")=.75

Parameter("7125-3209-SH-ET-01-DEEP:1", "coDepth")=Parameter("7125-3209-CAB-ET-01:1", "coDepth")
Parameter("7125-3209-SH-ET-01-DEEP:1", "coWidth")=Parameter("7125-3209-CAB-ET-01:1", "coWidth")
Parameter("7125-3209-SH-ET-01-DEEP:1", "shThickness")=.75

']

']

'[ UPDATE
InventorVb.DocumentUpdate()
']

I am out of ideas to try, so I'm asking the community for any help you can provide.

0 Likes
Accepted solutions (1)
976 Views
4 Replies
Replies (4)
Message 2 of 5

J-Camper
Advisor
Advisor

UPDATE:

 

While trying to re-create the issue above I found that the collapsible brackets break after 2 or more sub-brackets are put under a main bracket, pictures below:

 

before closing main bracket around sub-bracketsbefore closing main bracket around sub-bracketsafter closing main bracket around sub-bracketsafter closing main bracket around sub-brackets

 

I also discovered that my colleague has not installed the most recent Inventor 2018 update, while I have.  We are thinking it might be a bug in the update.

0 Likes
Message 3 of 5

JaneFan
Autodesk
Autodesk
Accepted solution

Hi @J-Camper,

 

Thanks so much for your report. I can reproduce this issue and has logged it into our internal tracking system.




Jane Fan
Inventor/Fusion QA Engineer
0 Likes
Message 4 of 5

J-Camper
Advisor
Advisor

UPDATE:  2/6/18

 

I recently discovered that a named collapsible region is now opening up upon editing further down the code.  I don't know if this is part of the same bug or hails from a different origin.  I have capture a series of photos showing normal operation with unnamed collapsible regions and the un-collapsing named regions:

 

creating named & unnamed regionscreating named & unnamed regionscollapsing unnamed regionscollapsing unnamed regionsadding & editing code below collapsed regions with no problemadding & editing code below collapsed regions with no problemcollapsing a named regioncollapsing a named regionadding & editing lines below, results in named region opening by itselfadding & editing lines below, results in named region opening by itself

 

There is a work around for now, putting the name after the closed bracket, but all of our existing code will not work properly even after initial posted bug is fixed.

0 Likes
Message 5 of 5

JaneFan
Autodesk
Autodesk

Hi @J-Camper

 

Thanks again. This issue was tracked in our internal system, too. 




Jane Fan
Inventor/Fusion QA Engineer
0 Likes