MaterialX.main Module

Native Python wrappers for PyMaterialX, providing a more Pythonic interface for Elements and Values.

MaterialX.main.getDefaultDataLibraryFolders()[source]

Return list of default data library folders

MaterialX.main.getDefaultDataSearchPath()[source]

Return the default data search path.

MaterialX.main.stringToValue(string, t)

(Deprecated) Convert a MaterialX value string and Python type to the corresponding Python value.

MaterialX.main.typeToName(t)

(Deprecated) Return the MaterialX type string associated with the given Python type.

MaterialX.main.valueToString(value)

(Deprecated) Convert a Python value to its corresponding MaterialX value string.