# LAYFRZ Command
[GstarCAD 2027](Help%20System/GSTARCAD/2027/Index.md) → [Commands](Help%20System/GSTARCAD/2027/Commands/(Commands).md)
**Function Description:**
This command is used to freeze the layer of the selected object.
The objects on the frozen layer are invisible. In large drawings, freezing unnecessary layers can speed up display and regeneration. Users can freeze layers in individual layout viewports.
**Command Access:**
> **Icon:** 
> **Menu:** Format > Layer Tools > Layer Freeze
> **Ribbon:** Home > Layer > LAYFRZ
> **Toolbar:** Layers Ⅱ > Layer Freeze
> **Command:** LAYFRZ
> **Alias:** /
**Command Prompts:**
```
Select an object on the layer to be frozen or [Settings/Undo]:
```
## **Select an object on the layer to be frozen**
Specifies the layer to be frozen.
## **Settings**
Displays the settings for viewports and block definitions. The setting you choose persists from session to session.
- **Viewports:** Displays settings for viewports.
**Freeze:** Freezes all objects in all viewports.
**Vpfreeze:** Freezes an object in the current viewport only.
- **Block selection:** Displays settings for block definitions.
**Block:** If a selected object is nested in a block, the layer of the selected block will be frozen. If a selected object is nested in an external reference, it will freeze the layer of the selected object.
**Entity:** Freezes the layer of selected objects even if they are nested in an external reference or a block.
**None:** If selecting a block or an external reference, it will freeze the layer that the block or external reference belongs to.
## **Undo**
Cancels the selection of the previous layer.
---
**Related References:**
- [Commands about Layers (GstarCAD 2026)](../../2026/Commands/Command%20Groups/Commands%20about%20Layers.md)
**Related Tasks:**
- [To Work with Layers (GstarCAD 2026)](../../2026/Commands/To%20Work%20with%20Layers.md)
- [To Change the Visibility of Layers (GstarCAD 2026)](../../2026/Commands/To%20Change%20the%20Visibility%20of%20Layers.md)
---
[Original help](https://www.gstarcad.net/help/GstarCAD_2027_en-US/detail/commandReferences/LAYFRZ.html) · © Gstarsoft Co., Ltd.