# SETBYLAYER Command [GstarCAD 2027](Help%20System/GSTARCAD/2027/Index.md) → [Commands](Help%20System/GSTARCAD/2027/Commands/(Commands).md) → [S](Help%20System/GSTARCAD/2027/Commands/S/(S).md) ## Function Description: This command is used to change the property overrides of selected objects to ByLayer. ## Command Access: > **Icon:** ![](Help%20System/GSTARCAD/2027/assets/d8578ed5fdebc33ec13606a76798ee2816cee370c6fc4363872684b499b7e6dc.png) > **Menu:** Modify > Change to ByLayer > **Ribbon:** Home > Modify > Change to ByLayer > **Toolbar:** / > **Command:** SETBYLAYER > **Alias:** / ## Command Prompts: The following prompts are displayed. They differ, depending on whether objects are selected before you start the command. **If no objects are selected, the following prompt is displayed.** ``` Select objects or [Settings]: ``` ## Select objects Specifies which object should inherit layer properties. ## Settings Displays the SetByLayer Settings dialog box, in which you can specify which object properties are set to ByLayer. ![](Help%20System/GSTARCAD/2027/assets/d35cf646c8e8257135bb9aa249cfe5b4430d2a5edc02b029a4c2504095963ff8.jpg) **If objects are selected, the following prompt is displayed.** ``` Change ByBlock to ByLayer? [Yes/No] <Yes>: ``` ``` Include blocks? [Yes/No] <Yes>: ``` ![](Help%20System/GSTARCAD/2027/assets/9dfeb1c450d041ea2772cb6d8891bcdd68101a2f2c0513aebcc20f2cd6dac65f.jpg) --- **Related References:** - [Commands about Object Properties (GstarCAD 2026)](../../../2026/Commands/00%20Command%20Groups/Commands%20about%20Object%20Properties.md) ```   ``` ```   ``` --- [Original help](https://www.gstarcad.net/help/GstarCAD_2027_en-US/detail/commandReferences_S/SETBYLAYER.html) · © Gstarsoft Co., Ltd.