Announcements

Between mid-October and November, the content on AREA will be relocated to the Autodesk Community M&E Hub and the Autodesk Community Gallery. Learn more HERE.

Arnold doesn't export mtlx

Arnold doesn't export mtlx

eguquan
Explorer Explorer
256 Views
2 Replies
Message 1 of 3

Arnold doesn't export mtlx

eguquan
Explorer
Explorer

eguquan_0-1685000695800.png

htoa 6.1.4.2  arnold 7.1.4.2

arnold_materialbuilder can use houdini node parameter, but material.materialExport has error

Traceback (most recent call last):
File "<console>", line 1, in <module>
File "/ARNOLDPATH/arnold6.1.4.2/scripts/python/htoa/material.py", line 165, in materialExport
shader_dict.update(material.generateMaterial(volumic=False))
File "/ARNOLDPATH/arnold6.1.4.2/scripts/python/htoa/material.py", line 782, in generateMaterial
return self.generateSurfaceShader()
File "/ARNOLDPATH/arnold6.1.4.2/scripts/python/htoa/material.py", line 806, in generateSurfaceShader
shader = self.generateVop(surface_vop)
File "/ARNOLDPATH/arnold6.1.4.2/scripts/python/htoa/material.py", line 1288, in generateVop
input_anode = self.generateVop(input_vop) # recurse
File "/ARNOLDPATH/arnold6.1.4.2/scripts/python/htoa/material.py", line 1288, in generateVop
input_anode = self.generateVop(input_vop) # recurse
File "/ARNOLDPATH/arnold6.1.4.2/scripts/python/htoa/material.py", line 1233, in generateVop
value = houdiniParmGet[arnold_type](creator, houdini_name, self.session.frame)
File "/ARNOLDPATH/arnold6.1.4.2/scripts/python/htoa/node/node.py", line 242, in <lambda>
AI_TYPE_RGB : lambda n, x, f: n.parmTuple(x).evalAsFloatsAtFrame(f),
AttributeError: 'NoneType' object has no attribute 'evalAsFloatsAtFrame'

How can i fix this error?

 

0 Likes
257 Views
2 Replies
Replies (2)
Message 2 of 3

Stephen.Blair
Community Manager
Community Manager

The HtoA export to mtlx is for exporting Arnold nodes to mtlx, I wouldn't expect it to work with non-Arnold nodes.



// Stephen Blair
// Arnold Renderer Support
0 Likes
Message 3 of 3

eguquan
Explorer
Explorer

Sure HtoA isn't expected to work with non-Arnold nodes. For what I mean is that a user shouldn't be able to choose non-Arnold nodes "in" arnold_materialbuilder. Can I remove the "Parameter" node from "arnold_materialbuilder" by myself via some sort of settings? Or, do I need to wait for Houdini and/or Arnold to solve this officially?

0 Likes