# XGen Rename Description

<div align="left"><figure><img src="/files/3NcFYX53ohtQ5uH7iT3x" alt=""><figcaption></figcaption></figure></div>

## Overview

As an XGen artist, you may find that you need to rename an XGen description for various reasons. This tool is specifically designed to streamline the renaming process and integrate seamlessly into your production workflow, preserving as much data as possible.

{% embed url="<https://youtu.be/8tDeWPil9tI>" %}

{% hint style="danger" %}
Before using this tool, it's HIGHLY RECOMMANDED to try it with a test file first to see if it works on your machine. You can download the '**renameTest.zip**' file and use that scene for testing this tool.
{% endhint %}

<div align="left"><figure><img src="/files/hwB2PPYnCntJbA28GuHn" alt=""><figcaption></figcaption></figure></div>

{% hint style="warning" %}

* **If you have any Guide Colors assigned using the Guide Color Tool, renaming procedure will not work. Please delete the 'xgtGuideColor\_' expression from XGen's Expression tab, and recreate the Guide Color layers again.**
* **Please be aware that, renaming a description will break all the guide color layers assigned using the Guide Color Tool, as after a rename, the description name will not sync with the guide layer names anymore.**
  {% endhint %}

***

**Steps:** ​\
In my scene, there is one XGen collection (bear\_col), that is consists with two XGen descriptions (hairA\_des, hairB\_des) and each is bound to a scalp geo (baseA, baseB).

* In this scene I would like to rename my XGen Description names from **hairA\_des** and **hairB\_des** to **bodyFur\_des** and **pawFur\_des**.

1. Do a Deep Backup

<div align="left"><figure><img src="/files/WQvEWm9b9UHBVnyRL4ti" alt=""><figcaption></figcaption></figure></div>

2. Open up the XGen Guide Rename Description Tool. Select a description on the list.

3\. Enter a new name. Click **Rename**

* The tool will go through a series of naming checks. If the renaming failed, please follow the warning messages.
* The name can not exist in any nodes in scene
* The name can not be the same as existing 'collection' or 'description' folders inside your current scene folder.
* The name can only start with alphabets

<div align="left"><figure><img src="/files/OubgSuPq6lEKLIEgL1Uj" alt=""><figcaption></figcaption></figure></div>

4\. A prompt window will show up, by clicking **Yes**, you agree that due to many reasons, renaming can cause issues with XGen and you will be responsible for the damage caused to your work, if any.

<div align="left"><figure><img src="/files/9hoZxfeo1J9ngNZtfJIx" alt=""><figcaption></figcaption></figure></div>

5. After renaming, the primitives changed its color in viewport. This is because the shader assignment has been lost after renaming. Please re-assign the material back.

<div align="left"><figure><img src="/files/zYSlH13DariS4nwYkBX5" alt=""><figcaption></figcaption></figure></div>

6. Repeat to rename the other descriptions. You can only rename one description at a time.

<figure><img src="/files/XXYEtRLenSmwX7UHNp5g" alt=""><figcaption></figcaption></figure>

7. Please test the scene to see if XGen is still working. Move the Guides, paint a map, refresh preview, etc. If anything goes wrong, please try using the deep back tool to roll back to the previous scene.

***


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://nobraintools.gitbook.io/maya-groomers-tool/xgen-tools/xgen-rename-description.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
