"display as box" script

I try to assign keyboard shortcut for “display as box”
but I cannot find this command under any category.

so maybe if I ca nfind a script, I can make shortcut.

I searched but cannot find.
anyone knows one?
or anyone knows how I can find this command?

thank u very much ^^

you have to write a short script for it:

for i in selection do 
(
	$.boxmode = off
)

and to turn it on:

for i in selection do 
(
	$.boxmode = on
)

you could save those little scripts and run them all the time you need it, or you create a macroscript of it so you can setup hotkeys or put it in your quad menu.

macroscript BoxmodeOFF category: "Display as Box" Tooltip: "" buttonText: "Boxmode OFF" 
(
	for i in selection do 
	(
		$.boxmode = off
	)
) 
macroscript BoxmodeON category: "Display as Box" Tooltip: "" buttonText: "Boxmode ON" 
(
	for i in selection do 
	(
		$.boxmode = on
	)
)

save those macros and run them once. afterwards you will find a new category in your customize dialog called Display as Box and there you should have to command: Boxmode ON and Boxmode OFF. then you can setup a hotkey or a new quadmenu as usual.

Olli

simpler still :

$.boxmode = not $.boxmode

to toggle it

Lele

sweet, learned something new :slight_smile: thanks LeLe

there is a shortcut for it

Main UI
All Commands
“box mode selected toggle”

thanks a lot all of u :slight_smile:
u r very helpful to me.
:smile: :smile: