Skip to main content

vMTLXToFile

Writes an XML string to a MaterialX file

Core / MTLXMTLX
vMTLXToFile node

Parameters​

ParameterTypeDefaultDescription
MTLX FileText—Destination path for the saved MaterialX (.mtlx) file. Hidden until Show Input is enabled.
Font SizeDropdown14Font size used in the XML text preview below.
Display LinesInteger25Number of visible lines in the XML preview before scrolling.
Wrap LinesInteger1.0Wraps long lines in the XML preview instead of scrolling horizontally.
XMLText—The MaterialX XML content to write, typically fed from vMTLXUsdPreviewSurface or vMTLXMerge.
+1 more parameters
ParameterTypeDefaultDescription
Show InputInteger0.0Reveals the MTLX File path control so a destination can be chosen or typed.