LinkWidthAndSlope and other "Generic" subassemblies have the bool input parameter "Omit Link"= Yes/No.
Why don´t you add a third option?
Yes
No
Only in Roadway mode (will be displayed only in layout mode).
This way we hide the link in the corridor but not in the assembly.
I already know that I can use another Code Set Style for the corridor section and another to the assembly and "hide" the link with a "No_display" link style.