# REGENALL Command
[GstarCAD 2018](Help%20System/GSTARCAD/2018/Index.md) → [Commands](Help%20System/GSTARCAD/2018/Commands/(Commands).md) → [R](Help%20System/GSTARCAD/2018/Commands/R/(R).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 2016](../../../2016/Commands/R/REGENALL%20Command--3977e6a5b853.md) · [GstarCAD 2017](../../../2017/Commands/R/REGENALL%20Command--3977e6a5b853.md) · [GstarCAD 2019](../../../2019/Commands/R/REGENALL%20Command--3977e6a5b853.md) · [GstarCAD 2020](Help%20System/GSTARCAD/2020/Commands/R/REGENALL%20Command--3977e6a5b853.md) · [GstarCAD 2021](../../../2021/Commands/R/REGENALL%20Command--3977e6a5b853.md)