Maya一键复位插件,快速还原至默认值

复制帖子链接

发贴时间:2019-07-15 18:19 

来自版块:脚本插件

人气8948 评论24 点赞2
插件类型:
动画插件
兼容版本:
2015
该插件可以将你选中的通道栏属性快速恢复默认值,如果没有选中任何东西,将当前场景全部恢复至默认
兼容版本:2019, 2018, 2017, 2016, 2015
Hello everyone!

This is my reset selection tool.


USAGE:
The reset gets executed on all selected objects.

  • First the tool will check if you have any keys in the graphEditor selected. If so; only those will be reset.
  • If no keys are selected, the tool will check if you have any attributes in the channelBox selected. If so; only those channels will be reset.
  • If also no channels are selected; the object will be fully reset.
Right clicking the reset button in the winodw will give you the option for the function to ignore any of these priorities.

Also:

  • Locked attributes will be ignored.
  • If an attribute has no animation yet (no keys), there will be no key set on that attribute, it will simply be reset to the default value.
  • You can also reset highlighted timeranges in the timeslider. In this case only the keyed attributes will be reset, no new keyframes will be made.



INSTALLATION:
Paste the MEL files in your Maya scripts forlder: C:\Users\?User?\Documents\maya\?version?\scripts
and run this MEL line inside Maya:
svm_resetSelection_UI();
(you can make a shelf button for that)Or put the files in any location and source them with a button, but don't forget the command: svm_resetSelection_UI();
To remove the tool out of your maya, simply delete the files.
If you want the function in a hotkey; use this command: svm_resetSelection();
NOTE: The UI has to be open for the function tho work properly. If you call this command and the UI window was not open, the UI will be openend and the reset will be executed.


Enjoy!

15_30_50_51_svm_resetSelection_1_1.JPG


根据您的等级权限,您可以免回复直接查看内容,升级到更高等级可获得更多方便的权限哦~


                               
[点击下载]svm_resetSelection.rar
大小:2.67 KB
要下载该文件,需要先登录哦~
复制以下链接分享到 QQ群 QQ空间 贴吧 或其他CG网站上,每进来一个人你将获得: 2微豆
B Color Smilies

全部评论24

12下一页

客服

红包
快速回复 返回顶部 返回列表