[Sidefx-houdini-list] non gui acees to new operator type

Dan Schneider eyevex at yahoo.com
Wed Oct 12 23:35:20 EDT 2011

ok... so it seems
vcc -m vops.otl source.vfl
does the bulk of creating a vex builder node

a simple declaration seems to be enough ie 

surface foobar()

So that last thing to figure out is really what context... it seems whe done via the file menu a contexxt isnt expected but I do need one in this exaple..
Is there a way to generate this contest free similar to the menu?


----- Original Message -----
From: Dan Schneider <eyevex at yahoo.com>
To: "sidefx-houdini-list at sidefx.com" <sidefx-houdini-list at sidefx.com>
Sent: Thursday, October 13, 2011 2:13 PM
Subject: non gui acees to new operator type

Im looking for away to run command similar to those in the File ->  New Operator Type menu. In particular, Vex builder but others would be useful in the future as well.
It seems when I look in the xml for the menu it runs the id h.newotl which is from the hotkey file "h"

Any idea where the actual script that get ran lives and if its accessable?
Are these just commandline flags to vcc ? -- It would seem likely, but I have been unable to get a combination the produces and empty vop in an OTL like New Operator Type -> VexBuilder...

any leads on how to do this or find the code that gets ran to look at would be great. Thanks ahead for your thoughts.


More information about the Sidefx-houdini-list mailing list