# Dimension Improvement
[GstarCAD 2022](Help%20System/GSTARCAD/2022/Index.md) → [What's new](Help%20System/GSTARCAD/2022/What's%20new/(What's%20new).md)
In GstarCAD 2022, the DIMREASSOCIATE, DIMREGEN,
DIMCENTER, Stretch Dimension Group commands and the DIMLAYER and DIMTOFFSET system
variables are supported to make dimension display more reasonable and accurate,
and make it easier and faster to modify dimensions.
**DIMREASSOCIATE**
The DIMREASSOCIATE command allows associating or
reassociating selected dimensions to objects or points on objects. When the
defining point of selected dimension doesn’t associate with the geometry, the X
mark is displayed. When the defining point of the selected dimension associates
with the geometry, the ⊠ mark is displayed.

**DIMREGEN**
The DIMREGEN command allows updating the positions of all
associative dimensions in Model space or Layouts. You can use this command to
move associative dimensions to correct positions, as well as regenerate
dimensions display according to current system variables value.

**DIMCENTER**
A new option Polygon(P) has been added to the DIMCENTER
command, which allows you to mark the center of polygons easily.
**Stretch
Dimension Group**
The Stretch Dimension Group option in the dynamic grip
menu allows adjusting all dimensions which share grips with each other at once.
As long as the dimension you select shares grips with any other dimensions, you
can hover the cursor on any of their grips and stretch together.

After select
Stretch Dimension Group option, you will get 4 options:
Specify stretch point or \[Base point/Copy/Undo/eXit\]:
- **Base point:** you
are able to move the dimensions according to the base point and second point you
choose.
- **Copy:** you are
able to copy a new group of dimensions and move them together, the original
dimension group won’t be deleted.
- **Undo:** you are able to cancel the previous step.
- **eXit:** you are able to stop the command.
**DIMLAYER System Variable**
The system variable DIMLAYER specifies a default layer for
dimensions, and new dimensions are created on that layer automatically
instead of creating dimensions on the current layer.
**DIMTOFFSET System Variable**
In GstarCAD 2022, if the space above the arrows is not
enough for the dimension text when you place the dimension below or right the
objects, the text will be placed downward. In this case, you can use two values
of the system variable DIMTOFFSET to set two kinds of gap styles between the
arrows and text, one is the same as AutoCAD, another reduces the gap.
If you open a drawing in AutoCAD, in which the dimensions
were created with DIMTOFFSET value being 0, once you move, copy or edit these
dimensions, it will change back to the display of DIMTOFFSET value being 1\.
