# Center text

## Command Description

<figure><img src="https://55290530-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsuTTUicppaQuEkmSQ9eM%2Fuploads%2Fqlo5OnEJNfBSqBq34KfO%2Fimage.png?alt=media&#x26;token=95b7f4d2-5b87-4a70-b26f-2ed11cf97cb2" alt=""><figcaption></figcaption></figure>

This is a sample iLogic command. It moves the dimension text to the center of the dimension line.

<figure><img src="https://55290530-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsuTTUicppaQuEkmSQ9eM%2Fuploads%2Fp5Z7QTbDQuHDxCnmqO66%2Fimage.png?alt=media&#x26;token=76a3286e-051b-4a89-944f-d1838ace7d3d" alt=""><figcaption><p>Dimension text before and after using the command</p></figcaption></figure>

## Command Location

* Drawing environment

## Command Settings

This command has no direct settings.

### Workflow Overview

1. Run the command.
2. Select the dimension.

{% hint style="info" %}
The command can also be used in reverse order (first select the dimension (multiple dimensions) and then run the command).
{% endhint %}
