4
on: April 13, 2020, 06:47:43 pm
Im still have a hard time getting it to work.
I have tried copying the MaterialX folder to:
C:\Users\{user name}\Documents\Allegorithmic\Substance Designer\python\sduserplugins\sdmatxplugin\MaterialX
and
C:\Users\{user name}\Documents\Allegorithmic\Substance Designer\python\sduserplugins
and I get a bunch of errors in the console
[ERR][1190][Python]Traceback (most recent call last):
[ERR][1191][Python] File "C:/Users/gngda/Documents/Allegorithmic/Substance Designer/python/sduserplugins\sdmatxplugin\__init__.py", line 88, in initializeSDPlugin
[ERR][1192][Python]
[ERR][1193][Python]_buildMDLFiles()
[ERR][1194][Python] File "C:/Users/gngda/Documents/Allegorithmic/Substance Designer/python/sduserplugins\sdmatxplugin\__init__.py", line 47, in _buildMDLFiles
[ERR][1195][Python]
[ERR][1196][Python]content = sdmatx.mtlx2mdl_library(m, 'shared', mtlx_search_path)
[ERR][1197][Python] File "C:\Users\gngda\Documents\Allegorithmic\Substance Designer\python\sduserplugins\sdmatxplugin\python\sdmatx\mtlx2mdl.py", line 801, in mtlx2mdl_library
[ERR][1198][Python]
[ERR][1199][Python]if isNodeSupported(node_def):
[ERR][1200][Python] File "C:\Users\gngda\Documents\Allegorithmic\Substance Designer\python\sduserplugins\sdmatxplugin\python\sdmatx\mtlx2mdl.py", line 96, in isNodeSupported
[ERR][1201][Python]
[ERR][1202][Python]nodeTypeSupported = mtlx_nodeDef.getType() in mtlxToMdl_types
[ERR][1203][Python]LookupError
[ERR][1204][Python]:
[ERR][1205][Python]Nodedef: TestSuiteOptions has no outputs
I tried looking at the images of the python project in the doc folder and it doesnt help. I downloaded the pre-built librarlies and extracted the files into a MaterialX folder.
Thanks
Gregg