kubabuk Posted February 7, 2007 Share Posted February 7, 2007 Hey, Is there any way to assign a shortcut or use a hscript command which allows me to switch on/off guides and markers in display options window for the viewer pane? I can't find anything related to that. thanks kuba Quote Link to comment Share on other sites More sharing options...
stevenong Posted February 7, 2007 Share Posted February 7, 2007 Hi kuba, The command you're looking for is "viewdisplay". Do a help viewdisplay in the textport for all the options. Have fun! Cheers! steven Quote Link to comment Share on other sites More sharing options...
michael Posted February 7, 2007 Share Posted February 7, 2007 oooOOOOooo....nice one... I've been looking for a command/hotkey to change the 'Display geometry of type <options>' in the Display > Optimazation > Culling options.... anyone have a suggestion? Quote Link to comment Share on other sites More sharing options...
stevenong Posted February 7, 2007 Share Posted February 7, 2007 Hey arctor, I think we need someone from SESI to help with this. The only reference I found is in the $HOME/houdinix.x/display.pref file. COMMON_RENDERING_OPTIONS { colorscheme ( bw ) auxcolor ( n ) visibleobjects ( * ) primmask ( 4294967295 ) pickmask ( 0 ) cull ( 1 1 ) normalscale ( 0.2 ) uvgripscale ( 0.02 ) lod ( 1 ) hloffsetvariable ( 2 ) hloffsetconstant ( 0 ) wirewidth ( 1 ) pointsize ( 1 ) flags ( 4 9 0 1 0 ) } Visibleobjects ( * ) is the option but I can't find a way to set it in a Houdini session. Cheers! steven Quote Link to comment Share on other sites More sharing options...
kubabuk Posted February 7, 2007 Author Share Posted February 7, 2007 Hi kuba,The command you're looking for is "viewdisplay". Do a help viewdisplay in the textport for all the options. Have fun! Cheers! steven Thanks that is very, very useful. I was interesting in switching templates between wire and hidden line. That is what I end up with: viewdisplay -M templ wire Model.pane7.world viewdisplay -M templ hidden_invis Model.pane7.world but is it possible to assign this to a hotkey?!? thanks kuba Quote Link to comment Share on other sites More sharing options...
sibarrick Posted February 7, 2007 Share Posted February 7, 2007 You can assign it an alias, under settings -> aliases and variables Quote Link to comment Share on other sites More sharing options...
pbowmar Posted February 8, 2007 Share Posted February 8, 2007 You can assign it an alias, under settings -> aliases and variables Use the mousepane() command to know what pane your mouse is over, if you use multiple viewports but only want to affect one. Cheers, peter B Quote Link to comment Share on other sites More sharing options...
lisux Posted February 8, 2007 Share Posted February 8, 2007 Thanks that is very, very useful. I was interesting in switching templates between wire and hidden line. That is what I end up with:viewdisplay -M templ wire Model.pane7.world viewdisplay -M templ hidden_invis Model.pane7.world but is it possible to assign this to a hotkey?!? thanks kuba Hey Kuba like sibarrick suggested you have to use aliases to the functions keys, next I paste a piece of my 123.cmd with aliases to control normal display, point, etc ... # To control the display options: alias SF2 'viewdisplay -N all m on *' alias SF3 'viewdisplay -N all m off *' alias SF4 'viewdisplay -I all l on *' alias SF5 'viewdisplay -I all l off *' alias SF6 'texcache -c; opcook -F `mousepath()`' # Operator help: alias SF1 'ophelp `mousepath()`' Hope this help. Quote Link to comment Share on other sites More sharing options...
kubabuk Posted February 8, 2007 Author Share Posted February 8, 2007 Hey Kuba like sibarrick suggested you have to use aliases to the functions keys, next I paste a piece of my 123.cmd with aliases to control normal display, point, etc ... # To control the display options: alias SF2 'viewdisplay -N all m on *' alias SF3 'viewdisplay -N all m off *' alias SF4 'viewdisplay -I all l on *' alias SF5 'viewdisplay -I all l off *' alias SF6 'texcache -c; opcook -F `mousepath()`' # Operator help: alias SF1 'ophelp `mousepath()`' Hope this help. Thanks Pablo, So let say i have something like this - which works fine: viewdisplay -M templ hidden_invis Build.pane7.world but viewdisplay -M templ hidden_invis mousepane()".world" does not... mousepane() returns me only first part "Build.pane7" so how can I concatenate with the .world ? I tried couple possibilities which came to my mind but none of them worked. Btw. in aliases SF10 means shift F10 ?!? cheers kuba Quote Link to comment Share on other sites More sharing options...
lisux Posted February 8, 2007 Share Posted February 8, 2007 Thanks Pablo,So let say i have something like this - which works fine: viewdisplay -M templ hidden_invis Build.pane7.world but viewdisplay -M templ hidden_invis mousepane()".world" does not... mousepane() returns me only first part "Build.pane7" so how can I concatenate with the .world ? I tried couple possibilities which came to my mind but none of them worked. Btw. in aliases SF10 means shift F10 ?!? cheers kuba I think this should work, I haven't test it, but here it is: instead of your code: viewdisplay -M templ hidden_invis mousepane()".world" Use this: viewdisplay -M templ hidden_invis `strcat(mousepane(),".world")` Quote Link to comment Share on other sites More sharing options...
kubabuk Posted February 8, 2007 Author Share Posted February 8, 2007 coooool! strcat solved the problem!!! thanks Pablo! kuba Quote Link to comment Share on other sites More sharing options...
lisux Posted February 9, 2007 Share Posted February 9, 2007 coooool!strcat solved the problem!!! thanks Pablo! kuba You are welcome! See you soon in Spain 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.