Issue 41 in cortex-vfx: IECoreHoudini.FnProceduralHolder.setParameterised() doesn't update the category, class and version menu.

0 views
Skip to first unread message

corte...@googlecode.com

unread,
Apr 13, 2011, 3:16:18 AM4/13/11
to cortex...@googlegroups.com
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 ) )


corte...@googlecode.com

unread,
Apr 13, 2011, 12:24:47 PM4/13/11
to cortex...@googlegroups.com

Comment #1 on issue 41 by andrewk....@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

This is actually the expected behaviour. If you call setParameterised
directly from an instance of a class, there isn't an associated className
and classVersion. You can instead use

>>> fn.setProcedural( "sphereProcedural" )

and the menus should update appropriately. IECoreMaya has the same
behaviour (though no className menu to make it as obvious).

corte...@googlecode.com

unread,
Apr 13, 2011, 11:18:27 PM4/13/11
to cortex...@googlegroups.com

Comment #2 on 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

Ah ok, that makes sense. Thanks for the info!

corte...@googlecode.com

unread,
Apr 13, 2011, 11:22:29 PM4/13/11
to cortex...@googlegroups.com
Updates:
Status: WontFix

Comment #3 on 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

(No comment was entered for this change.)

Reply all
Reply to author
Forward
0 new messages