73 lines
8.5 KiB
HTML
73 lines
8.5 KiB
HTML
<!DOCTYPE html>
|
||
<html>
|
||
<head>
|
||
<title>命令按钮预设</title>
|
||
<meta name="generator" content="Help & Manual" />
|
||
<meta name="keywords" content="command button presets,command-button" />
|
||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||
|
||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||
<link type="text/css" href="default.css" rel="stylesheet" />
|
||
<style type="text/css">
|
||
body { margin: 0px; background: #F8F8F8; }
|
||
</style>
|
||
<script type="text/javascript" src="jquery.js"></script>
|
||
<script type="text/javascript" src="helpman_settings.js"></script>
|
||
<script type="text/javascript" src="helpman_topicinit.js"></script>
|
||
|
||
<script type="text/javascript">
|
||
HMSyncTOC("index.html", "commandbuttonpresets.htm");
|
||
</script>
|
||
<script type="text/javascript" src="highlight.js"></script>
|
||
<script type="text/javascript">
|
||
$(document).ready(function(){highlight();});
|
||
</script>
|
||
</head>
|
||
<body>
|
||
|
||
|
||
<table style="width:100%; border:none; border-spacing:0px; padding:0px; background:#D0D0D0">
|
||
<tr style="vertical-align:middle">
|
||
<td style="text-align:right">
|
||
<a href="welcome.htm"><img border="0" src="../common/images/MGtoolsHelp_Home.gif" width="34" height="22" alt="Home" /></a>
|
||
<a href="mgimageprocesser.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></a>
|
||
<a href="converters.htm"><img border="0" src="../common/images/MGtoolsHelp_next.gif" width="34" height="22" alt="Next" /></a>
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
|
||
|
||
<!-- Placeholder for topic body. -->
|
||
<table style="width:100%;border:none;border-spacing:0px"><tr style="vertical-align:top"><td style="text-align:left;padding:5px">
|
||
<p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 13px; margin-left: 0;"><span class="f_Heading1" style="font-size:10pt; font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';display:inline-block;width:13px;margin-left:-13px">▪</span><span class="f_Heading1" style="font-size: 10pt;">命令按钮预设是一些用来提升命令按钮创建效率的脚本。</span></p><p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span class="f_Heading1" style="font-size: 9pt; font-weight: normal;">这些预设脚本使您将来在不用再做任何编程的情况下,创建命令按钮。</span></p>
|
||
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span class="f_Heading1" style="font-size: 9pt; font-weight: normal;">在设计模式下,确保编辑工具 </span><img alt="editTool" width="26" height="29" style="margin:0;width:26px;height:29px;border:none" src="edittool.jpg"/><span class="f_ImageCaption" style="font-size: 9pt;"> </span><span class="f_Heading1" style="font-size: 9pt; font-weight: normal;"> 或命令按钮工具 </span><img alt="commandBtnTool" width="26" height="27" style="margin:0;width:26px;height:27px;border:none" src="commandbtntool.jpg"/><span class="f_ImageCaption" style="font-size: 9pt;"> </span><span class="f_Heading1" style="font-size: 9pt; font-weight: normal;">处于被激活状态,右键点击Picker视图,选择添加命令按钮菜单,</span></p>
|
||
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span class="f_Heading1" style="font-size: 9pt; font-weight: normal;">这个菜单列出了所有的命令按钮预设,选择一项来在之前鼠标点击位置创建您的命令按钮。</span></p>
|
||
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span class="f_Heading1" style="font-size: 9pt; font-weight: normal;">其相对应的脚本的内容则成为了这个新命令按钮的命令, 而脚本的文件名则成为新命令按钮的标签,不过所有的"_"字符都被替换成空格。</span></p>
|
||
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span class="f_Heading1" style="font-size: 9pt; font-weight: normal;">此外,如果同样目录下,如果有一个同名的.tooltip文件,则这个文件里的内容将被用作命令按钮的鼠标经过提示。</span></p>
|
||
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span class="f_Heading1" style="font-size: 9pt; font-weight: normal;">举个粟子,如果你有一个命令按钮预设脚本叫:</span></p>
|
||
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;"><span class="f_Heading1" style="font-size: 10pt; font-style: italic; font-weight: normal;">Keyframe_Changed_Channels.mel</span></p>
|
||
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span class="f_Heading1" style="font-size: 9pt; font-weight: normal;">并且在同样目录下,有一个同名的tooltip文件:</span></p>
|
||
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;"><span class="f_Heading1" style="font-size: 10pt; font-style: italic; font-weight: normal;">Keyframe_Changed_Channels.tooltip</span></p>
|
||
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span class="f_Heading1" style="font-size: 9pt; font-weight: normal;">那么您使用这个命令按钮预设来创建的命令按钮,它的标签将是</span><span class="f_Heading1" style="font-size: 10pt; font-weight: normal;"> "Keyframe Changed Channels"</span><span class="f_Heading1" style="font-size: 9pt; font-weight: normal;">, 而它的鼠标经过提示内容将是</span><span class="f_Heading1" style="font-size: 10pt; font-style: italic; font-weight: normal;">Keyframe_Changed_Channels.tooltip</span><span class="f_Heading1" style="font-size: 9pt; font-weight: normal;">文件里的内容。</span></p>
|
||
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"> </p>
|
||
<p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 13px; margin-left: 0;"><span class="f_Heading1" style="font-size:10pt; font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';display:inline-block;width:13px;margin-left:-13px">▪</span><span class="f_Heading1" style="font-size: 10pt;">如何创建命令按钮预设?</span></p><p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span class="f_Heading1" style="font-size: 9pt; font-weight: normal;">点击"杂项菜单 / 创建命令预设/代码片段..", 或者在任何一个脚本编辑控件里,点右上角的三角形菜单,选择"导出为命令按钮预设.."。</span></p>
|
||
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span class="f_Heading1" style="font-size: 9pt; font-weight: normal;">在打开的对话框,输入相应类别,预设名称,及鼠标经过提示,然后确认创建。</span></p>
|
||
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"> </p>
|
||
<p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 13px; margin-left: 0;"><span class="f_Heading1" style="font-size:10pt; font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';display:inline-block;width:13px;margin-left:-13px">▪</span><span class="f_Heading1" style="font-size: 10pt;">这些命令按钮预设放在哪?</span></p><p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span class="f_Heading1" style="font-size: 9pt; font-weight: normal;">对于工具自带的命令按钮预设,是放在Maya的用户脚本文件夹/ MG-PickerStudio/MGPicker_Program/CommandButtonPresets目录里面,</span></p>
|
||
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span class="f_Heading1" style="font-size: 9pt; font-weight: normal;">这些预设由MG-Picker工作室自行维护,所以请不要更动它们。</span></p>
|
||
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span class="f_Heading1" style="font-size: 9pt; font-weight: normal;">对于用户自定义的命令按钮预设脚本,不管是mel或python,都是放在Maya的用户脚本文件夹/ MG-PickerStudio/MGPicker_UserConfig/CommandButtonPresets里面。</span></p>
|
||
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"> </p>
|
||
|
||
</td></tr></table>
|
||
<table height="30" width="100%" border="0" cellspacing="" cellpadding="0" bgcolor="#D0D0D0">
|
||
<tr valign="bottom" bgcolor="#D0D0D0" >
|
||
<td align="left" valign="middle" >
|
||
<a href="welcome.htm"><img border="0" src="../common/images/MGtoolsHelp_Home.gif" width="34" height="22" alt="Home" /></a>
|
||
<a href="mgimageprocesser.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></a>
|
||
<a href="converters.htm"><img border="0" src="../common/images/MGtoolsHelp_next.gif" width="34" height="22" alt="Next" /></a></td>
|
||
</tr>
|
||
</table>
|
||
|
||
</body>
|
||
</html>
|