# Curve to Tube Proxy Manager

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

{% embed url="<https://youtu.be/9NsI6V-Asnc>" %}
Release Demo
{% endembed %}

{% embed url="<https://youtu.be/aoXra75XJT4>" %}
Ui Update
{% endembed %}

***

## Tube Layer UI

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

**Tube Info:**&#x20;

* Displays the layer name of current selected tubes.

**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.

**Create Tube Layer:**

* Select curve(s), and click on this button to create a new tube layer.

**Separate Layers:**

* When this is turned on, a layer will be created for each selected curve.

**Extract Selected Layers:**

* Makes a duplicate of proxy tubes from selected tube layers.

**Extract All Layers:**

* Makes a duplicate of proxy tubes from all tube layers.

**Remove All Layers:**

* Delete all layers and the setup.​

***

### **Layer Name Left/Right Click**

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

**Left Click:**

* **​​​​​**selects the tubes in the layer

**Right Click:**

* **​**​shows menu for add/remove tubes, copy/paste tubes from one layer to another, or rename this layer.

**Ctrl + Click or Shift + Click:**

* **​** select multiple layers

***

### Layer Buttons

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

**Color Swatches:**

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

**Layer visibility (V):**

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

**Layer Lock (L):**

* 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

**Editor (E):**

* Opens up the UI for tube controls.

**Add Selected Curves (+):**

* Add selected curves into this layer. The tool will apply the global settings. When multiple layers are selected, curves will ONLY be added to the layer that was clicked on.

**​Remove Selected Tubes (-):**

* Select geometries in the viewport, and click on - to remove them from the layer.

**Delete Layer (x):**

* **​**Delete entire layer.&#x20;

***

### Layer Utilities

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

The tool comes with Visibility, Lock and Up/Down buttons:\
​1. Toggle all layer **Visibility ON**\
2\. Toggle all layer **Visibility OFF**\
3\. **Invert** current layers **Visibility** states\
4\. Toggle all layer **Lock ON**\
5\. Toggle all layer **Lock OFF**\
6\. **Invert** current layers **Lock** States\
7\. Move selected Layer(s) Up\
8\. Move selected Layer(s) Down \
9\. Move selected Layer(s) to the top\
10\. Move selected Layer(s) to the bottom

***

## Tube Control UI

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

**Select Tubes:**

* Click on this button on the very top of the UI to quickly select all tubes in this layer.

**Template On Curve Toggle:**

* When this is turn on, curve toggling will also set template to the geometry. Sometimes this allows easier viewing of the geometry while moving CV's of curves.

**Toggle Tube Curve(s):**

* Display the underlying curve that is controlling the tubes. You can toggle the curves and use the interactive tools for more adjustment to the tubes.

**Re-Cal Curve:**

* After manipulating curve CVs, if the length of the curve has changed, click on this button to re-length geometries to the length of curves.

**Root Extend:**

* Sometimes the underlying head/body geo have curvatures, this allows the proxy tubes to ‘go into’ the head/body geo so there are no ‘gaps’.

### ​Global Tab

**Length SubD:**

* Controls the length subdivision of all tubes in the current layer.

**Width SubD:**&#x20;

* Controls the width subdivision of all tubes in the current layer.

**Scale:**&#x20;

* Controls the size of all tubes in the current layer.

​**Scale X:**&#x20;

* Controls the scaling in the X-axis of all tubes in the current layer.

​**Scale Z:**&#x20;

* Controls the scaling in the Z-axis of all tubes in the current layer.

**Rotation:**

* ​Rotates all tubes in layer in degrees.​

**Twist:**

* Twists tubes around the central axis. This setting needs to be coupled with the twist ramp.​&#x20;

### Target Tab

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

* This tab displays the settings for **individual selected tubes**. If you change any settings in this tab, the corresponding setting in the global tap will be **locked.**
* You can unlock the **global** settings by '**middle mouse clicking**' on the greyed out text. Just be careful that by unlocking global settings, it will apply the value for that setting to all the tubes in this layer.

***


---

# 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/curve-to-proxy-managers/curve-to-tube-proxy-manager.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.
