kuaile_yzh Posted September 15, 2009 Share Posted September 15, 2009 how can I source my own expression in Houdini, so I do not need to reload it at each time when Houdini is opened. Quote Link to comment Share on other sites More sharing options...
Allegro Posted September 15, 2009 Share Posted September 15, 2009 I have never heard of having to reload an expression... can you explain what's happening a bit more clearly? Quote Link to comment Share on other sites More sharing options...
kuaile_yzh Posted September 16, 2009 Author Share Posted September 16, 2009 eg: there is a fuction float bias(float b, float x) { return pow(x, log(B)/log(0.5)); } ——> saved as bias.h ——> when I enter houdini, from the edit menu ——> open aliases and expressions menu ——> Load Expresssions File hit Load Expressions file and load " bias.h" ---------------------------------------------------------------------------------- Every time I have to redo these steps in Houdini, is it possible let Houdini auto load it? Quote Link to comment Share on other sites More sharing options...
symek Posted September 16, 2009 Share Posted September 16, 2009 how can I source my own expression in Houdini, so I do not need to reload it at each time when Houdini is opened. You need to put a command: exread bias.h into your 123.cmd or 456.cmd files (not sure if 123.py... will work too, but it should). Quote Link to comment Share on other sites More sharing options...
kuaile_yzh Posted September 16, 2009 Author Share Posted September 16, 2009 thanks. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.