# Maya Curve Color Tool

<div align="left"><figure><img src="https://454332562-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGyyK7o0fNRXvtva8vEkG%2Fuploads%2FnkOLSHPuFPyjwT31NM8B%2FxgtMayaColor_user.jpg?alt=media&#x26;token=48d6f558-02d4-455e-8216-797f69d5e818" alt=""><figcaption></figcaption></figure></div>

## Overview

* **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/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="https://454332562-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGyyK7o0fNRXvtva8vEkG%2Fuploads%2F45wb6dwfqaggPPBpxpk7%2Fimage.png?alt=media&#x26;token=f641ab41-f38b-4de1-98d6-1f300eafee44" alt=""><figcaption></figcaption></figure>

&#x20;![](https://454332562-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGyyK7o0fNRXvtva8vEkG%2Fuploads%2FK57uBI6SFVruIh1CvcmM%2FxgtToggleCrv.png?alt=media\&token=db5619fa-a9f4-472c-a3e0-47b24c72b434) **Toggle Curve(s)**

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

&#x20;![](https://454332562-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGyyK7o0fNRXvtva8vEkG%2Fuploads%2FCfeZzLL93UOaCj8A7IMn%2FxgtToggleCVs.png?alt=media\&token=0561df87-e791-4cc0-bacf-6117be3bbdde) **CV/EP Display**

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

&#x20;![](https://454332562-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGyyK7o0fNRXvtva8vEkG%2Fuploads%2FyqArRbNlgTBYCp2hYaZJ%2FxgtToggleIsolate.png?alt=media\&token=3b68fc05-2bb8-424d-bcdb-1d5e93eaa1ef) **Isolate Curve(s)**

* Isolate selected curves or layers.

&#x20;![](https://454332562-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGyyK7o0fNRXvtva8vEkG%2Fuploads%2FtF34V1r7A3Hc54nJKCZR%2FxgtToggleLineWidth.png?alt=media\&token=6c10b6d7-fc3e-4781-ac3f-1fc006112bed) **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;![](https://454332562-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGyyK7o0fNRXvtva8vEkG%2Fuploads%2FPLeFS2OepVKW7TkfJTdA%2FxgtToggleRootMarker.png?alt=media\&token=f60f3170-eb42-4e92-a165-5f2896f010aa) **Root Marker**

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

![](https://454332562-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGyyK7o0fNRXvtva8vEkG%2Fuploads%2Fg0uBqt0Ag22TMZeoXIZy%2FxgtRemoveCurveColor.png?alt=media\&token=e7ef1ab8-dad8-4949-9681-91312c5bf571) **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="https://454332562-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGyyK7o0fNRXvtva8vEkG%2Fuploads%2FjETU9aNPjs41evUOCgvw%2Fupdate_bar.jpg?alt=media&#x26;token=1f50c105-7b5b-4317-9e16-f62f2082f1c0" 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

<div align="center"><figure><img src="https://454332562-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGyyK7o0fNRXvtva8vEkG%2Fuploads%2FdKyrPRFMX9eeb6oIQImQ%2Fimage.png?alt=media&#x26;token=a5e878e5-ffdb-448e-aca7-925d0c0df671" alt=""><figcaption></figcaption></figure></div>

![](https://454332562-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGyyK7o0fNRXvtva8vEkG%2Fuploads%2FEKj4vYl5hn0YmP4KaGT2%2FxgtVisOn.png?alt=media\&token=35602eac-7f56-4e9b-96aa-7fc757dfff67) **Layer visibility**

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

\
![](https://454332562-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGyyK7o0fNRXvtva8vEkG%2Fuploads%2FX2KtWJM33Dz7NMoAfxR1%2FxgtLockOff.png?alt=media\&token=245a7a6f-00cd-477d-b1c3-d4023c181651) **Layer Lock**

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

\
**Color Swatches:**

* Change the color of tubes 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;
  * 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;

***

### Layer Utilities

<div align="center"><figure><img src="https://454332562-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGyyK7o0fNRXvtva8vEkG%2Fuploads%2FyVmsuILDGgqfx2V2N8gw%2Fhairtubebuilder-layer-controls_orig.jpg?alt=media&#x26;token=933268d7-a053-4cae-a1f7-49181671d07b" alt=""><figcaption></figcaption></figure></div>

The tool comes with Visibility, Lock and Up/Down buttons:\
![](https://454332562-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGyyK7o0fNRXvtva8vEkG%2Fuploads%2FYRpsbaRVrWRB6uZrDKWD%2FxgtVisOn.png?alt=media\&token=c38312df-46c9-46c9-9adf-3f1eff5c4117) Toggle all layer **Visibility ON**\
![](https://454332562-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGyyK7o0fNRXvtva8vEkG%2Fuploads%2FnujdRpn62ztZejhs8qc0%2FxgtVisOff.png?alt=media\&token=4f4d727c-1335-470e-8cb5-1932b5381311) Toggle all layer **Visibility OFF**\
![](https://454332562-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGyyK7o0fNRXvtva8vEkG%2Fuploads%2FGRzy6SEPlarxdcoA29p3%2FxgtVisInvert.png?alt=media\&token=28bc7fd5-769a-4361-8cf3-086cade56d4d) Invert current layers **Visibility** states

\
![](https://454332562-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGyyK7o0fNRXvtva8vEkG%2Fuploads%2FVJryhEoJGP5e1sa8v6sA%2FxgtLockOff.png?alt=media\&token=9b216596-658d-44ab-a576-fdd882dfbf35) Toggle all layer **Lock ON**\
![](https://454332562-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGyyK7o0fNRXvtva8vEkG%2Fuploads%2Fbw3XXylVmDsqoBR4p2MH%2FxgtLockOn.png?alt=media\&token=4ffb9c3f-36c5-4d29-8944-67f0b33891a5) Toggle all layer **Lock OFF**\
![](https://454332562-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGyyK7o0fNRXvtva8vEkG%2Fuploads%2FScfhs9p7K2qTIT5hBRaB%2FxgtLockInvert.png?alt=media\&token=79312ff4-c0d1-4522-8311-877daadfe741) Invert current layers **Lock** States

\
![](https://454332562-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGyyK7o0fNRXvtva8vEkG%2Fuploads%2FFKzbDjjDnOyHojBxEYZU%2FxgtGCUp.png?alt=media\&token=4ddac278-6962-4d53-9a50-7033a9d6e040) Move selected Layer(s) Up\
![](https://454332562-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGyyK7o0fNRXvtva8vEkG%2Fuploads%2F6rcqDtHe2285ttMnLwBZ%2FxgtGCDown.png?alt=media\&token=5fcd517d-e621-44cf-850c-e4a7ca77d883) Move selected Layer(s) Down \
![](https://454332562-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGyyK7o0fNRXvtva8vEkG%2Fuploads%2FR9TWJO9w7FzFWjUcfixN%2FxgtTop.png?alt=media\&token=91f6a0e6-2ed6-43d1-bff6-5cec7f5cccad) Move selected Layer(s) to the top\
![](https://454332562-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGyyK7o0fNRXvtva8vEkG%2Fuploads%2F28vo0Xll4SNwKudTGO4u%2FxgtBottom.png?alt=media\&token=faee8a6a-5a13-49b8-bac1-72c1d773f3fe) Move selected Layer(s) to the bottom

***

**Delete Layer**

* Options to delete/remove layers
