question

Chance Norris avatar image
Chance Norris asked ·

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




shaders
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Stephen Blair avatar image
Stephen Blair answered ·

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


1 comment
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Thanks Stephen! Solved!

0 Likes 0 ·
Julian Hodgson avatar image
Julian Hodgson answered ·

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

10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Welcome to the Arnold Answers community.

This is the place for Arnold renderer users everywhere to ask and answer rendering questions, and share knowledge about using Arnold, Arnold plugins, workflows and developing tools with Arnold.

If you are a new user to Arnold Answers, please first check out our FAQ and User Guide for more information.

When posting questions, please be sure to select the appropriate Space for your Arnold plugin and include the plugin version you are using.

Please include images, scene and log files whenever possible as this helps the community answer your questions.

Instructions for generating full verbosity log files are available for MtoA, MaxtoA, C4DtoA, HtoA, KtoA, and Kick.

If you are looking for Arnold Documentation and Support please visit the Arnold Support site.

To try Arnold please visit the Arnold Trial page.

Bottom No panel present for this section.