# REGENALL Command [GstarCAD 2022](Help%20System/GSTARCAD/2022/Index.md) → [Commands](Help%20System/GSTARCAD/2022/Commands/(Commands).md) → [R](Help%20System/GSTARCAD/2022/Commands/R/(R).md) ## Function Description: This command is used to regenerate the drawing and refresh the display in all viewports. This command can regenerate the whole drawing and recalculate all screen coordinates of objects. As well it can regenerate graph database index to optimize the display and object selection performance. ## Command Access: > **Icon:** > ![](GCADICO_REGENALL.png) > **Menu:** View \> Regen All > **Ribbon:** / > **Toolbar:** / > **Command:** REGENALL > **Alias:** REA **Command Prompts: /**