Arnold for Houdini Forum
Rendering with Arnold in Houdini and Solaris using the HtoA plug-in.
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Problem Importing Arnold Shaders in Houdini Build 462

Message 1 of 4
368 Views, 3 Replies

Problem Importing Arnold Shaders in Houdini Build 462

I'm having an issue importing Arnold Shaders in Houdini 18.5 Build 462 with Arnold build for 462.

I'm exporting Arnold Shaders from Maya and importing into Material Network node in Houdini. This workflow worked fine in previous builds. Here is error message in Houdini

Traceback (most recent call last):

File "<stdin>", line 1, in <module>

File "C:/Users/chanc/htoa/htoa-\htoa\", line 267, in importMaterials

materialImport(material_context, filename)

File "C:/Users/chanc/htoa/htoa-\htoa\", line 243, in materialImport

File "C:/Users/chanc/htoa/htoa-\htoa\", line 424, in run

surface = self.traverse(material.get('surface'))

File "C:/Users/chanc/htoa/htoa-\htoa\", line 497, in traverse

pushHouParms(op, vop, '', is_osl)

File "C:/Users/chanc/htoa/htoa-\htoa\node\", line 741, in pushHouParms

if isMultiBool(node_entry, arnold_name):

NameError: global name 'isMultiBool' is not defined

Tags (1)
Labels (1)
Message 2 of 4

Hi @Chance

That's a bug in HtoA 5.6.*

The isMultiBool function is missing from scripts\python\htoa\node\

def isMultiBool(node_entry, parm):
    '''Check if a parameter is a toggled array parameter from its metadata
    res = POINTER(c_bool)(c_bool(False))
    if AiMetaDataGetBool(node_entry, parm, 'houdini.toggled', res):
        return res.contents.value
        return False

// Stephen Blair
// Arnold Renderer Support
Message 3 of 4

Thanks Stephen! Solved!

Message 4 of 4

Thanks for reporting, this will be fixed in the next release, htoa#1662.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Technology Administrators