cloudfx Posted June 30, 2008 Share Posted June 30, 2008 Hi all, I am trying to print all the list of expressions which is whoen when I type "exhelp" in text port. When I type this, I get only list of the names of the expressions.. Is there any way to get the explanations of all the expressions in one page? So, I can copy them to MS Word or ant other text sofeware to print out the whole information. Thanks, -Jae Quote Link to comment Share on other sites More sharing options...
symek Posted June 30, 2008 Share Posted June 30, 2008 Hi all,I am trying to print all the list of expressions which is whoen when I type "exhelp" in text port. When I type this, I get only list of the names of the expressions.. Is there any way to get the explanations of all the expressions in one page? So, I can copy them to MS Word or ant other text sofeware to print out the whole information. Thanks, -Jae Here: http://www.sidefx.com/docs/houdini9.1/expressions You could also make some trick with piping help from texport to a file. Quote Link to comment Share on other sites More sharing options...
cloudfx Posted June 30, 2008 Author Share Posted June 30, 2008 Here: http://www.sidefx.com/docs/houdini9.1/expressionsYou could also make some trick with piping help from texport to a file. Thanks for quicking replying! It seems like it shows only how it works, but is there any way to see not only explanation but like this : float fit01 (float num, float newmin, float newmax) USAGE fit01(num, newmin, newmax) Returns a number between newmin and newmax that is relative to num in the range between 0 and 1. If the value is outside the 0 to 1 it will be clamped to the new range. EXAMPLES | fit01(.3,5,20)=9.5 | RELATED * fit * fit11 * fit10 thanks, -j Quote Link to comment Share on other sites More sharing options...
stevenong Posted June 30, 2008 Share Posted June 30, 2008 Hi all,I am trying to print all the list of expressions which is whoen when I type "exhelp" in text port. When I type this, I get only list of the names of the expressions.. Is there any way to get the explanations of all the expressions in one page? So, I can copy them to MS Word or ant other text sofeware to print out the whole information. Thanks, -Jae Hey Jae Yoo, Do this in the textport: foreach i ( `execute("exhelp")` ) echo $i >> c:/exhelp.txt end The above should print out all the help into a text file. The only issue is it's not alphabetical. Cheers! steven Quote Link to comment Share on other sites More sharing options...
symek Posted June 30, 2008 Share Posted June 30, 2008 (edited) ...or little longer in Python : (but saves *all help content) functions= hou.hscript("exhelp")[0].split() help_ = ["".join(hou.hscript("exhelp %s" % f)) for f in functions] file = open("./help.txt", "w").writelines(help_) file.close() cheers, sy. Edited June 30, 2008 by SYmek Quote Link to comment Share on other sites More sharing options...
cloudfx Posted June 30, 2008 Author Share Posted June 30, 2008 (edited) Hey Jae Yoo,Do this in the textport: foreach i ( `execute("exhelp")` ) echo $i >> c:/exhelp.txt end The above should print out all the help into a text file. The only issue is it's not alphabetical. Cheers! steven Hi, Thanks for replying. It works, but it saves only the expression names.. what I want to print is detail information of each expressions explanation. For example, for fit, float fit (float num, float oldmin, float oldmax, float newmin, float newmax) USAGE fit(num, oldmin, oldmax, newmin, newmax) Return a number between newmin and newmax that is relative to num in the range between oldmin and oldmax. If the value is outside the old range, it will be clamped to the new range. EXAMPLES | fit(3,1,4,5,20)=15 | RELATED * fit01 * fit11 * fit10 I wanted this information for every each expressions to print. Thanks! Edited June 30, 2008 by Jae Yoo Quote Link to comment Share on other sites More sharing options...
stevenong Posted June 30, 2008 Share Posted June 30, 2008 Doh! I gave you the wrong line. It should be: foreach i ( `execute("exhelp")` ) exhelp $i >> c:/exhelp.txt end Cheers! steven Quote Link to comment Share on other sites More sharing options...
symek Posted June 30, 2008 Share Posted June 30, 2008 (edited) Doh! I gave you the wrong line.It should be: foreach i ( `execute("exhelp")` ) exhelp $i >> c:/exhelp.txt end Cheers! steven And people say hscript is complicated and tedious compared to Python...! Edited June 30, 2008 by SYmek Quote Link to comment Share on other sites More sharing options...
cloudfx Posted June 30, 2008 Author Share Posted June 30, 2008 (edited) Thanks! Symek and Stevenong!! Edited June 30, 2008 by Jae Yoo Quote Link to comment Share on other sites More sharing options...
cellchuk Posted July 8, 2008 Share Posted July 8, 2008 Doh! I gave you the wrong line.It should be: foreach i ( `execute("exhelp")` ) exhelp $i >> c:/exhelp.txt end Cheers! steven oh I can use that Quote Link to comment Share on other sites More sharing options...
edward Posted July 9, 2008 Share Posted July 9, 2008 Er, all this is in the online help btw. 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.