# Marking (Radial) Menu

This section covers installation of Marking Menu. At the moment, we have marking menus for:

* Interactive Curve Tool
* Hair Tube Builder
* Hair Card Builder

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

{% hint style="info" %}
**In V15.02 - V15.07, the "menu\_XGTC\_interactiveCurve.mel" is now inside the `xgtc` folder.**
{% endhint %}

{% hint style="info" %}
**As of V15.08, the "menu\_XGTC\_interactiveCurve.mel" is now inside the `marking_menus` folder.**
{% endhint %}

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

## Installation

Check your Maya's Marking Menu Folder

In Maya, open a Python Tab in the script editor and run this first

```python
import os
upd = cmds.internalVar(upd=True)
print("Marking Menu Dir:", os.path.join(upd, "markingMenus"))
```

You should see the "Marking Men Dir:" with a path. That's the path for marking menus your Maya uses at the moment. See highlighted row below.

<pre><code>import os
upd = cmds.internalVar(upd=True)
print("Marking Menus Dir:", os.path.join(upd, "markingMenus"))
<strong>MarkingMenus Dir: C:/Users/blues/OneDrive/Documents/maya/2025/prefs/markingMenus
</strong></code></pre>

Place the marking menu you wish to install in that same folder

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

Restart your Maya, and go to Windows -> Settings/Preferences -> Marking Menu Editor

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

If you get a prompt to load XGTC\_interactiveCurve menu, please click "Yes"

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

In the Marking Menus Editor, highlight the **XGTC\_interactiveCurve**, and set "**Use marking menu in**: "  to '**Hotkey Editor**'

Click on **Apply Settings** and close this window

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

Now go to Windows -> Settings/Preferences -> Hotkey Editor

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

In the **Search by** field, enter "**XGTC**"

Assign a hotkey for the menu

Click on Save and Close

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

You now will have a marking menu using your assigned "Hot Key(s) + <mark style="color:$danger;">**Left**</mark>**&#x20;**<mark style="color:$warning;">**Mouse Click**</mark>" in the viewport.

{% hint style="danger" %}
In order to use the Marking Menu, you will need to have the associated UI **open**
{% endhint %}

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

***

## Re-Install

If you are getting any errors, easist way is to re-install them. Let's start fresh by making sure we have a clean start on both the **Hotkey Editor** and the **Marking Menu Editor**

**Cleaning The Hotkey Editor**

Open Hotkey Editor (Windows -> Hot Key Editor)

1. Type in `XGTC` at the bottom
2. Select all the User Marking Menus
3. Choose Runtime Command Editor tab
4. Delete (Then, repeat these steps for all the marking menu items on the list)
5. If you dont see these items, you can skip this step

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

**Cleaning The Marking Menus Editor**

Then, open the Marking Menus (Windows -> Marking Menus Editor)

Maya sometimes stores previously installed menus and they are still glued in the Hotkey editor. Let's remove them completely.

1. Click on the XGTC\_ menu item
2. Set "Use marking menu in" to "(not set) "&#x20;
3. Hit Apply Settings
4. Then, Delete Marking Menu (Repeat these steps for all the marking menu on the list)

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

Once the HotKey Editor and the Marking Menus Editor are cleaned, try reinstalling them following the guide on top.

***

## Errors

If you see errors:

`Error: .../.../ No module named 'xgtc'`

* Please launch Groomer's Tool first.

If you see errors on your marking menu install

`// Error: Line 3.35: Cannot find file "menu_XGTC_HairCardBuilder" for source statement`

* Restart Maya


---

# 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/start/marking-radial-menu.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.
