# REGENALL Command
[GstarCAD 2016](../../Index.md) → [Commands](../%28Commands%29.md) → [R](%28R%29.md)
The REGENALL command is used to regenerate the drawing and refresh all viewports.
## Command Access:
> **Menu:** View \> Regen All **Command:** REGENALL
## Command Prompts:
> Regenerating model.
## Function Description:
This command could regenerate the whole drawing and recalculate all screen coordinates of objects. As well it could regenerate graph database index to optimize display and object selection performance.
## Other versions with matching text
[GstarCAD 2017](../../../2017/Commands/R/REGENALL%20Command.md) · [GstarCAD 2018](../../../2018/Commands/R/REGENALL%20Command.md) · [GstarCAD 2019](../../../2019/Commands/R/REGENALL%20Command.md) · [GstarCAD 2020](../../../2020/Commands/R/REGENALL%20Command.md) · [GstarCAD 2021](../../../2021/Commands/R/REGENALL%20Command.md)