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

Peter Bowmar pbowmar at gmail.com
Thu Oct 13 00:12:32 EDT 2011

If you make it

sop foobar()

 it'll be a SOP, is that what you mean?

On 12 October 2011 20:35, Dan Schneider <eyevex at yahoo.com> wrote:
> 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?
> ideas?
> ----- Original Message -----
> From: Dan Schneider <eyevex at yahoo.com>
> To: "sidefx-houdini-list at sidefx.com" <sidefx-houdini-list at sidefx.com>
> Cc:
> 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.
> (|;-D>
> _______________________________________________
> Sidefx-houdini-list mailing list
> Sidefx-houdini-list at sidefx.com
> https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list


Peter B

--No, I am not on Facebook.

More information about the Sidefx-houdini-list mailing list