l_SelMode = Application.GetUserPref("SI3D_RECTSEL_REGION_MODE") if l_SelMode == 1: Application.ActivateRaycastPolySelTool( 2 ) Application.LogMessage("Raycast") else if l_SelMode == 2: Application.ActivateRaycastPolySelTool( 1 ) Application.LogMessage( "Rectangle" )
Toggling the polygon selection tool between Raycast and Rectangle
Reply