# BEDIT Command
[GstarCAD 2021](Help%20System/GSTARCAD/2021/Index.md) → [Commands](Help%20System/GSTARCAD/2021/Commands/(Commands).md) → [B](Help%20System/GSTARCAD/2021/Commands/B/(B).md)
The BEDIT command is used to open the Block Editor.
## Command Access:
> **Ribbon:** Home \> Block \> Block Editor **Menu:** Tools \> Block Editor
> **Command:** BEDIT **Shortcut:** Select a block and right-click; click the "Block Editor" option
## Function Description:

In the "Edit Block Definition" dialog box, users could edit existing block definition or create new block definition, and then press ENTER to open the Block Editor.
If the BLOCKEDITLOCK system variable is set to 1, the block editor could not be opened.
The block editor is a separate tool that used to create and modify block definition for current drawing and add dynamic action to blocks.
## Other versions with matching text
[GstarCAD 2016](../../../2016/Commands/B/BEDIT%20Command.md) · [GstarCAD 2017](../../../2017/Commands/B/BEDIT%20Command.md) · [GstarCAD 2018](Help%20System/GSTARCAD/2018/Commands/B/BEDIT%20Command.md) · [GstarCAD 2019](Help%20System/GSTARCAD/2019/Commands/B/BEDIT%20Command.md) · [GstarCAD 2020](Help%20System/GSTARCAD/2020/Commands/B/BEDIT%20Command.md)