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

Problem Importing Arnold Shaders in Houdini Build 462

3 REPLIES 3
Reply
Message 1 of 4
ChanceNorris7638
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-5.6.0.0_r370661f_houdini-18.5.462/htoa-5.6.0.0_r370661f_houdini-18.5.462/scripts/python\htoa\material.py", line 267, in importMaterials

materialImport(material_context, filename)

File "C:/Users/chanc/htoa/htoa-5.6.0.0_r370661f_houdini-18.5.462/htoa-5.6.0.0_r370661f_houdini-18.5.462/scripts/python\htoa\material.py", line 243, in materialImport

importer.run()

File "C:/Users/chanc/htoa/htoa-5.6.0.0_r370661f_houdini-18.5.462/htoa-5.6.0.0_r370661f_houdini-18.5.462/scripts/python\htoa\material.py", line 424, in run

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

File "C:/Users/chanc/htoa/htoa-5.6.0.0_r370661f_houdini-18.5.462/htoa-5.6.0.0_r370661f_houdini-18.5.462/scripts/python\htoa\material.py", line 497, in traverse

pushHouParms(op, vop, '', is_osl)

File "C:/Users/chanc/htoa/htoa-5.6.0.0_r370661f_houdini-18.5.462/htoa-5.6.0.0_r370661f_houdini-18.5.462/scripts/python\htoa\node\node.py", line 741, in pushHouParms

if isMultiBool(node_entry, arnold_name):

NameError: global name 'isMultiBool' is not defined




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

Hi @Chance

That's a bug in HtoA 5.6.*

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

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
    else:
        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