pls what is grid hide fucntion ?

hi firends~
sorry many ask ~

i wondering some still

i am seeking max grid hide ,
that is not "max grid toggle commnad "

i want to hide grid not using grid toogle

i can;t see that function

sorry many ask ~

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
dussla's picture

wow wow thank you

wow very very good tut
thank you ~

jahman's picture
dussla's picture

thank you jahman , one more question

thank you ~ well done
pls 1 more questinon

there is not "adaptive degradation off function " in the manual ~
pls help me again

pixamoon's picture

`

I'm not sure if there is a function in max to do it but you can sendMessage to change checkbutton state

(
	-- 1. find a hwnd of this button:
 
	local hwnd
	local fSPBottomContainer = false
 
	for o in windows.getChildrenhwnd #max where hwnd == undefined do (
		if not fSPBottomContainer and o[4] == "CustToolbar" and o[5] == "StatusPanelBottomContainer" do fSPBottomContainer = true
 
		if fSPBottomContainer and o[4] == "CustButton" and o[5] == "" do hwnd = o[1]
	)
 
	-- 2. sendMesage to change state:
 
	local VK_RETURN = 0x000D
	local WM_SETFOCUS = 0x007
	local WM_CHAR 	= 0x0102
 
	windows.sendMessage hwnd WM_SETFOCUS 0 0
	windows.sendMessage hwnd WM_CHAR VK_RETURN 0
 
	ok
)

Hope it helps,
Pixamoon

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.