ScriptSpot is a diverse online community of artists and developers who come together to find and share scripts that empower their creativity with 3ds Max. Our users come from all parts of the world and work in everything from visual effects to gaming, architecture, students or hobbyists.
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 = falsefor o in windows.getChildrenhwnd #max where hwnd == undefined do(if not fSPBottomContainer and o[4] == "CustToolbar" and o[5] == "StatusPanelBottomContainer"do fSPBottomContainer = trueif 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 00
windows.sendMessage hwnd WM_CHAR VK_RETURN 0
ok
)
Comments
wow wow thank you
wow very very good tut
thank you ~
.
viewport.setGridVisibility
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
`
I'm not sure if there is a function in max to do it but you can sendMessage to change checkbutton state
Hope it helps,
Pixamoon