Can I hide a layer in model space but show it in paper space

Can I hide a layer in model space but show it in paper space

Ntuthuko.
Advocate Advocate
7,404 Views
7 Replies
Message 1 of 8

Can I hide a layer in model space but show it in paper space

Ntuthuko.
Advocate
Advocate

Good day

 

I know how to show layers in model space but hide them in certain viewports. Is the opposite possible. I want to show some objects in one of my layouts without having to keep them visible in the model space as they clutter my drafting workflow. I can always switch their layer off entirely and then switch it back off when I plot but if possible I'd prefer not to have to do it this way.

 

Thank you for your assistance.

 

Ntuthuko

0 Likes
7,405 Views
7 Replies
Replies (7)
Message 2 of 8

Anonymous
Not applicable

I don't know of a way except to create the objects on that layer in paper space. Or create them in model space but then move them to paper space using CHSPACE though the viewport.

Message 3 of 8

ChrisRS
Mentor
Mentor

This is a core AutoCAD issue. You might have better luck in the AutoCAD forum.

 

No, you can't have layers hidden (Off or Freeze) in model space but shown in a viewport. Apparently, this behavior is by design.

 

Possible work arounds.

  1. Use Layer states, such as "Model Hide" and "Viewport Show".
    "Model Hide" would have certain layer hidden.
    "Viewport Show" would have appropriate layers shown.
    If you have different viewport display requirements, you will need additional viewport states.
    TIP: Type "LAYERSTATE" to get directly to the Layer State Manger, without the Layer Properties Manager
    (Note: Appling a 'Show' layer state to a viewport seems to force 'show' in model space as well.)
  2. You may be able to deemphasize the layer you want to 'hide' by setting the color to be near teh background color. For example, Layers set to true color 3,3,3 nearly disappears against the dark grey Civil 3D background of 33,40,48. 
    ChrisRS_1-1629903537426.png

    This makes the "hidden" information visible in viewports with a light background. If necessary the VP color can be overridden, without changing the color in model space. 

    ChrisRS_2-1629903751219.png

I hope that this helps.

Good Luck!

Christopher Stevens
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

Message 4 of 8

Joe-Bouza
Mentor
Mentor

Create a custom button to go to MS that includes a script to turn off the layer and reverse it to go back

Joe Bouza
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

Message 5 of 8

Simon_Blain
Advocate
Advocate

If the model space drawing is xref'ed into another drawing for the viewport view you can do this. Freeze in xref'ed model space but unfreeze in the viewport drawing. Otherwise I don't think it's possible.

 

If I'm not clear:

Drawing 1 has model

Drawing 2 has the viewport view and drawing 1 attached by xref.

Freeze unwanted layer in drawing 1 model space

Drawing 2 can have it thawed while not changing drawing 1 🙂

Visretain variable will be important so that reloading drawing 1 doesn't update layer statuses.

Message 6 of 8

dougnorton
Advocate
Advocate

The command you want is VPLAYER. 
If you hadn't created the layer yet, the sequence will be "VPLAYER", "N" (Creates a new layer that is frozen in ALL viewports, including all paperspaces), "nameofnewlayer".
If the layer is (most likely) already there, "VPLAYER" "F" "layernamehere" "All". That will freeze said layer in all viewports, again, including paperpsaces. Just remember to go to the one paperspace that you want it to show, Thaw the layer in your viewport(s), and remember to thaw it on that paperspace as well.
It's not quite what you're after, it has to be thawed and on in your modelspace, but this controls exactly which paperspaces you want it to show up in.  It's not what you think you want, but it's the best workable solution, really.
Best I can do.

 

dougnorton_0-1629986886609.png

 

Message 7 of 8

Udo_Huebner
Mentor
Mentor

With simple AutoCAD, this is a pain. Still, here come two more workarounds.

a) Turning off layers with GIS features from MAP/Civil 3D.

Just create a new MAP "Hidden Layers" and add Drawing Data > Drawing Layers, then hide them in Modelspace.

In Layout mode, continue to use the "default" MAP with all layers visible and assign them to your viewport.

a) or Create a layout tab with layers turned off in the viewport. Then use Command: _VPMAX

But these are just workarounds - the real answer is no.

 

Gruß Udo Hübner (CAD-Huebner)
Message 8 of 8

Ntuthuko.
Advocate
Advocate

Thank you very much to everyone for all the inputs. They are all relevant for different applications. I will explore with layer states as I have never really delved into them.

0 Likes