Jump to content
ikoon

toolset: "code shortcuts" into "vex snippets" and interface update (chf, chi, chramp) from comments

Recommended Posts

I did a little python toolset to speed up my VEX writing. It replaces "code shortcuts" into "code snippets" and also updates the parm interface (default values, channel ranges from comments, ramps are generated from custom library). You can build your own libraries of snippets with specific channel ranges and defaults.

I am really python newbie, so it is "alpha". The code is not prepared for exceptions, it is not exemplary, but I hope it would help somebody. It helps me already so I will debug it on the fly.

The initial idea comes from here, Matt Estela: http://www.tokeru.com/cgwiki/index.php?title=HoudiniUserInterfaceTips#customise_right_click_menus

 

example1.gif.ce0bf96f7cc1429a0f986f555b23a9f5.gif      example2.gif.abb5be65dcd2758dee8adfcb8a29ec11.gif

 

 

 

 

 

qq-1.png

qq-2.png

qq-3.png

qq-4.png

qqReplace.py

rampCollect.py

updateInterfaceFromComments.py

  • Like 4

Share this post


Link to post
Share on other sites

Interesting idea about creating parameter templates from extra tags. Now I still need to constantly open clumsy Edit Parameter Interface to adjust auto-created parameters' ranges and defaults.

Edited by f1480187

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×