Status: New
Owner: ----
Labels: Type-Defect Priority-Medium Component-IECoreHoudini
New issue 41 by danbeth...@gmail.com:
IECoreHoudini.FnProceduralHolder.setParameterised() doesn't update the
category, class and version menu.
http://code.google.com/p/cortex-vfx/issues/detail?id=41
If you set the procedural on an ieProceduralHolder node in Houdini using
the IECoreHoudini.FnParameterisedHolder function set it doesn't update the
menu selection correctly... but the rest of the parameter interface is fine.
>>> n = hou.obj("/obj/geo1").createNode( "ieProceduralHolder" )
>>> fn = IECoreHoudini.FnProceduralHolder( n )
>>> cl =
>>> IECore.ClassLoader.defaultProceduralLoader().load( "sphereProcedural"
>>> )()
>>> fn.setParameterised( cl )
A hacky workaround is to then set the class and version explicitly...
>>> n.parm("__className").set( cl.path )
>>> n.parm("__classVersion").set( str( cl.version ) )