Get parameter menu values
get_parameter_menuFetch menu options, labels, and current value for a TouchDesigner node's menu parameters. Use this to pick valid options before setting a Menu or StrMenu parameter.
Instructions
Read-only: for each menu parameter of a node, live-fetch the menu option values (menuNames — the machine values you set with par.val), their human-readable UI labels (menuLabels), and the currently selected value (current). Use this before setting a Menu / StrMenu parameter so you pick a valid option instead of guessing. Values come straight from the running TouchDesigner build, so they are authoritative and even include dynamically-populated menus (device lists, file menus) — an empty menuNames on a known-menu parameter means the menu has not populated yet (the node has not cooked / the device is not enumerated), not that there is no menu. Requires TDMCP_BRIDGE_ALLOW_EXEC=1; when raw exec is unavailable it falls back to the bundled catalog and attaches a stale-catalog warning.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keys | No | Only report these parameter names (case-sensitive). Omit for all menu parameters. | |
| path | Yes | Full path of the node whose parameter menus to read. | |
| menu_only | No | Only return parameters that actually have a menu (Menu / StrMenu). Set false to see every parameter with its (usually empty) menu. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| path | Yes | ||
| type | Yes | ||
| warnings | Yes | ||
| parameters | Yes | ||
| stale_catalog_warning | No |