Hide a layer in one viewport only, or give a layer its own colour, linetype, lineweight, transparency or plot style in one viewport. For sheets that show the same model in different ways.
Before you start
- A licence that allows editing.
- A layout with at least one viewport.
Steps: freeze a layer in one viewport
- In the layout tab, select the viewport and click Output > Layout > Viewport….
- In Layers frozen in this viewport (shown and plotted in the others), tick each layer to hide.
- Click OK. The layers disappear from that viewport on screen and in the plot. The drawing and the other viewports still show them.
Steps: override layer properties in one viewport
- Open Viewport… for the viewport.
- In the layer properties table, find the layer's row and fill in only the cells you want to change:
- Colour:
#RRGGBBor a colour name such asred. - Linetype: a linetype already loaded in the drawing.
- Lineweight (mm): 0 to 5.
- Transparency (%): 0 to 90.
- Plot style: Normal or a named style of the drawing's plot style table.
- Colour:
- Leave a cell empty to keep the layer's own value.
- Click OK. The change is one undo step.
How overrides apply
- Objects that take the property ByLayer show and plot with the override in that viewport.
- Objects with their own colour, linetype, lineweight or transparency keep it.
- Model space and the other viewports are not affected.
- Pieces of a block reference on layer 0 follow the reference's layer, and pieces set ByBlock take the reference's value as that viewport shows it, through nested references too.
- Renaming a layer keeps its viewport freezes and overrides.
Example
A floor plan has the layer E-POWER in black. In viewport 2 of the "Electrical" layout, set its colour to #D00000
and lineweight to 0.5. Viewport 2 plots the power layout in heavy red; viewport 1 and the Model tab still show it
in black.
Command line
| Command | What it does |
|---|---|
-VPLAYER |
Freezes, thaws or resets layers (names or wildcards such as A-*) in one viewport of a layout. |
-VPLAYERPROPS (alias VPLAYEROVERRIDE) |
Asks for the layout, the viewport number and Colour (Color also accepted), Ltype, LWeight, TRansparency or PStyle with its value and the layers. Clear removes overrides (* for all); List shows them. One run is one undo step. |
Troubleshooting
| Message or symptom | What it means and what to do |
|---|---|
| "Layer …: "…" is not a colour for an override (#RRGGBB or a colour name)." | Type a hex colour such as #336699 or a colour name. |
| "Layer …: the drawing has no linetype "…"; load it first." | Load the linetype into the drawing, then set the override. |
| "Layer …: the lineweight must be 0 to 5 mm." | Use a value from 0 to 5. |
| "Layer …: the transparency must be 0 to 90 %." | Use a value from 0 to 90. |
| An object ignores the override | The object has its own property instead of ByLayer. Set it to ByLayer if it should follow. |
Related
Related
- Plotting a drawing to PDF
- Printing and plotting a drawing
- Setting up a sheet set
- Publishing and printing a sheet set
- Importing and exporting DXF
- Importing and exporting IFC
Still stuck? Open a support ticket or use Help, then Contact support in Stratal CAD.