# Maya Curve Color Tool

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

## Overview

* Build link to XGen Descriptions. Convert Curve Layers directly to guides.
* **Randomized Curve Colors**: Easily distinguish each curve with randomly assigned colors, eliminating confusion.
* **Isolate Curves or Layers**: Focus on specific curves or layers with isolation features.
* **Full Layer Control**: Manage layers effortlessly for a streamlined workflow.
* **Adjust Curve Width**: Customize the width of curves to your preference for improved clarity.

{% embed url="<https://youtu.be/-mtPHHPE-0g>" %}

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

***

## Maya Curve Color UI

**Info**

* Displays the layer name of current selected curves.

**S-M-L**

* Size of the UI. Small, Medium, or Large.

**Refresh Button**

* Sometimes a layer is deleted or when a new Maya scene is opened, click on this button to refresh the layer list so it can pick up correct layers in current scene.

***

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

&#x20;![](/files/ea1dtoIDCO1JvUNnRtDq) **Toggle Curve(s)**

* Toggles on/off the always on top display on selected curves.

&#x20;![](/files/11C3akOAO5vTY24C6pNG) **CV/EP Display**

* Toggles on/off CV/EP display on selected curves.

&#x20;![](/files/mEGXOXOkCzGynAgxrxYD) **Isolate Curve(s)**

* Isolate selected curves or layers.

&#x20;![](/files/T5Dcyw0JibcKAUNU84F9) **Curve Width**

* Curves are set to a width of 3 by default when creating a layer. They can be set to width of 1 \~ 5 using this button.

&#x20;![](/files/OMGe32RxfkTwPKaiXKx4) **Root Marker**

* Add a root marker to selected curves, adding visual enhancement to the root of curves.

![](/files/znP9Ek10LMGwQFdpFFuj) **Remove Curve Color**

* Removes coloring, and width settings on selected curves and removes them from any assigned layers.&#x20;

**Create:**

* When curve(s) are selected, clicking on this button will create a new layer and assign coloring, and thicken the curves.
* When nothing is selected, clicking on this button will create an empty layer.

**Color Random Slider:**

* Color contrast strength to apply to selected curves.&#x20;

***

<div align="center"><figure><img src="/files/OLqj5XA9pg8Y588gJC9L" alt=""><figcaption></figcaption></figure></div>

**Full Update**

* Applies the color random value to all xgt color layers.

**Update Selected**

* Applies the color random value to selected curves. The curves must be in a xgt color layer to be affected.

***

### Layer Bar

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

![](/files/3NTNDxvrkqPIce7mAoZ3) **Layer visibility**

* Like Maya Display Layers, turn on/off curves in that layer. When multiple layers are selected, all will be toggled.&#x20;

\
![](/files/7snurDCCfMJnZec1C3nD) **Layer Lock**

* Like Maya Display Layers, set template/lock on curves in that layer to keep them from being selected. When multiple layers are selected, all will be toggled

\
**Color Swatches:**

* Change the color of curves by clicking on the color swatch.

\
**Layer Name:**

* Clicking on the layer name button itself will select all curves in this layer.
* Right Click Layer Name:
  * Add Selected Curve(s) To This Layer - Selected curves will be added to this layer, with the color (with the randomness value),  and width (default 3), assigned.
  * Rename Layer - Rename the layer.
  * Clear Layer - Removes curves assigned to this layer and reset the curve color and width back to Maya's default setting. (This won't delete the curves).&#x20;
  * Insert Above - Insert selected layers above this layer
  * Insert Below- Insert selected layers below this layer
  * Export - .fbx - Export selected layer curves as .fbx file
  * Export - .abc- Export selected layer curves as .abc file
  * Description - Link - Links selected Curve Color Layer to selected XGen Description. (Multiple Curve Color Layers can be linked to the same description)
  * Description - Un-Link - Removes the link to an XGen Description
  * Convert to XGen Guides - Convert selected Curve Color Layer curves to XGen Guides. (This replaces all your current guides in XGen for linked Description of that layer)
  * Delete Layer - Delete the layer, and reset the curves in this layer back to Maya's default setting. (This won't delete the curves).&#x20;

▶ Convert Button (Green = Linked, Grey = Un-Linked)

* Convert curves to linked XGen Description Guides.

***

### Layer Utilities

<div align="center"><figure><img src="/files/WyWrW1eeahRY38Ajfoy3" alt=""><figcaption></figcaption></figure></div>

The tool comes with Visibility, Lock and Up/Down buttons:\
![](/files/ia7xdNakcndbPJOPA3LS) Toggle all layer **Visibility ON**\
![](/files/X9lgpgq8YuPHuiS1HvUS) Toggle all layer **Visibility OFF**\
![](/files/GUf60v3WZDTfTp6Cy4yg) Invert current layers **Visibility** states

\
![](/files/IRMAYvkPzJEwRLvHnQUF) Toggle all layer **Lock ON**\
![](/files/4ar11wHvAxAxy2H01cEh) Toggle all layer **Lock OFF**\
![](/files/RAyMp0MEzo8miFnVEJHD) Invert current layers **Lock** States

\
![](/files/8887xlh8vrYM0cuECVok) Move selected Layer(s) Up\
![](/files/nfrf33X7f0ocm0KPxWFP) Move selected Layer(s) Down \
![](/files/Z5187a6JDRLEDzU1PKkq) Move selected Layer(s) to the top\
![](/files/TEwAJI9TptT7L7dFNDiT) Move selected Layer(s) to the bottom

***

**Delete Layer**

* Options to delete/remove layers, curves will not be deleted.&#x20;


---

# 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/maya-tools/maya-curve-color-tool.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.
