kolt_050

Untitled

May 30th, 2022
18
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. macroScript UV_Editor
  2. ButtonText:"UV_Editor"
  3. Category:"# Toggle"
  4. Tooltip:"(Alt+E) UV_Editor"
  5. (
  6. global EditUVWsWindow
  7. if classof (Filters.GetModOrObj())==(Unwrap_UVW)
  8. then
  9. (
  10. if EditUVWsWindow == true then
  11. (
  12. ChildWindows = UIAccessor.GetChildWindows (DialogMonitorOPS.GetWindowHandle())
  13. for i in ChildWindows where (UIAccessor.GetWindowText i)=="Edit UVWs" do
  14. (
  15. max create mode
  16. max modify mode
  17. )
  18. EditUVWsWindow = false
  19. )
  20. else
  21. (
  22. actionMan.executeAction 2077580866 "40005"
  23. EditUVWsWindow = true
  24. )
  25. )
  26. else
  27. (
  28. modPanel.addModToSelection (Unwrap_UVW ()) ui:on
  29. actionMan.executeAction 2077580866 "40005"
  30. EditUVWsWindow = true
  31. )
  32. )
Advertisement
Add Comment
Please, Sign In to add comment