# WBLOCK Command
[GstarCAD 2025](Help%20System/GSTARCAD/2025/Index.md) → [Commands](Help%20System/GSTARCAD/2025/Commands/(Commands).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/2025/Commands/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:** 
> **Menu:** /
> **Ribbon:** Insert > Block Definition > Create Block > Write Block
> **Toolbar:** /
> **Command:** WBLOCK
> **Alias:** W
**Command Prompts: /**
---
**Related References:**
- [Commands about Basic Blocks](Help%20System/GSTARCAD/2025/Commands/Commands%20about%20Basic%20Blocks.md)
- [Commands about Saving Drawings](Help%20System/GSTARCAD/2025/Commands/Commands%20about%20Saving%20Drawings.md)
**Related Tasks:**
- [To Define a Block for the Current Drawing](Help%20System/GSTARCAD/2025/Commands/01%20Procedures/To%20Define%20a%20Block%20for%20the%20Current%20Drawing.md)
---
[Original help](https://www.gstarcad.net/help/GstarCAD_2025_en-US/detail/commandReferences/WBLOCK.html) · © Gstarsoft Co., Ltd.