iLogic component suppression in custom LOD results in 'reference' components in Master LOD. Why?

iLogic component suppression in custom LOD results in 'reference' components in Master LOD. Why?

rob
Advocate Advocate
389 Views
3 Replies
Message 1 of 4

iLogic component suppression in custom LOD results in 'reference' components in Master LOD. Why?

rob
Advocate
Advocate

I have an assembly with some steel components and some timber components and I want an LOD with only the steel components shown.

 

All components are unsuppressed in the Master LOD and BOM Structure is normal.

 

After running iLogic rule to activate the 'steel only' LOD and suppress the non-steel components, the non-steel components (suppressed in 'steel only') show as Reference BOM Structure in the Master LOD.  Why is this, and how do I keep them as 'Normal' in the Master LOD?

 

I am using Component.IsActive(str.Occurrence.Name) = False to suppress on strOccurrence.Name.Contains("name").

IV Pro 2020.2
0 Likes
390 Views
3 Replies
Replies (3)
Message 2 of 4

rob
Advocate
Advocate

P.S.  Doing the same operation manually does not have this effect: suppressing in the 'steel only' LOD has no impact on Master LOD BOM state, which shows those components as 'Normal'...as expected.

IV Pro 2020.2
0 Likes
Message 3 of 4

j.haggenjos
Advocate
Advocate

You may have more luck using the ComponentOccurrence.Suppressed property directly instead of the iLogic shortcut "Component.IsActive".

 

However, it may need a bit more complicated code to access the desired component for suppression.

0 Likes
Message 4 of 4

rob
Advocate
Advocate

Thanks.  My objective is to show two different states in two different drawing views, a coworker has suggested using view reps and visibility and I'll try that first.

IV Pro 2020.2
0 Likes