[Sidefx-houdini-list] Shelf Question

Francois-Xavier Boussard b.fx at free.fr
Fri Nov 14 06:59:43 EST 2008


Not very clear for me what is the standard behaviour for the shelf python scripted tools. I guess the main reason is you can use those script from everywhere, shelf or tab menu... and that is really great.

For example, creating a  SOP rop with the 'generictool' function will create the node without any Ctrl click or viewer click as long as there is an active sop network panel.
The same code for a file sop node, no way to avoid the viewer or Ctrl click. (i don't need to position a file sop in the viewer, did i ?)
I tryed 'genericSopNodeGeneratorTool' that get a prompt option. It don't seems to be for that purpose ?

# rop SOP node
import soptoolutils
soptoolutils.genericTool(kwargs, 'rop_geometry')

# file SOP node
import soptoolutils
soptoolutils.genericTool(kwargs, 'file')

# file SOP node created from genericSopNodeGeneratorTool
import soptoolutils
soptoolutils.genericSopNodeGeneratorTool(kwargs,'file', 'File', prompt='None')

Is there a way to achieve node creation in a network pane, no viewer click or Ctrl click? Maybe one click in a right type network pane ? It is tedious when creating a full network. The turn around i have is to get the path for the network from first node created and then use the python node creation hou.node().createdNode(). But i guess i miss something...


----- Mail Original -----
De: "Adrian Lee" <dryrainstudios at gmail.com>
À: sidefx-houdini-list at sidefx.com
Envoyé: Jeudi 13 Novembre 2008 14:23:08 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne
Objet: Re: [Sidefx-houdini-list] Shelf Question

Just swapped my desktop about too.

The error I get when trying to drag the box from the shelf at obj level is
"The attempted operation failed. Invalid node type name"

if I make a geo and go into it I get no error when dragging, but there
agtain you dont really want a box at obj level.

dont know if that helped


2008/11/13 Phil Spicer <PSpicer at bournemouth.ac.uk>

> Hi Ed,
> I was just trying a different Desktop config, and wanted the shelves
> directly over the Network Editor. When I drag a box object onto the network
> I get an error because it is meant to be invoked through the viewer. I can
> hold down CTRL when LMB the shelf node, but it doesn't have the same level
> of interactivity that I would like...
> I guess I want the feeling of being able to tear things of the shelf really
> rapidly directly onto the Network Editor. I am probably after a hybrid of
> the speed of the shelves with the functionality of tab menu system. If I
> could do this manually with my hands, I would want to use both hands to grab
> and claw shelf tools in turn onto the Network Editor as fast as humanly
> possible.
> Any thoughts welcome.
> Kind regards,
> Phil.
> The UK's no. 1 new university
> The Guardian University Guide 2009
> This email is intended only for the person to whom it is addressed and may
> contain confidential information. If you have received this email in error,
> please notify the sender and delete this email, which must not be copied,
> distributed or disclosed to any other person.
> Any views or opinions presented are solely those of the author and do not
> necessarily represent those of Bournemouth University or its subsidiary
> companies. Nor can any contract be formed on behalf of the University or its
> subsidiary companies via email.
> _______________________________________________
> Sidefx-houdini-list mailing list
> Sidefx-houdini-list at sidefx.com
> https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list
Sidefx-houdini-list mailing list
Sidefx-houdini-list at sidefx.com

More information about the Sidefx-houdini-list mailing list