Jump to content

Shortcuts To Access Diplay Options Elements


kubabuk

Recommended Posts

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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")`

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...