Skip to content

Instantly share code, notes, and snippets.

@cecilemuller
Last active February 6, 2020 13:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cecilemuller/e25387e1e0ec585e2d9dcedd9efc7130 to your computer and use it in GitHub Desktop.
Save cecilemuller/e25387e1e0ec585e2d9dcedd9efc7130 to your computer and use it in GitHub Desktop.
Maxscript: ActiveShade
-- Open activeshade floater
actionMan.executeAction 0 "40701"
-- Close activeshade floater
-- https://help.autodesk.com/view/3DSMAX/2016/ENU/?guid=__files_GUID_DF068975_00B6_4CF9_B240_50B032C1B960_htm
CloseActiveShade()
-- Close activeshade floater (old version)
-- local children = UIAccessor.GetPopupDialogs()
-- for child in children do (
-- local windowTitle = (UIAccessor.getWindowText child)
-- if matchPattern windowTitle pattern:"ActiveShade *" ignoreCase:false do (
-- UIAccessor.closeDialog child
-- exit
-- )
-- )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment