# WBLOCK Command [GstarCAD 2018](Help%20System/GSTARCAD/2018/Index.md) → [Commands](Help%20System/GSTARCAD/2018/Commands/(Commands).md) → [W](Help%20System/GSTARCAD/2018/Commands/W/(W).md) The WBLOCK command is used to save selected object as a specified graphic file or convert a block into a specified graphic file. **Command Access:** > **Ribbon:** Insert \> Block Definition\> Create Block![](Help%20System/GSTARCAD/2018/assets/GCAD_GCR/images/Pull%20down.GIF)\> Write Block **Command:** WBLOCK Function Description: ![](Help%20System/GSTARCAD/2018/assets/GCAD_GCR/images/WBLOCK-1.png) Inputting "-wblock' in the command line, it will display the "Create Drawing File" dialog box, users could specify new graphic file name and path. If specifying the FILEDIA system variable to be 0, it will not display this dialog box. ## Other versions with matching text [GstarCAD 2016](../../../2016/Commands/W/WBLOCK%20Command--39e85dd8c8a3.md) · [GstarCAD 2017](../../../2017/Commands/W/WBLOCK%20Command--39e85dd8c8a3.md) · [GstarCAD 2019](../../../2019/Commands/W/WBLOCK%20Command--39e85dd8c8a3.md) · [GstarCAD 2020](Help%20System/GSTARCAD/2020/Commands/W/WBLOCK%20Command--39e85dd8c8a3.md) · [GstarCAD 2021](../../../2021/Commands/W/WBLOCK%20Command--39e85dd8c8a3.md)