Join our discord community

Please or Register to create posts and topics.

Prism | Error when importing an alembic into houdini 18.5

Hi!

I'm getting an error when importing an alembic as a custom file via the state manager import dialog (Hou 18.5).
It does work however when I move the .abc to the assets folder within the prism folder structure and then import custom file from there.

 

 

---------------------------
Prism
---------------------------
27/11/20 15:36:33 ERROR - hou_ImportFile

Core: v1.3.0.58
App plugin: Houdini v1.3.0.0

File "C:\Prism\Scripts\ProjectScripts\StateManager.py", line 592, in <lambda>
self.b_createImport.clicked.connect(lambda: self.createPressed("Import"))
File "C:\Prism\Scripts\PrismUtils\Decorators.py", line 57, in func_wrapper
return func(*args, **kwargs)
File "C:\Prism\Scripts\ProjectScripts\StateManager.py", line 1018, in createPressed
self.createState(stateType, parent=parent, importPath=productPath)
File "C:\Prism\Scripts\PrismUtils\Decorators.py", line 57, in func_wrapper
return func(*args, **kwargs)
File "C:\Prism\Scripts\ProjectScripts\StateManager.py", line 835, in createState
stateSetup = item.ui.setup(**kwargs)
File "C:\Prism\Scripts\PrismUtils\Decorators.py", line 57, in func_wrapper
return func(*args, **kwargs)
File "C:\Prism\Plugins\Apps\Houdini\Scripts\StateManagerNodes\hou_ImportFile.py", line 103, in setup
result = self.importObject()
File "C:\Prism\Scripts\PrismUtils\Decorators.py", line 57, in func_wrapper
return func(*args, **kwargs)
File "C:\Prism\Plugins\Apps\Houdini\Scripts\StateManagerNodes\hou_ImportFile.py", line 591, in importObject
self.createImportNodes(impFileName, cacheData, objMerge=objMerge)
File "C:\Prism\Scripts\PrismUtils\Decorators.py", line 72, in func_wrapper
"".join(traceback.format_stack()),

Traceback (most recent call last):
File "C:\Prism\Scripts\PrismUtils\Decorators.py", line 57, in func_wrapper
return func(*args, **kwargs)
File "C:\Prism\Plugins\Apps\Houdini\Scripts\StateManagerNodes\hou_ImportFile.py", line 465, in createImportNodes
self.node = hou.node("/obj").createNode("geo", "IMPORT_" + taskName)
File "C:/PROGRA~1/SIDEEF~1/HOUDIN~1.351/houdini/python2.7libs\houpythonportion\ui.py", line 1010, in decorator
return func(*args, **kwargs)
File "C:/PROGRA~1/SIDEEF~1/HOUDIN~1.351/houdini/python2.7libs\hou.py", line 13126, in createNode
return _hou.Node_createNode(self, node_type_name, node_name, run_init_scripts, load_contents, exact_type_name, force_valid_node_name)
OperationFailed: The attempted operation failed.
Invalid node name

---------------------------
Close Report with note
---------------------------

Uploaded files:
  • You need to login to have access to uploads.

What is the taskname of the version which you are importing?

It sounds like the taskname contains a character, which is not allowed in Houdini node names.