vMTLXToFile
Writes an XML string to a MaterialX file
Core / MTLXMTLX

Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
| MTLX File | Text | — | Destination path for the saved MaterialX (.mtlx) file. Hidden until Show Input is enabled. |
| Font Size | Dropdown | 14 | Font size used in the XML text preview below. |
| Display Lines | Integer | 25 | Number of visible lines in the XML preview before scrolling. |
| Wrap Lines | Integer | 1.0 | Wraps long lines in the XML preview instead of scrolling horizontally. |
| XML | Text | — | The MaterialX XML content to write, typically fed from vMTLXUsdPreviewSurface or vMTLXMerge. |
+1 more parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
| Show Input | Integer | 0.0 | Reveals the MTLX File path control so a destination can be chosen or typed. |