ShortCut for a Type?

 From:  danperk (SBEECH)
4618.2 In reply to 4618.1 
script:moi.view.shadeMode = (moi.view.shadeMode == 'HiddenLineWireframe' ? 'Shaded' :'HiddenLineWireframe');