# BLOCK Command line [GstarCAD 2012](../../Index.md) → [Commands](../%28Commands%29.md) → [B](%28B%29.md) ## Function Description: > Create block definition according to selected objects **Command Entry:** > \-block Command Prompt: > If you enter *-block*at the Command prompt, the following BLOCK Command prompts are displayed. > > Name for new block, or ? to list existing blocks: > > Name for new block: > > Name the block. The name can have up to 255 characters and can include letters, numbers, blank spaces, and any special character not used by Microsoft Windows and the program for other purposes if the system variable EXTNAMES is set to 1\. > > List existing blocks: > > List the block names in the text window. ## Other versions with matching text [GstarCAD 2011](../../../2011/Commands/B/BLOCK%20Command%20line.md)