# XGen Rename Geometry/Scalp

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

## Overview

In the Classic Guide Workflow, renaming the XGen base mesh is sometimes necessary. This tool is created for XGen artists to facilitate this need efficiently, ensuring smooth production workflow while preserving as much data

{% 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 %}

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

{% 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.**
{% endhint %}

***

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

* In this scene I would like to rename my scalp geo names from **baseA** and **baseB** to **body\_GEO a**nd **paw\_GEO**

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

1. Do a Deep Backup

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

2\. Launch the XGen Guide Scalp Geo Rename Tool.&#x20;

* Select the scalp geo (1)
* Click on Diagnose (2)

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

3\. This step is so that you can check to see what files will be renamed.

* Ptex maps associated with the scalp geo such as texture, mask, clump maps, points, etc, will all be listed at the top.
* The .xgen file will be listed at the bottom. Before renaming, please screen through the files to make sure correct files are listed.&#x20;

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

4\. Enter a new name.&#x20;

* 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/zxhJM2S0I80GyZu0RhmQ" alt=""><figcaption></figcaption></figure></div>

5\. ​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>

6\. After clicking on Rename, the tool will go ahead and rename the associated files listed in the diagnostic. If you see the following **error** saying it can not find the 'original' scalp geo name (in my case, it's **baseA**), it is normal and safe. Please click on XGen preview refresh to see if the error persists.

<figure><img src="/files/AaLCfAfxV3zQMyqdlhx2" 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. In my scene, both scalp geos (baseA and baseB) renamed (body\_GEO and paw\_GEO).

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

***


---

# 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-geometry-scalp.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.
