# WBLOCK Command [GstarCAD 2027](Help%20System/GSTARCAD/2027/Index.md) → [Commands](Help%20System/GSTARCAD/2027/Commands/(Commands).md) → [W](Help%20System/GSTARCAD/2027/Commands/W/(W).md) ## Function Description: This command is used to save selected object as a specified drawing file or convert a block into a specified drawing file. The [Write Block dialog box](Help%20System/GSTARCAD/2027/Commands/03%20Dialog%20Boxes/W/WBLOCK%20Dialog%20Box.md) is displayed. If you enter -WBLOCK at the command line, the Create Drawing File dialog box is displayed, users can specify a new drawing file name and path. If the FILEDIA system variable is set to 0, the standard file selection dialog box is suppressed. ## Command Access: > **Icon:** ![](Help%20System/GSTARCAD/2027/assets/1a9dcc53eb134e94e7e1467af864a3578895490d800b6ff258abc580d2db2221.png) > **Menu:** / > **Ribbon:** Insert > Block Definition > Create Block > Write Block > **Toolbar:** / > **Command:** WBLOCK > **Alias:** W **Command Prompts: /** --- **Related References:** - [Commands about Basic Blocks (GstarCAD 2026)](../../../2026/Commands/00%20Command%20Groups/Commands%20about%20Basic%20Blocks.md) - [Commands about Saving Drawings (GstarCAD 2026)](../../../2026/Commands/00%20Command%20Groups/Commands%20about%20Saving%20Drawings.md) **Related Tasks:** - [To Define a Block for the Current Drawing (GstarCAD 2026)](../../../2026/Commands/01%20Procedures/To%20Define%20a%20Block%20for%20the%20Current%20Drawing.md) --- [Original help](https://www.gstarcad.net/help/GstarCAD_2027_en-US/detail/commandReferences_W/WBLOCK.html) · © Gstarsoft Co., Ltd.