@per_anders
Plotting a certain color depends primarily on whether your plot style is CTB based or STB based. So if you are using STB plotstyles, the issue may also be simplified to setting the plot style of the xref layers to 50 percent. This will not affect the way that layers appear on screen though, except within paper space viewports and then only if the pagesetup display as plot is checked.
Next, since some objects within the xref may be on layer 0, you should also create a layer for the external reference itself and set that layer's color to 8 or plotstyle to 50 percent (if STB).
Next, if you want layer control in the xref target vs xref source, make sure visretain is set to 1.
As @Alfred.NESWADBA said, you will probably need to set XREFOVERRIDE to 1 to ensure that objects not set to bylayer behave as if they were bylayer. My preference is to edit the xref drawings and ensure all main objects are bylayer and all nested objects are either bylayer or byblock and that all mtext color overrides, multileader style color overrides,and dimstyle color overrides have been stripped out. Suitable source changes are only practically applied though programmatically.
For CTB plotting and color display on-screen,
- If you want to see and plot this behavior in model space, you need to change the colors of the xref drawing layers itself. Viewport overrides only exist within a viewport in paper space and cannot be set while in the model tab.
- If you work and/or plot in paper space and if you want to vary the way you plot the xref on a per viewport basis, then you should set the vpoverrides either using layer or vplayer while that viewport is active. For viewport overrides to be available, you must be in a layout tab.
Architect, Registered NC, VA, SC, & GA.