XREF color

XREF color

per_anders
Advocate Advocate
36,986 Views
13 Replies
Message 1 of 14

XREF color

per_anders
Advocate
Advocate

Hello

 

Can you make it so the x-ref drawing will print out in index color 8 (grey)? So that you get the same printing-thickness on all walls, symbols, furnitures etc. And that my plumbing drawing will look as I want to in my color settings. 

 

Mvh

Per-Anders

Pas
Accepted solutions (3)
36,987 Views
13 Replies
Replies (13)
Message 2 of 14

-FDC-
Advisor
Advisor
Accepted solution

You can do this by changing the viewport color (or VP lineweight) for your xref layers.

Like this the xref stays unchanged in modelspace and wil print in whatever you want in paperspace.

Go to paperspace, activate your viewport and change the VP color in your layer settings to color 8.

 

VPcolor.PNG

Message 3 of 14

ara_neresesian
Collaborator
Collaborator
Hi
As I understand you want to print all objects in the xref gray and the rest layer as you want per color.
If i am right you can go to layer select the color of your xref attach layers to no 8
( but sll objects in xref must be set color=by layer)
Then you can chenge all xref layer color in your darawung to each color you want
Without changing the xref source file
Good luck
Message 4 of 14

imadHabash
Mentor
Mentor

Hi,

 

>> Can you make it so the x-ref drawing will print out in index color 8 (grey)? <<

Yes you can ... You can now apply overrides for color, linetype, lineweight, and plot style to layers in individual layout viewports. >> Click <<  and when you want to delete and remove all the viewport overrides from all the layers in the current viewport just use VPLAYER command with hidden keyword option reMoveoverrides

 

Command:  VPLAYER
Enter an option  [?/Color/Ltype/LWeight/Freeze/Thaw/Reset/Newfrz/Vpvisdflt]: M
Enter an option [Color/Ltype/LWeight/PStyle/All]: A
Enter layer name(s) to receive VP property override or <specify layers by object selection>:  *
Specify viewports(s)  [All/Select/Current]  <Current>:  C
Enter an option  [?/Color/Ltype/LWeight/Freeze/Thaw/Reset/Newfrz/Vpvisdflt]: 

 

 

 

all the best ... 

 

Imad Habash

EESignature

Message 5 of 14

Alfred.NESWADBA
Consultant
Consultant

Hi,

 

>> but sll objects in xref must be set color=by layer

Just want to add ... if not all objects within the XRef are set to color = byLayer you can use sysvar XREFOVERRIDE (>>>details<<<) to get them displayed well (in grey in this case)

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2026
------------------------------------------------------------------------------------

(not an Autodesk consultant)
Message 6 of 14

per_anders
Advocate
Advocate

Hi! I do not have VP Color in my menu?Screen Shot 01-26-18 at 01.47 PM.PNG

Pas
0 Likes
Message 7 of 14

-FDC-
Advisor
Advisor

What version of Autocad are you using ?

0 Likes
Message 8 of 14

per_anders
Advocate
Advocate

Hey!
These two options will only appear on the menu bar if I am writing VPLAYER. Do I write M and I receive an error message?Screen Shot 01-26-18 at 02.04 PM.PNG

Pas
0 Likes
Message 9 of 14

per_anders
Advocate
Advocate

2018

Pas
0 Likes
Message 10 of 14

-FDC-
Advisor
Advisor
Accepted solution

VPcolor (viewport color) is only available when you are in paperspace!

Message 11 of 14

dbroad
Mentor
Mentor
Accepted solution

@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,

 

  1. 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.
  2. 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.
Message 12 of 14

per_anders
Advocate
Advocate

Thanks for the tip it was really good.

 

Mvh

Per-Anders

Pas
0 Likes
Message 13 of 14

levi2FNWQ
Contributor
Contributor
This helped me. Thanks!
Message 14 of 14

-FDC-
Advisor
Advisor

You're welcome !

0 Likes