This commit is contained in:
2025-11-30 14:49:16 +08:00
parent 021c593241
commit de46c4b073
1406 changed files with 526774 additions and 1221 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 898 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@@ -0,0 +1,89 @@
<!DOCTYPE html>
<html>
<head>
<title>动画师帮助</title>
<meta name="generator" content="Help &amp; Manual" />
<meta name="keywords" content="animator Mode,UI" />
<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", "animator.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>&nbsp;
<a href="install.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></a>
<a href="loadpicker.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_Normal" style="font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';display:inline-block;width:13px;margin-left:-13px">&#9642;</span><span style="font-weight: bold;">MG-Picker工作室的动画师模式:</span></p><div style="text-align: left; text-indent: 0; line-height: 1.80; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="border:none; border-spacing:0;">
<tr>
<td style="vertical-align:middle; width:16px; padding:0; border:none"><p class="p_Normal" style="text-align: center; line-height: 1.80;">&nbsp;</p>
</td>
<td style="vertical-align:middle; width:1px; padding:0; border:none"><p class="p_Normal" style="line-height: 1.80;">&nbsp;</p>
</td>
<td style="vertical-align:top; width:878px; padding:0; border:none"><p class="p_Normal" style="line-height: 1.80;"><span style="font-size: 9pt; color: #3c3c39;">动画师模式的界面采用极简设计,以便节省动画师的工作空间。</span></p>
<p class="p_Normal" style="line-height: 1.80;"><span style="font-size: 9pt; color: #3c3c39;">这个模式下的功能主要集中在Picker的搜索及加载及Picker的用户交互。</span></p>
<p class="p_Normal" style="line-height: 1.80;"><img alt="Warning" width="16" height="16" style="margin:0;width:16px;height:16px;border:none" src="warning.gif"/><span style="font-size: 9pt; color: #ff0000;"> &nbsp;注意在动画师模式下所有的Picker编辑不可保存你必须按F8切到设计师模式下才能保存。</span></p>
<p class="p_Normal" style="line-height: 1.80;"><img alt="Warning" width="16" height="16" style="margin:0;width:16px;height:16px;border:none" src="warning.gif"/><span style="font-size: 9pt; color: #ff0000;"> &nbsp;在动画师模式下所有未保存的编辑在Picker文件/节点被关闭前不会被提示退出程序里也不会提示这是被刻意设计成这样的因为动画师需要频繁地打开关闭来切换Picker不提示可能存在的未保存编辑更能使动画师专心工作。</span></p>
<p class="p_Normal" style="line-height: 1.80;"><img alt="lightbulb" width="16" height="16" style="margin:0;width:16px;height:16px;border:none" src="lightbulb.png"/><span style="font-size: 9pt;"> 使用快捷键 &quot;F8&quot; 来在动画师模式及设计师模式间切换。</span></p>
<p class="p_Normal" style="line-height: 1.80;">&nbsp;</p>
</td>
</tr>
</table>
</div>
<p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 13px; margin-left: 0;"><span class="f_ImageCaption" style="font-size:10pt; font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';display:inline-block;width:13px;margin-left:-13px">&#9642;</span><span class="f_ImageCaption" style="font-size: 10pt;">用户界面快速预览:</span></p><div style="text-align: left; text-indent: 0; line-height: 1.80; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="border:none; border-spacing:0;">
<tr>
<td style="vertical-align:top; width:14px; padding:0; border:none"><p class="p_Normal" style="text-align: right; line-height: 1.80;">&nbsp;</p>
</td>
<td style="vertical-align:top; width:1183px; padding:0; border:none"><p class="p_Normal" style="line-height: 1.80;"><img alt="animMode_topRow" width="285" height="89" style="margin:0;width:285px;height:89px;border:none" src="animmode_toprow.jpg"/></p>
<p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 20px; margin-left: 0;"><span class="f_MI_TitleStyle" style="font-size:9pt;color:#404040;display:inline-block;width:20px;margin-left:-20px">1.</span><span class="f_MI_TitleStyle" style="font-size: 9pt; color: #404040;">动画师交互模式: </span><span class="f_MI_TitleStyle" style="font-size: 9pt; font-weight: normal; color: #404040;">在动画师使用Picker时必须使用这个模式。</span></p><p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 20px; margin-left: 0;"><span class="f_MI_TitleStyle" style="font-size:9pt;color:#404040;display:inline-block;width:20px;margin-left:-20px">2.</span><span class="f_MI_TitleStyle" style="font-size: 9pt; color: #404040;">简单编辑模式: </span><span class="f_MI_TitleStyle" style="font-size: 9pt; font-weight: normal; color: #404040;">如果您需要添加一些Picker按钮简单编辑它们的颜色位置你可以按Escape快捷键切换到这个模式。</span></p><p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 20px; margin-left: 0;"><span class="f_MI_TitleStyle" style="font-size:9pt;color:#404040;display:inline-block;width:20px;margin-left:-20px">3.</span><span class="f_MI_TitleStyle" style="font-size: 9pt; color: #404040;">命名空间栏: </span><span class="f_MI_TitleStyle" style="font-size: 9pt; font-weight: normal; color: #404040;">这一栏显示了当前Picker所采用的命名空间。可以直接输入编辑picker的命名空间。</span></p><p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 20px; margin-left: 0;"><span class="f_MI_TitleStyle" style="font-size:9pt;color:#404040;display:inline-block;width:20px;margin-left:-20px">4.</span><span class="f_MI_TitleStyle" style="font-size: 9pt; color: #404040;">获取命名空间按钮</span><span class="f_ImageCaption"> </span><span class="f_MI_TitleStyle" style="font-size: 9pt; color: #404040;">:</span><span class="f_MI_TitleStyle" style="font-size: 9pt; font-weight: normal; color: #404040;"> 获取当前Maya场景所选来编辑当前Picker的命名空间。</span></p><p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 20px; margin-left: 0;"><span class="f_MI_TitleStyle" style="font-size:9pt;color:#404040;display:inline-block;width:20px;margin-left:-20px">5.</span><span class="f_MI_TitleStyle" style="font-size: 9pt; color: #404040;">打开按钮: </span><span class="f_MI_TitleStyle" style="font-size: 9pt; font-weight: normal; color: #404040;">点击来访问各种Picker打开功能。</span></p><p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 20px; margin-left: 0;"><span class="f_MI_TitleStyle" style="font-size:9pt;color:#404040;display:inline-block;width:20px;margin-left:-20px">6.</span><span class="f_MI_TitleStyle" style="font-size: 9pt; color: #404040;">更多功能按钮</span><span class="f_ImageCaption"> </span><span class="f_MI_TitleStyle" style="font-size: 9pt; color: #404040;">: </span><span class="f_MI_TitleStyle" style="font-size: 9pt; font-weight: normal; color: #404040;">左键点击来访问更多功能。</span></p><p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 20px; margin-left: 0;"><span class="f_MI_TitleStyle" style="font-size:9pt;color:#404040;display:inline-block;width:20px;margin-left:-20px">7.</span><span class="f_MI_TitleStyle" style="font-size: 9pt; color: #404040;">Picker标签栏: </span><span class="f_MI_TitleStyle" style="font-size: 9pt; font-weight: normal; color: #404040;">这些标签支持互相拖拽,及在不同的布局区域间互拖。</span></p><p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 20px; margin-left: 0;"><span class="f_MI_TitleStyle" style="font-size:9pt;color:#404040;display:inline-block;width:20px;margin-left:-20px">8.</span><span class="f_MI_TitleStyle" style="font-size: 9pt; color: #404040;">布局切换按钮: </span><span class="f_MI_TitleStyle" style="font-size: 9pt; font-weight: normal; color: #404040;">点击切换当前的Picker视图布局。您可以切到多重视图同时显示多个角色的Picker。</span></p></td>
</tr>
</table>
</div>
<p class="p_Normal" style="line-height: 1.80;">&nbsp;</p>
<p class="p_Normal" style="line-height: 1.80;">&nbsp;</p>
<p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 13px; margin-left: 0;"><span class="f_Normal" style="font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';display:inline-block;width:13px;margin-left:-13px">&#9642;</span><span style="font-weight: bold;">动画师Picker使用相关帮助主题:</span></p><p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><a href="loadpicker.htm" class="topiclink">加载Pickers</a></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><a href="setnamespace.htm" class="topiclink">设置Namespace</a></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><a href="viewportmanipulation.htm" class="topiclink">视图操作</a></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><a href="animatorinteractivity.htm" class="topiclink">Picker交互</a></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><a href="simpleediting.htm" class="topiclink">简单编辑</a></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><a href="mgselecthelper.htm" class="topiclink">MG-选择辅助器</a></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><a href="tipsforanimator.htm" class="topiclink">小提示</a></p>
<p class="p_Normal" style="line-height: 1.80;">&nbsp;</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="install.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></a>
<a href="loadpicker.htm"><img border="0" src="../common/images/MGtoolsHelp_next.gif" width="34" height="22" alt="Next" /></a></td>
</tr>
</table>
</body>
</html>

View File

@@ -0,0 +1,11 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<title>MG-Picker Studio Manual</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script type="text/javascript">
window.location.href =('index.html?animator.htm')
</script>
</head>
</html>

View File

@@ -0,0 +1,101 @@
<!DOCTYPE html>
<html>
<head>
<title>Picker交互</title>
<meta name="generator" content="Help &amp; Manual" />
<meta name="keywords" content="animator interactivity" />
<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", "animatorinteractivity.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>&nbsp;
<a href="viewportmanipulation.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></a>
<a href="simpleediting.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_Normal" style="font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';display:inline-block;width:13px;margin-left:-13px">&#9642;</span><span style="font-weight: bold;">动画师Picker交互: &nbsp;</span></p><p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span style="font-size: 9pt;">MG-Picker提供强大丰富的动画师Picker交互方式。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span style="font-size: 9pt;">确保您当前处于动画师交互方式,这意味着界面这个按钮被选中: </span><img alt="animatorPreviewMode" width="20" height="20" style="margin:0;width:20px;height:20px;border:none" src="animatorpreviewmode.jpg"/></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span style="font-size: 9pt; font-weight: bold;">- 选择: 采用跟Maya类似的选择规则.</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;"><span style="font-size: 9pt;">鼠标左键点击选择按钮/框选它们:选择相应的节点。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;"><span style="font-size: 9pt;">CTRL + 鼠标左键点击选择按钮/框选它们:去选相应的节点。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;"><span style="font-size: 9pt;">SHIFT + 鼠标左键点击选择按钮/框选它们:反选相应的节点。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 46px;"><img alt="lightbulb" width="16" height="16" style="margin:0;width:16px;height:16px;border:none" src="lightbulb.png"/><span style="font-size: 9pt;"> 在做上述选择操作时按ALT键则同样的选择将被应用到所交互选择按钮的镜象按钮。 这意味着ALT键点击一个选择按钮它的镜象按钮的成员也同时可以被选择/去选/反选。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;"><span style="font-size: 9pt;">鼠标左键 + 双击一个选择按钮,在选择该按钮的成员节点同时,将同时选择它的所有子按钮的成员节点。 要使用这个技巧,前提是在设计时,设计师有将他们用父子连接连起来。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;"><span style="font-size: 9pt;">CTRL / SHIFT + 鼠标右键点击选择按钮,将弹出这个按钮的成员视图,这样您可以进一步细选按钮的成员。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 46px;"><img alt="lightbulb" width="16" height="16" style="margin:0;width:16px;height:16px;border:none" src="lightbulb.png"/><span style="font-size: 9pt;"> 点击这个成员视图右上方的按钮使这个视图成为一个窗口这个窗口即是MG-选择辅助器窗口,可以帮助您执行一些暂时性的选择。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;">&nbsp;</p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span style="font-size: 9pt; font-weight: bold;">- 命令按钮: </span><span style="font-size: 9pt;">只需要鼠标左键点击并确保存在按钮上释放,您就可以执行这个命令按钮的命令。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span style="font-size: 9pt; font-weight: bold;">- Pose命令按钮: </span><span style="font-size: 9pt;">鼠标左键点击并确保存在按钮上释放则100%应用Pose如果按Ctrl再点击则是以20%幅度来应用Pose, 按Shift再点击则是以50%幅度来应用Pose.</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;">&nbsp;</p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span style="font-size: 9pt; font-weight: bold;">- 属性按钮:</span><span style="font-size: 9pt;"> 鼠标左键点击属性按钮的数值区域,即可以改变它的属性或显示可用来改变属性的控件。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;"><span style="font-size: 9pt;">从v2.3开始布尔属性按钮及枚举属性按钮直接点击不会选择按钮本身只有框选才会选择并可以中键可以在3D视图里进行属性拖动。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;"><span style="font-size: 9pt; font-weight: bold;">- 每次属性按钮被选择:</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 72px;"><span style="font-size: 9pt;">Maya的当前工具被切为MG-Picker工作室自带的属性拖动工具, 您因此可以直接中键在3D视图拖动来拖这些属性按钮所代表的属性。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 72px;"><span style="font-size: 9pt;">横向拖动影响它的属性不过这个工具不支持用ALT键来影响镜象属性因为在Maya 3D视图中的ALT键被定死用来控制视图。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;">&nbsp;</p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span style="font-size: 9pt; font-weight: bold;">- 滑条 :</span><span style="font-size: 9pt;"> 同样的CTRL / SHIFT / Alt / 双击规则也适用于滑条的滑杠在影响Maya选择的规则 上。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;"><span style="font-size: 9pt; font-weight: bold;">- 在Picker视图中移动滑条滑杠:</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 72px;"><span style="font-size: 9pt;">SHIFT + 鼠标左键拖拽: 约束移动方向到水平/垂直方式。这对于一个二维滑条来讲很有用。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 72px;"><span style="font-size: 9pt;">Alt + 鼠标左键拖拽: 同时影响镜象滑条的滑杠。这样,你可以同时调整比如嘴角控制器往不同的互相镜象的方向移动。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;"><span style="font-size: 9pt; font-weight: bold;">- 要快速重置滑条的属性:</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 72px;"><span style="font-size: 9pt;">选择要重置属性的所有滑条的滑杠,双击这些滑条之一的背景。 </span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 96px;"><img alt="lightbulb" width="16" height="16" style="margin:0;width:16px;height:16px;border:none" src="lightbulb.png"/><span style="font-size: 9pt;">要小心不是双击滑条的滑杠本身,因为这个是用来执行父子选择的。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 72px;"><span style="font-size: 9pt;">如果直接鼠标左键双击其它未选择的滑条的背景,则只是重置那个滑条的属性而已。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;"><span style="font-size: 9pt; font-weight: bold;">- 每次滑条上的滑杠被选择:</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 72px;"><span style="font-size: 9pt;">Maya的当前工具被切为MG-Picker工作室自带的属性拖动工具, 您因此可以直接中键在3D视图拖动来拖这些滑条所代表的属性。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 72px;"><span style="font-size: 9pt;">横向拖动影响水平属性纵向拖动则影响垂直属性。不过这个工具不支持用ALT键来影响镜象属性因为在Maya 3D视图中的ALT键被定死用来控制视图。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 72px;"><span style="font-size: 9pt;">不过这个工具在中键拖动时支持SHIFT键以限制拖动方向为水平或垂直这样就只单单影响水平或垂直属性。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 72px;"><span style="font-size: 9pt;">也支持CTRL键按下后拖动时就会以更小的幅度影响当前属性。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 72px;">&nbsp;</p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span style="font-size: 9pt; font-weight: bold;">- Picker对象的左/右键菜单:</span><span style="font-size: 9pt;">每个picker对象可以带有一个左键(及或)右键菜单甚至Picker面板也可以。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;"><span style="font-size: 9pt;">这是Picker设计阶段就要做的事情。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;"><span style="font-size: 9pt;">对于每一个带右键菜单的Picker对象在形状上会有一个实心的三角形直接右键点击来弹出菜单 。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;"><span style="font-size: 9pt;">对于每一个带左键菜单的Picker对象在形状上会有一个箭号直接左键点击来弹出菜单 。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;"><span style="font-size: 9pt;">这些菜单也可以是Marking menu.</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;"><img alt="lightbulb" width="16" height="16" style="margin:0;width:16px;height:16px;border:none" src="lightbulb.png"/><span style="font-size: 9pt;"> 对于Picker面板的右键菜单您可以直接右键点击任何一个面板的空白处来弹出菜单 ,但如果是左键菜单,您就只能左键点击面板的标题区来弹出左键菜单,直接左键点击面板的内容区空白区是用来去掉场景选择的,不会弹出左键菜单。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 72px;">&nbsp;</p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;">&nbsp;</p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;">&nbsp;<br />
&nbsp;</p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;">&nbsp;</p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;">&nbsp;<br />
&nbsp;</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="viewportmanipulation.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></a>
<a href="simpleediting.htm"><img border="0" src="../common/images/MGtoolsHelp_next.gif" width="34" height="22" alt="Next" /></a></td>
</tr>
</table>
</body>
</html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 774 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 864 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 905 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 997 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 862 B

View File

@@ -0,0 +1,65 @@
<!DOCTYPE html>
<html>
<head>
<title>代码片段</title>
<meta name="generator" content="Help &amp; Manual" />
<meta name="keywords" content="code snippets,programming" />
<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", "codesnippets.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>&nbsp;
<a href="converters.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></a>
<a href="syncvaluewithmaya.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">&#9642;</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;">在这些编辑器右上方都有一个箭号按钮点击则显示针对当前代码语言类型的所有代码片段如当前语言是mel则只显示mel的代码片段是python则只显示python的代码片段。</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;">&nbsp;</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">&#9642;</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;">点击&quot;杂项菜单 / 创建命令预设/代码片段..&quot;, 或者在任何一个脚本编辑控件里,点右上角的三角形菜单,选择&quot;导出为代码片段..&quot;</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;">&nbsp;</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">&#9642;</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/CodeSnippets目录里面</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/CodeSnippets目录里的时候应mel或python文件夹。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;">&nbsp;</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="converters.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></a>
<a href="syncvaluewithmaya.htm"><img border="0" src="../common/images/MGtoolsHelp_next.gif" width="34" height="22" alt="Next" /></a></td>
</tr>
</table>
</body>
</html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 880 B

View File

@@ -0,0 +1,72 @@
<!DOCTYPE html>
<html>
<head>
<title>命令按钮预设</title>
<meta name="generator" content="Help &amp; 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>&nbsp;
<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">&#9642;</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;">其相对应的脚本的内容则成为了这个新命令按钮的命令, 而脚本的文件名则成为新命令按钮的标签,不过所有的&quot;_&quot;字符都被替换成空格。</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;"> &quot;Keyframe Changed Channels&quot;</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;">&nbsp;</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">&#9642;</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;">点击&quot;杂项菜单 / 创建命令预设/代码片段..&quot;, 或者在任何一个脚本编辑控件里,点右上角的三角形菜单,选择&quot;导出为命令按钮预设..&quot;</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;">&nbsp;</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">&#9642;</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;">&nbsp;</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>

View File

@@ -0,0 +1,77 @@
<!DOCTYPE html>
<html>
<head>
<title>转换器</title>
<meta name="generator" content="Help &amp; Manual" />
<meta name="keywords" content="converters,picker converters" />
<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", "converters.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>&nbsp;
<a href="commandbuttonpresets.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></a>
<a href="codesnippets.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">&#9642;</span><span class="f_Heading1" style="font-size: 10pt;">转换器是用来将其它类型的picker节点、文件转换成mgpicker节点或文件的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;">转换器非常多地使用了由MG-Picker工作室提供的MEL API命令主要是这三个命令</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 22px;"><span class="f_Heading1" style="font-size: 10pt; font-weight: normal;"><a href="mgpicker.htm" class="topiclink">MGPicker</a>, <a href="mgpickeritem.htm" class="topiclink">MGPickerItem</a>, <a href="mgpickerlink.htm" class="topiclink">MGPickerLink</a>.</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;">&nbsp;</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">&#9642;</span><span class="f_Heading1" style="font-size: 10pt;">这些转换器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;">对于工具自带的转换器是放在Maya的脚本文件夹/ MG-PickerStudio/MGPicker_Program/Converters里</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;">对于用户编写的转换器请放在这里Maya的脚本文件夹/MG-PickerStudio/MGPicker_UserConfig/Converters。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;">&nbsp;</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">&#9642;</span><span class="f_Heading1" style="font-size: 10pt;">要学习如何编写一个转换器请参考自带的两个mel转换器作为例子参考</span></p><p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 22px;"><span class="f_Heading1" style="font-size: 10pt; font-weight: normal;">Converter_abxPicker.mel, &nbsp;Converter_nickPicker.mel</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;">&nbsp;</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">&#9642;</span><span class="f_Heading1" style="font-size: 10pt;">假设您的转换器是为了转换otherPicker类型的picker节点或文件则转换器mel脚本就叫做Converter_otherPicker.mel, 然后这个mel脚本里必须用global proc编写下面的接口函数</span></p><p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 22px;"><span class="f_Heading1" style="font-size: 10pt; font-weight: normal;">//other picker node converter API: &nbsp; &nbsp; &nbsp; &nbsp;</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 22px;"><span class="f_Heading1" style="font-size: 10pt; font-weight: normal;">global proc int &nbsp;Converter_otherPicke</span><span class="f_Heading1" style="font-size: 10pt; font-weight: normal;">r_autoReadNode(); &nbsp; //return 0~1 value, indicate if MG-Picker should invoke this converter to autoload your in-scene picker node.</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 22px;"><span class="f_Heading1" style="font-size: 10pt; font-weight: normal;">global proc string Converter_otherPicker_nodeType(); </span><span class="f_Heading1" style="font-size: 10pt; font-weight: normal;"> &nbsp;//return string value, the type string of picker node.</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 22px;">global proc int <span class="f_Heading1" style="font-size: 10pt; font-weight: normal;">Converter_otherPicker</span>_isPickerNode(string $node); &nbsp; //return 0~1 value, indicate the node is of the picker node.</p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 22px;">global proc string <span class="f_Heading1" style="font-size: 10pt; font-weight: normal;">Converter_otherPicker</span>_getNamespace(string $node); &nbsp; //return the namespace from a picker node. </p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 22px;"><span style="width:26px;display:inline-block">&nbsp;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;//The proc is used in find&amp;Load feature of MG-Picker studio.</p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 22px;">global proc string[] <span class="f_Heading1" style="font-size: 10pt; font-weight: normal;">Converter_otherPicker</span>_nodeLister(); //list all the picker nodes in the scene.</p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 22px;">global proc int <span class="f_Heading1" style="font-size: 10pt; font-weight: normal;">Converter_otherPicker</span>_readNode(string $node); &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;//the actual reader for each picker node.</p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 22px;">&nbsp;</p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 22px;">//other picker file converter API: &nbsp; &nbsp; &nbsp; &nbsp;</p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 22px;">global proc int <span class="f_Heading1" style="font-size: 10pt; font-weight: normal;">Converter_otherPicker</span>_isPickerFile(string $fileFullPath); &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;//Return 1 if the file is the picker file, 0 if not. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 22px;">global proc int <span class="f_Heading1" style="font-size: 10pt; font-weight: normal;">Converter_otherPicker</span>_readFile(string $fileFullPath); &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;//the actual reader for each picker file.</p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;"><span style="width:48px;display:inline-block">&nbsp;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</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="commandbuttonpresets.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></a>
<a href="codesnippets.htm"><img border="0" src="../common/images/MGtoolsHelp_next.gif" width="34" height="22" alt="Next" /></a></td>
</tr>
</table>
</body>
</html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 818 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 144 B

View File

@@ -0,0 +1,74 @@
<!DOCTYPE html>
<html>
<head>
<title>Loader和Lister</title>
<meta name="generator" content="Help &amp; Manual" />
<meta name="keywords" content="Distribute Picker" />
<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", "customeloaderandlister.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>&nbsp;
<a href="syncvaluewithmaya.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></a>
<a href="tipsforprogrammer.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">&#9642;</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: 10pt; font-weight: normal;">- 选择场景Rig任意部分然后MG-Picker工作室有办法加载相对应的picker并设置好namespace.</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span class="f_Heading1" style="font-size: 10pt; font-weight: normal;">- 无需选择,点击右上角 </span><img alt="openIcon" width="20" height="20" style="margin:0;width:20px;height:20px;border:none" src="openicon.gif"/><span class="f_Heading1" style="font-size: 10pt; font-weight: normal;"> 按钮访问更多打开功能菜单在里面的“加载所有Picker” 菜单里点击任意一个菜单项来加载全部的picker。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span class="f_Heading1" style="font-size: 10pt; font-weight: normal;">- 所有这些rig及picker的对应规则完全可以自定义。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span class="f_Heading1" style="font-size: 10pt; font-weight: normal;">那么这一章就是你需要的!</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;">&nbsp;</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">&#9642;</span><span class="f_Heading1" style="font-size: 10pt;">怎么做 ?</span></p><p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 20px; margin: 0 0 0 24px;"><span class="f_Heading1" style="font-size:10pt;display:inline-block;width:20px;margin-left:-20px">1.</span><span class="f_Heading1" style="font-size: 10pt; font-weight: normal;">创建一个python模块。</span></p><p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 20px; margin: 0 0 0 24px;"><span class="f_Heading1" style="font-size:10pt;display:inline-block;width:20px;margin-left:-20px">2.</span><span class="f_Heading1" style="font-size: 10pt; font-weight: normal;">创建两个类分别从MGP.loader.MGPickerRigListerBase 及 MGP.loader.MGPickerLoaderBase继承.</span><br />
<span class="f_Heading1" style="font-size: 10pt;">MGPickerRigListerBase</span><span class="f_Heading1" style="font-size: 10pt; font-weight: normal;"> 的子类用来为特定类别的资产列出一些rig名称就是namespace ,也就是告诉啊具,场景里有哪些角色,道具,等。</span><br />
<span class="f_Heading1" style="font-size: 10pt; font-weight: normal;">你只需要定义名叫 mayaScene_* 的方法,如:</span><br />
<span class="f_Heading1" style="font-size: 10pt; font-weight: normal;"> &nbsp; &nbsp; def mayaScene_characters(self):</span><br />
<span class="f_Heading1" style="font-size: 10pt; font-weight: normal;">这个方法将会列出场景里所有的角色, 同时一个叫“加载全部Characters”的菜单就将出现在&quot;加载所有Pickers&quot;菜单里。</span><br />
<span class="f_Heading1" style="font-size: 10pt; font-weight: normal;">这种类别名称完全由你定义,只需要它让有一个&quot;mayaScene_&quot;的方法前缀就好。</span></p><p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 20px; margin: 0 0 0 24px;"><span class="f_Heading1" style="font-size:10pt;display:inline-block;width:20px;margin-left:-20px">3.</span><span class="f_Heading1" style="font-size: 10pt; font-weight: normal;">通过上面的lister 我们目前知道场景里有哪些rig的名称(namespace) 下一步就是加载对应的picker !</span><br />
<span class="f_Heading1" style="font-size: 10pt;">MGPickerLoaderBase</span><span class="f_Heading1" style="font-size: 10pt; font-weight: normal;"> 用来对于个特定的rig名称返回一个picker文件的绝对路径你只需要重载一个方法</span><br />
<span class="f_Heading1" style="font-size: 10pt; font-weight: normal;"> &nbsp; &nbsp; def pickerFileForAssetName(self, assetName)</span><br />
<span class="f_Heading1" style="font-size: 10pt; font-weight: normal;">这个方法将返回对于assetName来讲对应的picker文件的完整路径。</span></p><p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 20px; margin: 0 0 0 24px;"><span class="f_Heading1" style="font-size:10pt;display:inline-block;width:20px;margin-left:-20px">4.</span><span class="f_Heading1" style="font-size: 10pt; font-weight: normal;">一旦准备好python模块你有两个方式来让它生效(任选一种)</span><br />
<span class="f_Heading1" style="font-size: 10pt; font-weight: normal;">a. 将python模块放在AutoLoaders目录里。这个目录在MG-Picker工作室安装目录下的MGPicker_Program目录.</span><br />
<span class="f_Heading1" style="font-size: 10pt; font-weight: normal;">b. 将python模块名称或完整路径放到一个叫&quot;MGPICKER_LOADER_PY_MODULES&quot;的环境变量。</span><br />
<span class="f_Heading1" style="font-size: 10pt; font-weight: normal;"> &nbsp; &nbsp;如果不想硬写这个环境变量的名称可以使用MGP.loadermanager.MGPICKER_LOADER_LISTER_MODULES_ENV_NAME。</span><br />
<span class="f_Heading1" style="font-size: 10pt; font-weight: normal;"> &nbsp; 如果放进去的只是一个模块名称则要注意事先让这个模块所在路径在python搜索路径中即sys.path。</span></p><p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 20px; margin: 0 0 0 24px;"><span class="f_Heading1" style="font-size:10pt;display:inline-block;width:20px;margin-left:-20px">5.</span><span class="f_Heading1" style="font-size: 10pt; font-weight: normal;">可以参考 &quot;loader_example.py&quot; 这个例子来了解细节。 这个例子文件在MGPicker_Program/AutoLoaders/Examples目录里.</span></p><p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><img alt="Warning" width="16" height="16" style="margin:0;width:16px;height:16px;border:none" src="warning.gif"/><span style="font-size: 9pt; color: #ff0000;"> &nbsp;如果有多个lister &amp; loader 的python模块有环境变量MGPICKER_LOADER_PY_MODULES里 可以用 ; 来分隔开。 &nbsp;</span><br />
<span style="font-size: 9pt; color: #ff0000;"> &nbsp; &nbsp; &nbsp; 多个模块的情况下同类别的资产名称将会合并但loader则会互相覆盖一个loader加载成功就没下一个loader的事了。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;">&nbsp;</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="syncvaluewithmaya.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></a>
<a href="tipsforprogrammer.htm"><img border="0" src="../common/images/MGtoolsHelp_next.gif" width="34" height="22" alt="Next" /></a></td>
</tr>
</table>
</body>
</html>

View File

@@ -0,0 +1,151 @@
/* Text Styles */
hr { color: #000000 }
body, table, tr, th /* Normal */
{
font-size: 10pt;
font-family: Arial,Helvetica,sans-serif;
font-style: normal;
font-weight: normal;
color: #000000;
text-decoration: none;
}
span.f_CodeExample /* Code Example */
{
font-size: 8pt;
font-family: 'Courier New',Courier,monospace;
}
span.f_Comment /* Comment */
{
}
span.f_Heading1 /* Heading1 */
{
font-size: 16pt;
font-weight: bold;
}
span.f_ImageCaption /* Image Caption */
{
font-size: 8pt;
font-weight: bold;
}
span.f_MI_TitleStyle /* MI_TitleStyle */
{
font-weight: bold;
color: #b3b1a9;
}
span.f_Notes /* Notes */
{
}
/* Paragraph styles */
p, p.p_Normal, div.p_Normal, li.p_Normal /* Normal */
{
text-align: left;
text-indent: 0;
padding: 0 0 0 0;
margin: 0 0 0 0;
}
.p_CodeExample /* Code Example */
{
font-size: 8pt;
line-height: 1.0;
white-space: nowrap;
page-break-inside: avoid;
}
.p_Comment /* Comment */
{
font-size: 10pt;
}
.p_Heading1 /* Heading1 */
{
font-size: 100%;
font-weight: normal;
text-align: left;
text-indent: 0;
padding: 0 0 0 0;
margin: 0 0 0 0;
}
.p_ImageCaption /* Image Caption */
{
font-size: 8pt;
}
.p_MI_TitleStyle /* MI_TitleStyle */
{
font-size: 10pt;
}
.p_Notes /* Notes */
{
font-size: 10pt;
}
/* Table styles */
div.hmrotate90 { display:inline-block; -webkit-writing-mode: vertical-rl; -ms-writing-mode: tb-rl; writing-mode: vertical-rl; }
div.hmrotate270 { display:inline-block; -webkit-writing-mode: vertical-rl; -ms-writing-mode: tb-rl; writing-mode: vertical-rl; transform: rotate(180deg); }
a.imagetogglelink {
position: relative;
display: inline-block;
}
svg.image-toggle-magnifier { /* Magnifier icon for image toggles */
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
margin: auto;
width: 40pt;
height: 40pt;
max-width: 80%;
max-height: 80%;
fill: #FFFFFF;
stroke: #808080;
stroke-width: 0.5pt;
opacity: 0.3;
transition: opacity 0.3s;
}
img.image-toggle:hover + svg.image-toggle-magnifier, svg.image-toggle-magnifier:hover {
opacity: 1;
}
#hmpopupdiv /* used for javascript text popups */
{
display: none;
position: absolute;
z-index: 1000;
background-color: #FFFFFF;
padding: 6px;
border:1px solid #000000;
border-radius: 5px;
box-shadow: 5px 5px 5px #888;
}
#hmlightbox /* image lightbox */
{
border: none;
padding: 8px;
background: #FFF;
font-size: 110%;
font-weight: bold;
color: #777;
box-shadow: 5px 5px 5px #888;
}
a.dropdown-toggle /* dropdown toggle caption */
{
cursor: pointer;
}
a.inline-toggle /* inline toggle caption */
{
cursor: pointer;
}
img.dropdown-toggle-icon /* toggle icon */
{
cursor: pointer;
}
/* CSS for responsive image maps */
.hmImageMap a.hmHotspotRect { display:block; position:absolute; border: 1px solid transparent; background:#000; opacity:0.01; filter:alpha(opacity=1) }
.hmImageMap a.hmHotspotEllipse { display:block; position:absolute; border-radius:50%; border: 1px solid transparent; background:#000; opacity:0.01; filter:alpha(opacity=1) }
.hmImageMap:hover a.hmHotspotRect {opacity:0.3; filter:alpha(opacity=30); }
.hmImageMap:hover a.hmHotspotEllipse { opacity:0.3; filter:alpha(opacity=30); }
a.hmHotspotRect:hover { border:1px solid #000; background:#FFF; opacity:0.3; filter:alpha(opacity=30) }
a.hmHotspotEllipse:hover { border:1px solid #000; background:#FFF; opacity:0.3; filter:alpha(opacity=30) }

View File

@@ -0,0 +1,74 @@
<!DOCTYPE html>
<html>
<head>
<title>设计师帮助</title>
<meta name="generator" content="Help &amp; Manual" />
<meta name="keywords" content="basic workflow,designer mode" />
<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", "designer.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>&nbsp;
<a href="tipsforanimator.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></a>
<a href="quickworkflow.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_Normal" style="font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';display:inline-block;width:13px;margin-left:-13px">&#9642;</span><span style="font-weight: bold;">MG-Picker工作室设计师模式:</span></p><p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span style="font-size: 9pt;">MG-Picker工作室的设计师模式看起来&quot;复杂&quot;,因为界面上有那么多的按钮输入框等。但实际上使用起来很简单。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span style="font-size: 9pt; font-weight: bold;">- 基本使用流程:</span></p>
<p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 20px; margin: 0 0 0 24px;"><span class="f_Normal" style="font-size:9pt;display:inline-block;width:20px;margin-left:-20px">1.</span><span style="font-size: 9pt;">在第1区切换需要的工具;</span></p><p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 20px; margin: 0 0 0 24px;"><span class="f_Normal" style="font-size:9pt;display:inline-block;width:20px;margin-left:-20px">2.</span><span style="font-size: 9pt;">在第2区创建选择编辑Picker对象;</span></p><p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 20px; margin: 0 0 0 24px;"><span class="f_Normal" style="font-size:9pt;display:inline-block;width:20px;margin-left:-20px">3.</span><span style="font-size: 9pt;">在第3区的属性编辑器里编辑设置Picker对象的属性;</span></p><p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 20px; margin: 0 0 0 24px;"><span class="f_Normal" style="font-size:9pt;display:inline-block;width:20px;margin-left:-20px">4.</span><span style="font-size: 9pt;">要设计Picker对象的菜单切到第4区的菜单编辑器。</span></p><p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;"><img alt="designerModeUI_cn" width="691" height="478" style="margin:0;width:691px;height:478px;border:none" src="designermodeui_cn.gif"/></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;">&nbsp;</p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><img alt="lightbulb" width="16" height="16" style="margin:0;width:16px;height:16px;border:none" src="lightbulb.png"/><span style="font-size: 9pt;">&quot;F8&quot; 快捷键在动画师模式及设计师模式间切换。不过设计时并不需要切到动画师模式(这个模式下不能保存且不会提示未保存的编辑),因为你可以激活工具</span><img alt="previewTool" width="24" height="28" style="margin:0;width:24px;height:28px;border:none" src="previewtool.jpg"/><span style="font-size: 9pt;">来预览及测试Picker。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><img alt="lightbulb" width="16" height="16" style="margin:0;width:16px;height:16px;border:none" src="lightbulb.png"/><span style="font-size: 9pt;"> 使用大纲视图来获得整个场景概览。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><img alt="lightbulb" width="16" height="16" style="margin:0;width:16px;height:16px;border:none" src="lightbulb.png"/><span style="font-size: 9pt;"> 使用关系视图来了解可见性的控制关系。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><img alt="lightbulb" width="16" height="16" style="margin:0;width:16px;height:16px;border:none" src="lightbulb.png"/><span style="font-size: 9pt;"> 使用样式库来快捷建立和使用样式库。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><img alt="lightbulb" width="16" height="16" style="margin:0;width:16px;height:16px;border:none" src="lightbulb.png"/><span style="font-size: 9pt;"> 界面上每个按钮,输入框等都有鼠标经过提示。把鼠标停在上面,即可以知道它们用来干嘛的。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;">&nbsp;</p>
<p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 13px; margin-left: 0;"><span class="f_Normal" style="font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';display:inline-block;width:13px;margin-left:-13px">&#9642;</span><span style="font-weight: bold;">Picker设计师的相关帮助主题</span></p><p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><a href="quickworkflow.htm" class="topiclink">快速流程</a></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><a href="designprinciple.htm" class="topiclink">设计原则</a></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><a href="itemtypes.htm" class="topiclink">Picker类型</a></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><a href="itemshapes.htm" class="topiclink">Picker形状</a></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><a href="links.htm" class="topiclink">Picker连接</a></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><a href="pickermenu.htm" class="topiclink">Picker菜单</a></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><a href="editing.htm" class="topiclink">编辑</a></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><a href="distributeinpipeline.htm" class="topiclink">在线上分发Picker</a></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><a href="publishinternet.htm" class="topiclink">发布到网络</a></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><a href="tipsfordesigner.htm" class="topiclink">小提示</a></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="tipsforanimator.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></a>
<a href="quickworkflow.htm"><img border="0" src="../common/images/MGtoolsHelp_next.gif" width="34" height="22" alt="Next" /></a></td>
</tr>
</table>
</body>
</html>

View File

@@ -0,0 +1,11 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<title>MG-Picker Studio Manual</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script type="text/javascript">
window.location.href =('index.html?designer.htm')
</script>
</head>
</html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

View File

@@ -0,0 +1,77 @@
<!DOCTYPE html>
<html>
<head>
<title>设计原则</title>
<meta name="generator" content="Help &amp; Manual" />
<meta name="keywords" content="picker design principle" />
<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", "designprinciple.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>&nbsp;
<a href="quickworkflow_2.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></a>
<a href="namespace.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">&#9642;</span><span class="f_Heading1" style="font-size: 10pt;">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;">事实上没有所谓的picker规则您可以自由发挥想象力设计出酷弦又实用的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;">不过如果您可以在设计时注意下面几点那么设计出来的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><img alt="lightbulb" width="16" height="16" style="margin:0;width:16px;height:16px;border:none" src="lightbulb.png"/><span style="font-size: 9pt;"> </span><span style="font-size: 9pt; font-weight: bold;">一个Picker代表一个资产</span><span style="font-size: 9pt;">这个资产可能是角色,道具或场景等。然后</span><span style="font-size: 9pt; font-weight: bold;">在该Picker内部用面板来组织不同的类别</span><span style="font-size: 9pt;">,比如一个面板是表情,一个面板是身体,一个是次级变形器等。</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="lightbulb" width="16" height="16" style="margin:0;width:16px;height:16px;border:none" src="lightbulb.png"/><span style="font-size: 9pt; font-weight: bold;"> 保持Picker面板比较小的长宽。</span><span style="font-size: 9pt;">太大的面板会占去动画师太多的屏幕空间。(并不是所有动画师都有双屏哦)</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;"><span style="font-size: 9pt;">动画师当然也可以缩小视图,不过缩小后的视图当然没有正式大小的用起来顺手哦。</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="lightbulb" width="16" height="16" style="margin:0;width:16px;height:16px;border:none" src="lightbulb.png"/><span style="font-size: 9pt;"> </span><span style="font-size: 9pt; font-weight: bold;">仔细调整Picker按钮的颜色。</span><span style="font-size: 9pt;">让所有按钮的颜色不会太跳,视觉上让人感觉不安。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;"><span style="font-size: 9pt;">你可以一个个调整颜色,或者选择所有要调整颜色的按钮, 按快捷键&quot;CTRL + U&quot;来以photoshop方式来调整这些按钮的填充颜色的色相饱和度明度。</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="lightbulb" width="16" height="16" style="margin:0;width:16px;height:16px;border:none" src="lightbulb.png"/><span style="font-size: 9pt;"> </span><span style="font-size: 9pt; font-weight: bold;">最好不要用任何非英文的标签注释等。事实上在picker最好永远不用这些非英文的字符比如中文。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;"><span style="font-size: 9pt;">您当然可以使用中文不过这样做会导致的潜在问题是这些picker将来有可能会做为节点存储在ma文件内部。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;"><span style="font-size: 9pt;">这样这些ma内部就会有中文的存在。这些ma在您的操作环境下可能没有问题但一旦这些ma被传输到不支持中文的环境下做处理比如国外客户</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;"><span style="font-size: 9pt;">这些ma即使在他们那边也可以正常打开基本上处理后再回到您的手上你的ma就无法正常打开了。因为这些ma里的中文变成乱码可能导致所有动画丢失等。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;"><span style="font-size: 9pt;">请理解这并不是picker特有的限制你在任何场景内节点的note属性里敲中文然后保存后都会有这种问题。</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="lightbulb" width="16" height="16" style="margin:0;width:16px;height:16px;border:none" src="lightbulb.png"/><span style="font-size: 9pt;"> </span><span style="font-size: 9pt; font-weight: bold;">按钮最好可以尽可能跟原来控制器的形状相似,这样动画师比较好直观发识别不同的按钮代表哪个控制器。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;"><span style="font-size: 9pt;">不过不要过度这样做,因为你仍然要保持按钮形状简单,毕竟太复杂的按钮在框选时不好选。</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="lightbulb" width="16" height="16" style="margin:0;width:16px;height:16px;border:none" src="lightbulb.png"/><span style="font-size: 9pt;"> </span><span style="font-size: 9pt; font-weight: bold;">一个选择按钮只放一个Maya节点作为成员, </span><span style="font-size: 9pt;">然后利用父子连接实在快速多选功能。不过这只是小小的建议。</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="lightbulb" width="16" height="16" style="margin:0;width:16px;height:16px;border:none" src="lightbulb.png"/><span style="font-size: 9pt;"> </span><span style="font-size: 9pt; font-weight: bold;">初始namespace要设置为将来最可能被用到的</span><span style="font-size: 9pt;">这样将来动画师在使用时可能都不需要设置namespace就直接用。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;"><span style="font-size: 9pt;">不过当这个picker被内置在资产里这个资产被reference时在加载时所内置的picker的namespace将自动被设置为资产的reference namespace以便可以即用。</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="lightbulb" width="16" height="16" style="margin:0;width:16px;height:16px;border:none" src="lightbulb.png"/><span style="font-size: 9pt; font-weight: bold;"> 尽情利用镜象关系带来的好处。</span><span style="font-size: 9pt;">不单单在设计阶段带来的便利,在动画师使用时,也可以按 ALT + 鼠标左键来镜象选择ALT + 鼠标左键来镜象移动对称的滑条,对称地调整表情。</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="lightbulb" width="16" height="16" style="margin:0;width:16px;height:16px;border:none" src="lightbulb.png"/><span style="font-size: 9pt; font-weight: bold;"> 按钮的放置密度不要过高。</span><span style="font-size: 9pt;">放太密,用起来就要比较小心,因为不容易被准确地框选。</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="lightbulb" width="16" height="16" style="margin:0;width:16px;height:16px;border:none" src="lightbulb.png"/><span style="font-size: 9pt; font-weight: bold;"> 对于无法移动的Maya属性使用属性按钮可以移动并且就是用来移动来起作用的控制器属性用滑条。</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="lightbulb" width="16" height="16" style="margin:0;width:16px;height:16px;border:none" src="lightbulb.png"/><span class="f_ImageCaption" style="font-size: 9pt;">如果picker有很多的复杂图形使用一张或一套SVG文件</span><span class="f_ImageCaption" style="font-size: 9pt; font-weight: normal;">来为整个Picker提供图形是一个更好的选择因为SVG图形比Picker内手绘的贝塞尔曲线及多边形绘制性能要好。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;">&nbsp;<br />
&nbsp;</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="quickworkflow_2.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></a>
<a href="namespace.htm"><img border="0" src="../common/images/MGtoolsHelp_next.gif" width="34" height="22" alt="Next" /></a></td>
</tr>
</table>
</body>
</html>

View File

@@ -0,0 +1,87 @@
<!DOCTYPE html>
<html>
<head>
<title>在线上分发Picker</title>
<meta name="generator" content="Help &amp; Manual" />
<meta name="keywords" content="distribute picker,pipeline" />
<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", "distributeinpipeline.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>&nbsp;
<a href="editing_2.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></a>
<a href="pickertoolintergration.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_Normal" style="font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';display:inline-block;width:13px;margin-left:-13px">&#9642;</span><span style="font-weight: bold;">MG-Picker工具搜索3个基本路径及其它多个自定义路径来取得匹配的picker:</span></p><p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 24px; margin: 0 0 0 24px;"><span class="f_Normal" style="font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';display:inline-block;width:24px;margin-left:-24px">&#9642;</span><span style="font-weight: bold;">直接保存在Maya场景内部.</span><br />
<span style="font-size: 9pt;">Picker数据可以以节点方式存储在Maya场景内部。这个节点采用Maya内置节点类型 &quot;subdivSurfaceVarGroup&quot;;</span><br />
<span style="font-size: 9pt;">picker节点所用到的图片一般存储在Maya场景文件所在目录下的pickerimages目录下。.</span><br />
<span style="font-size: 9pt;">&nbsp;</span></p><p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 24px; margin: 0 0 0 24px;"><span class="f_Normal" style="font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';display:inline-block;width:24px;margin-left:-24px">&#9642;</span><span style="font-weight: bold;">保存picker文件路径到Maya场景内部.</span><br />
<span style="font-size: 9pt;">从MG-Picker工作室v1.7开始Picker数据可以只存储picker文件路径到节点。这个节点采用Maya内置节点类型 &quot;subdivSurfaceVarGroup&quot;;</span><br />
<span style="font-size: 9pt;">实际的picker内容等仍然以独立文件方式存储在某个地方而根据节点里提供的文件路径属性则可以找到并加载这个picker文件.</span><br />
<span style="font-size: 9pt;">重要的是,这个文件路径还支持环境变量,用$变量名称或${变量名称}来表示。提供了三个预置的变量:</span></p><p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 48px; margin: 0 0 0 24px;"><span class="f_Normal" style="font-size:9pt; font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';display:inline-block;width:24px;margin-left:-24px">&#8226;</span><span style="font-size: 9pt;">${M_PROJ_DIR}: 当前Maya工程目录</span></p><p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 48px; margin: 0 0 0 24px;"><span class="f_Normal" style="font-size:9pt; font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';display:inline-block;width:24px;margin-left:-24px">&#8226;</span><span style="font-size: 9pt;">${M_CURRENT_SCENE_DIR}: 当前Maya场景目录</span></p><p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 48px; margin: 0 0 0 24px;"><span class="f_Normal" style="font-size:9pt; font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';display:inline-block;width:24px;margin-left:-24px">&#8226;</span><span style="font-size: 9pt;">${M_CURRENT_ASSET_DIR}: 当前资产场景目录。即使资产被reference也会是资产本身的场景所在目录而不是当前场景目录。</span></p><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 24px;"><table style="border:none;border-spacing:0;padding:0;line-height: 1.80;"><tr style="vertical-align:baseline"><td style="border:none;padding:0;width:24px"></td><td style="border:none;padding:0"><span style="font-size: 9pt;">例子:</span></td></tr></table></div><p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 48px; margin: 0 0 0 24px;"><span class="f_Normal" style="font-size:9pt; font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';display:inline-block;width:24px;margin-left:-24px">&#8226;</span><span style="font-size: 9pt;">$M_PROJ_DIR/picker/pickerName/pickerfile.mgpkr</span></p><p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 48px; margin: 0 0 0 24px;"><span class="f_Normal" style="font-size:9pt; font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';display:inline-block;width:24px;margin-left:-24px">&#8226;</span><span style="font-size: 9pt;">${M_SCENE_DIR}_picker/pickerName/pickerfile.mgpkr</span></p><p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 48px; margin: 0 0 0 24px;"><span class="f_Normal" style="font-size:9pt; font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';display:inline-block;width:24px;margin-left:-24px">&#8226;</span><span style="font-size: 9pt;">D:/workarea/projects/${MyProjectName}/pickerName/pickerfile.mgpkr</span></p><p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 48px; margin: 0 0 0 24px;"><span class="f_Normal" style="font-size:9pt; font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';display:inline-block;width:24px;margin-left:-24px">&#8226;</span><span style="font-size: 9pt;">/path/to/$MyProjectName/$MyPickerName/${MyPickerName}.mgpkr</span><br />
<span style="font-size: 9pt;">&nbsp;</span></p><p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 24px; margin: 0 0 0 24px;"><span class="f_Normal" style="font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';display:inline-block;width:24px;margin-left:-24px">&#9642;</span><span style="font-weight: bold;">Maya场景目录下的pickers子目录. </span><br />
<span style="font-size: 9pt;">你可以选择将picker发布到Maya场景所在目录里的pickers子目录。即使这个Maya场景被reference这个目录也将被自动搜索到。</span><br />
<span style="font-size: 9pt;">&nbsp;</span></p><p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 24px; margin: 0 0 0 24px;"><span class="f_Normal" style="font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';display:inline-block;width:24px;margin-left:-24px">&#9642;</span><span style="font-weight: bold;">Maya用户程序目录下的MG_PickerData目录下的当前Picker工程目录.</span><br />
<span style="font-size: 9pt;">在Windows操作系统里这个路径实际上是我的文档/Maya/MG_PickerData/在里面的当前picker工程目录将会被自动搜索到。</span><br />
<span style="font-size: 9pt;">&nbsp;</span></p><p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 24px; margin: 0 0 0 24px;"><span class="f_Normal" style="font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';display:inline-block;width:24px;margin-left:-24px">&#9642;</span><span style="font-weight: bold;">其它在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;"> </span><img alt="lightbulb" width="16" height="16" style="margin:0;width:16px;height:16px;border:none" src="lightbulb.png"/><span style="font-size: 9pt;"> 这些搜索路径设置及搜索优先级设置实际被存储在一个叫</span><span class="f_Heading1" style="font-size: 9pt; font-weight: normal;"> &quot;SearchingPathConfig.ini&quot;的文 件,文件位置在&quot;Maya/版本/scripts/MG-PickerStudio/MGPicker_UserConfig&quot; 目录里。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;"><span class="f_Heading1" style="font-size: 9pt; font-weight: normal;">如果要线上所有人采用同样的搜索设置,则可以分享这个文件。</span><br />
<span class="f_Heading1" style="font-size: 9pt; font-weight: normal;">&nbsp;</span></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">&#9642;</span><span class="f_Heading1" style="font-size: 10pt;">如果在线上分发picker文件、节点</span></p><p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span style="font-size: 9pt;">既然现在您已经知道MG-Picker工作室在搜索picker时都会搜索哪些路径那么您已经知道如何在线上分发这些picker文件了。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span style="font-size: 9pt;">不过提醒一下只有场景内picker节点才会被随场景打开而自动搜索并打开picker。</span><br />
<span style="font-size: 9pt;">如果上面的几种发布方式都不太理想,还有一种终级手段:</span><br />
<span style="font-size: 9pt;">&nbsp;</span></p>
<p class="p_Normal" style="text-indent: -24px; line-height: 1.80; margin: 0 0 0 48px;"><span style="font-weight: bold;">使用编程手段这是最灵活的自定义手段但需要了解一点python编程知识.</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;"><span class="f_Heading1" style="font-size: 9pt; font-weight: normal;">你可以定义两个分别从 MGP.loader.MGPickerRigListerBase &nbsp;和 MGP.loader.MGPickerLoaderBase 派生的类 .</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;"><span class="f_Heading1" style="font-size: 9pt; font-weight: normal;">MGPickerRigListerBase 用来列出当前Maya场景里的资产名称通常是角色的namespace。也可以根据一定的类别来列出 如角色,道具,场景等。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;"><span class="f_Heading1" style="font-size: 9pt; font-weight: normal;">MGPickerLoaderBase 用来返回特定资产名称(角色的namespace)所对应的picker文件的绝对路径.</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;"><span class="f_Heading1" style="font-size: 9pt; font-weight: normal;">通过这两个类你让MG-Picker工作室可以一下子打开当前场景的所有对应picker文件或根据所选的rig的一部分来加载对应的picker文件。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;"><span class="f_Heading1" style="font-size: 9pt; font-weight: normal;">点击 <a href="customeloaderandlister.htm" class="topiclink">这里</a> 来了解更多信息。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;">&nbsp;</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">&#9642;</span><span class="f_Heading1" style="font-size: 10pt;">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;">picker对象有多个属性使用到图片比如面板背景图片选择按钮命令按钮滑条滑杠使用的图片菜单所用图标等。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span style="font-size: 9pt;">MG-Picker工作室在您设计过程中尽可能保持图片路径都是相对的以使它们便携。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span style="font-size: 9pt;">对于picker文件来讲它尽可能将图片复制到picker文件同样的目录下然后使图片路径变为相对的。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span style="font-size: 9pt;">对于picker节点来讲它尽可能将图片复制到Maya场景目录下的pickerimages目录下然后使图片路径变相对的。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span style="font-size: 9pt;">相对应的对于一个图片相对路径MG-Picker工作室将搜索下面2个地方来在后台解析成绝对路径以便显示图片</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span style="font-size: 9pt;">如果是外部picker文件则查找picker文件所在的目录如果是场景内picker节点则搜索Maya场景目录下的pickerimages目录如果这个场景被reference则搜索这个reference asset所指向的目录下的pickerimages目录。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><img alt="lightbulb" width="16" height="16" style="margin:0;width:16px;height:16px;border:none" src="lightbulb.png"/><span style="font-size: 9pt;"> 如果打开一个已存在的picker节点并指定了一些图标图片这些图片的地址仍会是绝对地址。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;"><span style="font-size: 9pt;">要复制这些图片到相应目录并转换路径为相对的则选择Picker菜单下的&quot;处理图片为相对路径&quot;</span></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="editing_2.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></a>
<a href="pickertoolintergration.htm"><img border="0" src="../common/images/MGtoolsHelp_next.gif" width="34" height="22" alt="Next" /></a></td>
</tr>
</table>
</body>
</html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 136 B

View File

@@ -0,0 +1,102 @@
<!DOCTYPE html>
<html>
<head>
<title>编辑</title>
<meta name="generator" content="Help &amp; Manual" />
<meta name="keywords" content="editing" />
<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", "editing.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>&nbsp;
<a href="pickermenu.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></a>
<a href="editing_2.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">&#9642;</span><span class="f_Heading1" style="font-size: 10pt;">基本上,你将使用编辑工具</span><img alt="editTool" width="26" height="29" style="margin:0;width:26px;height:29px;border:none" src="edittool.jpg"/><span class="f_Heading1" style="font-size: 10pt;">,变形工具</span><img alt="transformTool" width="27" height="26" style="margin:0;width:27px;height:26px;border:none" src="transformtool.jpg"/><span class="f_Heading1" style="font-size: 10pt;">,复制粘贴属性工具</span><img alt="copyPropertyTool" width="27" height="29" style="margin:0;width:27px;height:29px;border:none" src="copypropertytool.jpg"/><span class="f_Heading1" style="font-size: 10pt;">来进行移动,编辑操作。</span></p><p class="p_Normal" style="line-height: 1.80;">&nbsp;</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">&#9642;</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;">你可以用编辑工具来移动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;">不过除此外,你可以使用&quot; T&quot;快捷键来切到变形工具</span><img alt="copyPropertyTool" width="27" height="29" style="margin:0;width:27px;height:29px;border:none" src="copypropertytool.jpg"/><span class="f_Heading1" style="font-size: 9pt; font-weight: normal;">来变形事先选择的多个按钮以便整体位移,缩放它们。 变形后用回车键确认变形或按Esc键来取消变形。如果按回车键里加上Alt键则同样对他们所镜象的对象应用镜象后变形效果。</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="lightbulb" width="16" height="16" style="margin:0;width:16px;height:16px;border:none" src="lightbulb.png"/><span style="font-size: 9pt;"> 在V2版本开始默认是会连同所选对象的子对象一起变形如面板里的按钮。在右键可以开关这个选项。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;">&nbsp;</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">&#9642;</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><span style="font-size: 9pt;">旋转或翻转贝塞尔曲线或多边形形状选择相应的Picker对象然后点选编辑菜单 / 变形多边形/贝塞尔曲线形状..</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;">&nbsp;</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">&#9642;</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;">选择要复制的对象,按 &quot;CTRL + D&quot; 来复制对象,复制出来的新对象将放在原对象下方。</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;">&quot;CTRL + SHIFT + D&quot; 来复制并将复制器置于原对象右方。</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="lightbulb" width="16" height="16" style="margin:0;width:16px;height:16px;border:none" src="lightbulb.png"/><span style="font-size: 9pt;"> 如果加上alt键则复制器放在上面规则的相反方向。</span><br />
<span style="font-size: 9pt;">&nbsp;</span></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">&#9642;</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;">CTRL + C / CTRL + V 对于picker复制粘贴一样有效。也可以在这个picker复制另一个picker文件里粘贴。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><img alt="lightbulb" width="16" height="16" style="margin:0;width:16px;height:16px;border:none" src="lightbulb.png"/><span style="font-size: 9pt;"> 在复制时如果所选的要复制对象包含picker面板则只有这些picker机板被复制其它类型的对象被忽略。</span><br />
<span style="font-size: 9pt;">&nbsp;</span></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">&#9642;</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><img alt="copyPropertyTool" width="27" height="29" style="margin:0;width:27px;height:29px;border:none" src="copypropertytool.jpg"/><span class="f_Heading1" style="font-size: 9pt; font-weight: normal;"> 不能可以使用快捷键“I”键。</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><br />
<span class="f_Heading1" style="font-size: 9pt; font-weight: normal;">&nbsp;</span></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">&#9642;</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><br />
<span class="f_Heading1" style="font-size: 9pt; font-weight: normal;">&nbsp;</span></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">&#9642;</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;">选择要缩放的对象,按 &quot;CTRL + R&quot; 快捷键来将它们缩放各自的合适大小。在编辑菜单里有同样功能。</span><br />
<span class="f_Heading1" style="font-size: 9pt; font-weight: normal;">&nbsp;</span></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">&#9642;</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;">不过如果你要以photoshop那样的调色方式一下子调整多个不同颜色的按钮</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;">选择要调整的所有对象,按 &quot;CTRL + U&quot;打开颜色调节对话框。</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;">它就类似于photoshop的色相和饱和度对话框。</span><br />
<span class="f_Heading1" style="font-size: 9pt; font-weight: normal;">&nbsp;</span></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">&#9642;</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;">使用ALT键。</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;">比如要同时设置镜象标签边距在原对象设置标签边距按ALT + 回车键确认,则原对象的镜象对象标签边距也会同样设置,并且把镜象关系考虑进去。</span><br />
<span class="f_Heading1" style="font-size: 9pt; font-weight: normal;">&nbsp;</span></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">&#9642;</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;">所有的picker对象类型包括picker面板本身都可以成为其它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;">默认情况下如果您使用交互创建工具在picker面板上方创建一个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><img alt="editTool" width="26" height="29" style="margin:0;width:26px;height:29px;border:none" src="edittool.jpg"/><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;">类似的如果要脱离父子关系则选择子对象同样菜单里选择“从底下面板Unparent”。</span><br />
<span class="f_Heading1" style="font-size: 9pt; font-weight: normal;">&nbsp;</span></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">&#9642;</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;">选择对象,按 &quot;CTRL + L&quot; 快捷键为对象自动设置标签文本。</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;">另一种方法是,在属性编辑器的标签那一栏,点&quot;&lt;&quot;按钮。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;">&nbsp;</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">&#9642;</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;">选择对象,按 &quot;CTRL + 向上方向键&quot;来将所选对象置于顶层,盖停开其它有交叠的对象。按 &quot;CTRL + 向下方向键&quot; 来将它们置于底层,被其它有交叠对象覆盖。</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;">Picker面板一般处于底层而被其它对象覆盖。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;">&nbsp;</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">&#9642;</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;">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;">在属性编辑器,每个图片路径输入框的右方,都有一个&gt;按钮,点击选择&quot;编辑图片..&quot;来打开图片处理对话框。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;">&nbsp;</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">&#9642;</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;"><span class="f_Heading1" style="font-size: 9pt; font-weight: normal;">点击 编辑菜单/ 自动设置选择按钮后续动作, 它将会测试所选选择按钮的成员,如果该选择按钮的成员的旋转,缩放属性全部被锁,只有位移可用,则它会切换该按钮的后续动作为&quot;切到位移工具&quot;</span></p>
<p class="p_Normal" style="line-height: 1.80;">&nbsp;</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="pickermenu.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></a>
<a href="editing_2.htm"><img border="0" src="../common/images/MGtoolsHelp_next.gif" width="34" height="22" alt="Next" /></a></td>
</tr>
</table>
</body>
</html>

View File

@@ -0,0 +1,71 @@
<!DOCTYPE html>
<html>
<head>
<title>样式库</title>
<meta name="generator" content="Help &amp; Manual" />
<meta name="keywords" content="editing" />
<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", "editing_2.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>&nbsp;
<a href="editing.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></a>
<a href="distributeinpipeline.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">&#9642;</span><span class="f_Heading1" style="font-size: 10pt;">样式库</span><br />
<span style="font-size: 9pt;">你可以建立你自己的样式库使用样式来快速改变按钮外观非常方便。如果你没找到该面板请确保您使用的是V2 并且打开菜单栏视图菜单/样式。</span></p><p class="p_Normal" style="line-height: 1.80;">&nbsp;</p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 11px;"><span class="f_Heading1" style="font-size: 9pt;">界面概览:</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 26px;"><img alt="styleLibrary_ch" width="319" height="252" style="margin:0;width:319px;height:252px;border:none" src="stylelibrary_ch.gif"/></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 26px;">&nbsp;</p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span style="font-size: 9pt;">默认库的源目录是“用户本地样式&quot; 该目录位于我的文档/MG_PickerData/MG_PickerStyle目录内. </span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span style="font-size: 9pt;">点击 <img alt="moreFeaturesBtn" width="20" height="20" style="margin:0;width:20px;height:20px;border:none" src="morefeaturesbtn.gif"/> 按钮里的配置按钮来设置这个源目录。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span style="font-size: 9pt;">直接左键点击样式图标来应用样式。 如果 <img alt="lockIcon" width="18" height="21" style="margin:0;width:18px;height:21px;border:none" src="lockicon.gif"/> 图标是开着的,则应用时只会应用同一类型的样式到这个类型的按钮。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span style="font-size: 9pt;">点击 <img alt="addBtn" width="19" height="18" style="margin:0;width:19px;height:18px;border:none" src="addbtn.gif"/> 按钮来从Picker所选按钮创建一个样式。如果你选了多个按钮则它只记录里面不同类型的按钮样式并且组成一个“样式组”。如图所示我们有一个样式组叫&quot;kayla&quot;, 这个样式组包含属性按钮,面板,命令按钮,选择铵钮,滑条的样式。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span style="font-size: 9pt;">点击 <img alt="removeBtn" width="17" height="18" style="margin:0;width:17px;height:18px;border:none" src="removebtn.gif"/> 按钮来删除样式也可以按Del键。删除前要先选择样式可以用中键点击来选择样式而不应用它们。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;">&nbsp;</p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span style="font-size: 9pt;">可以用 <img alt="grid" width="19" height="20" style="margin:0;width:19px;height:20px;border:none" src="grid.gif"/> 按钮来开关透明网格背景的显示。点击重加载按钮来刷新界面。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><img alt="moreFeaturesBtn" width="20" height="20" style="margin:0;width:20px;height:20px;border:none" src="morefeaturesbtn.gif"/><span style="font-size: 9pt;"> 按钮里有更多功能, 比如打开当前样式源目录,打开配置窗口来配置源目录等。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span style="font-size: 9pt;">用F2来重命名样式。</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="lightbulb" width="16" height="16" style="margin:0;width:16px;height:16px;border:none" src="lightbulb.png"/><span style="font-size: 9pt;"> 样式里可能会有一张或多张图片。应用时它会拷贝图片到目标Picker目录如果同名图片已存在则它会作为警告。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;">&nbsp;</p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;">&nbsp;</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="editing.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></a>
<a href="distributeinpipeline.htm"><img border="0" src="../common/images/MGtoolsHelp_next.gif" width="34" height="22" alt="Next" /></a></td>
</tr>
</table>
</body>
</html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 843 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 887 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 972 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 934 B

View File

@@ -0,0 +1,459 @@
/* ------------ Script copyright 2005-2015 EC Software -------------
This script was created by Help & Manual and is part of the
Webhelp export format. This script is designed for use in
combination with the output of Help & Manual and must not
be used outside this context. http://www.helpandmanual.com
Do not modify this file! It will be overwritten by Help & Manual.
----------------------------------------------------------------- */
var usecookie = false,
tocselecting = false,
abspossupported = 0,
currentselection = null,
currenttocstate = "";
function hmAddCss(adoc, cssCode) {
var styleElement = adoc.createElement("style");
styleElement.type = "text/css";
if (styleElement.styleSheet) {
styleElement.styleSheet.cssText = cssCode;
}
else {
styleElement.appendChild(adoc.createTextNode(cssCode));
}
adoc.getElementsByTagName("head")[0].appendChild(styleElement);
}
function hmSupportsAbspos() {
if (abspossupported==0) {
tmp = $('<div style="position:absolute;left:0;right:0;display:none">&nbsp;</div>').appendTo('body');
if (($(tmp).outerWidth()+30) > $(window).width()) abspossupported = 1;
else abspossupported = -1;
tmp.remove();
}
if (abspossupported==1) return true;
return false;
}
function hmNoAbsposResize(jdiv, w, h) {
var windowWidth, windowHeight;
if (self.innerHeight) { // all except Explorer
if(document.documentElement.clientWidth){
windowWidth = document.documentElement.clientWidth;
} else {
windowWidth = self.innerWidth;
}
windowHeight = self.innerHeight;
} else if (document.documentElement && document.documentElement.clientHeight) { // Explorer 6 Strict Mode
windowWidth = document.documentElement.clientWidth;
windowHeight = document.documentElement.clientHeight;
} else if (document.body) { // other Explorers
windowWidth = document.body.clientWidth;
windowHeight = document.body.clientHeight;
}
if (w) jdiv.css('width', ( windowWidth - parseInt(jdiv.css('left')) - parseInt(jdiv.css('right')) ));
if (h) jdiv.css('height', ( windowHeight - parseInt(jdiv.css('top')) - parseInt(jdiv.css('bottom')) ));
}
function hmNavigationFrame() {
var actFrames = new Array(
window.frames['hmnavigation'],
window.frames['hmcontent']
);
for (var i=0;i<actFrames.length;i++) {
if (actFrames[i].name=='hmnavigation') return actFrames[i];
}
return self;
}
function hmContentFrame() {
if (!document.getElementById("hmcontent")) return null;
return hmcontent;
}
var lastTrackEvent = "";
var track = function(action, data) {
if (gaaccount !== "") { // Initiate the tracker on first call
if (typeof ga == "undefined") {
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
if (gatrackername=='') gatrackername = 'hmga';
ga('create', { trackingId: gaaccount, cookieDomain: 'auto', name: gatrackername});
let entryPage = document.location.pathname.substr(document.location.pathname.lastIndexOf("\/"));
// Bei allen Trackern mit Namen müssen alle Calls mit dem Namen als Namespace verwendet werden, sonst werden die Calls einfach ignoriert.
ga(gatrackername + '.set', 'page', entryPage)
ga(gatrackername + '.send', 'pageview');
return;
}
}
if (typeof ga != "undefined" && (lastTrackEvent != action+data)) {
lastTrackEvent = action+data;
}
else {
return;
}
// Tracking calls after first init
switch(action) {
case "topic":
var levs = parseInt(gatracklevels),
page = data.substring(data.indexOf("//")+1,data.length);
page = page.substring(page.lastIndexOf("/")+1,page.length);
if (levs > 0) {
var fullPath = window.location.href.substring(0, window.location.href.lastIndexOf("/"));
if (levs == 9) {
page = fullPath + '/' + page;
}
else {
for (var i=0;i<levs;i++) {
page = fullPath.substring(fullPath.lastIndexOf("/")+1,fullPath.length) + '/' + page;
fullPath = fullPath.substring(0, fullPath.lastIndexOf("/"));
}
}
}
ga(gatrackername+'.set', 'page', page);
ga(gatrackername+'.send', 'pageview');
break;
case "search":
ga(gatrackername+'.send', {
hitType: 'event',
eventCategory: 'Search Help',
eventAction: 'Search',
eventLabel: data
});
break;
case "index":
ga(gatrackername+'.send', {
hitType: 'event',
eventCategory: 'Select Index Term',
eventAction: 'Click',
eventLabel: data
});
break;
case "exit":
ga(gatrackername+'.send', {
hitType: 'event',
eventCategory: 'Outbound Link',
eventAction: 'Click Link',
eventLabel: data,
transport: 'beacon'
});
break;
}
}
function fullexpand(animate) { switchall(true, animate); }
function fullcollapse(animate) { switchall(false, animate); }
function levelexpand(divID, animate) {
var thisDIV = hmNavigationFrame().document.getElementById(divID);
var items = thisDIV.getElementsByTagName("li");
for(var i = 0; i < items.length; i++) {
if (items[i].parentNode==thisDIV) {
var thisUL = hmULfromID(items[i].id);
if (thisUL) hmSwitchNode(thisUL, true, animate);
}
}
}
function switchall(nodevisible, animate) {
var toc = hmNavigationFrame().document.getElementById("toc");
if (toc) {
var items = toc.getElementsByTagName("ul");
for(var i = 0; i < items.length; i++) hmSwitchNode(items[i], nodevisible, animate);
if ((nodevisible) && (currentselection)) intoview(currentselection, toc, false);
}
}
function loadstate(toc) {
var tmpAnimate = hmAnimate;
hmAnimate = false;
currentselection = null;
if (currenttocstate=="") {
if (usecookie) currenttocstate = document.cookie;
else { /* load default toc state */
if (initialtocstate == 'expandall') fullexpand(false);
else {
if (initialtocstate == 'expandtoplevel') { fullcollapse(false); levelexpand('toc', false); }
else fullcollapse(false);
}
}
}
if (currenttocstate != "") {
var toc = hmNavigationFrame().document.getElementById("toc");
if (toc) {
var items = toc.getElementsByTagName("ul");
for(var i = 0; i < items.length; i++) hmSwitchNode(items[i], (currenttocstate.indexOf(items[i].id+',')>-1), false);
}
}
if (hmContentFrame()) {
var topicID = hmContentFrame().location.href.substring(hmContentFrame().location.href.lastIndexOf("/")+1,hmContentFrame().location.href.length);
if (topicID.lastIndexOf("#") != -1) topicID = topicID.substring(0,topicID.lastIndexOf("#"));
if (topicID.lastIndexOf("?") != -1) topicID = topicID.substring(0,topicID.lastIndexOf("?"));
tocselecting = false;
lazysync(topicID);
}
hmAnimate = tmpAnimate;
}
function savestate(toc) {
currenttocstate = "";
var items = toc.getElementsByTagName("ul");
for(var i = 0; i < items.length; i++) if (items[i].style.display!="none") currenttocstate = currenttocstate.concat(items[i].id + ",");
if (usecookie) document.cookie = currenttocstate;
}
function toggle(nodeID) {
var thisUL = hmULfromID(nodeID);
if (thisUL) hmSwitchNode(thisUL, ((thisUL.style.display=="none")?true:false), true);
}
function hmNodeClicked(node, event) {
if (event.stopPropagation) { event.stopPropagation(); } else { event.cancelBubble = true; } //MSIE
if ($(node).css('direction') != 'rtl') {
var scrOfX = $(hmNavigationFrame()).scrollLeft();
var scrOfY = $(hmNavigationFrame()).scrollTop();
var offset = parseInt( $(node).css('padding-left'));
var thisClicked = ( (event.clientY+scrOfY > $(node).offset().top) && (event.clientY+scrOfY < ($(node).offset().top+offset)) &&
(event.clientX+scrOfX > $(node).offset().left) && (event.clientX+scrOfX < ($(node).offset().left+offset+$(node.firstChild).outerWidth())) );
var iconClicked = (thisClicked && (event.clientX+scrOfX > $(node).offset().left) && (event.clientX+scrOfX < ($(node).offset().left+offset)));
}
else {
var scrOfX = $(hmNavigationFrame()).scrollLeft();
var scrOfY = $(hmNavigationFrame()).scrollTop();
var offset = parseInt( $(node).css('padding-right'));
var nodeW = $(node).outerWidth();
var textW = $(node.firstChild).outerWidth();
var thisClicked = ( (event.clientY+scrOfY > $(node).offset().top) && (event.clientY+scrOfY < ($(node).offset().top+offset)) &&
(event.clientX+scrOfX < $(node).offset().left+nodeW) && (event.clientX+scrOfX > ($(node).offset().left+nodeW-offset-textW)) );
var iconClicked = (thisClicked && (event.clientX+scrOfX < $(node).offset().left+nodeW) && (event.clientX+scrOfX > ($(node).offset().left+nodeW-offset)));
}
var thisID = node.id;
if (iconClicked) {
toggle('ul'+thisID.substring(1,thisID.length));
}
else if (thisClicked) {
if (hmTocSingleClick) {
hilightexpand('s'+thisID.substring(1,thisID.length));
}
else {
hilight('s'+thisID.substring(1,thisID.length));
}
}
}
function hmNodeDblclicked(node) {
thisID = node.id;
toggle('ul'+thisID.substring(1,thisID.length));
}
function hmLIfromID(thisID) {
return hmNavigationFrame().document.getElementById('i'+thisID.replace(/[isaul]/g,''));
}
function hmULfromID(thisID) {
return hmNavigationFrame().document.getElementById('ul'+thisID.replace(/[isaul]/g,''));
}
function hmSwitchNode(thisUL, nodevisible, animate) {
if ((thisUL.style.display!='none')!=nodevisible) {
var thisLI = hmLIfromID(thisUL.id);
if (thisLI) {
var thisIcon = thisLI.getAttribute('data-bg');
if (thisIcon!='') $(thisLI).css('background-image', 'url(' + (nodevisible ? thisIcon.substr(thisIcon.indexOf(';')+1, thisIcon.length) : thisIcon.substr(0, thisIcon.indexOf(';')) ) + ')');
if (nodevisible) {
if (animate && hmAnimate) $(thisUL).slideDown('fast');
else thisUL.style.display = 'block';
}
else {
if (animate && hmAnimate) $(thisUL).slideUp('fast');
else thisUL.style.display = 'none';
}
}
}
}
function hilightexpand(spanID) {
if (hilight(spanID)) {
var thisUL = hmULfromID(spanID);
if (thisUL) hmSwitchNode(thisUL, true, true);
return true;
}
else return false;
}
function hilight(spanID) {
tocselecting = true;
var thisnode = null;
var selectionchanged = false;
thisnode = hmNavigationFrame().document.getElementById(spanID);
if (thisnode) {
try {
if ((currentselection) && (currentselection != thisnode)) currentselection.className = "heading" + currentselection.className.substr(7,1);
}
catch(e){
}
thisnode.className = "hilight"+thisnode.className.substr(7,1);
selectionchanged = (currentselection != thisnode);
currentselection = thisnode;
}
return selectionchanged;
}
function intoview(thisnode, tree, selectionchanged) {
var thisparent = thisnode;
while (thisparent != tree) {
if ((selectionchanged) && (thisparent.nodeName.toLowerCase()=="ul")) hmSwitchNode(thisparent,true,true);
thisparent = thisparent.parentNode;
}
thisparent = thisnode;
for (var t=0; thisparent!=null; t+=thisparent.offsetTop, thisparent=thisparent.offsetParent);
var bt = (hmNavigationFrame().window.pageYOffset)?hmNavigationFrame().window.pageYOffset:hmNavigationFrame().document.body.scrollTop;
var bh = (hmNavigationFrame().window.innerHeight)?hmNavigationFrame().window.innerHeight:hmNavigationFrame().document.body.offsetHeight;
if ((t+thisnode.offsetHeight-bt) > bh) hmNavigationFrame().window.scrollTo(0,(t+24-bh))
else if (t < bt) hmNavigationFrame().window.scrollTo(0,t);
}
function collapseunfocused(toc, selectedID) {
if (toc) {
var nodepath = 'ul'+selectedID.replace(/[isaul]/g,'') + ".";
var nodeCompare = "";
var items = toc.getElementsByTagName("ul");
for (var i = 0; i < items.length; i++) {
if (items[i].id.indexOf(".")<0) nodeCompare = items[i].id + ".";
else nodeCompare = items[i].id;
if (nodepath.lastIndexOf(nodeCompare)<0) {
hmSwitchNode(items[i], false, false);
}
}
}
}
function quicksync(aID) {
if (aID != "") {
var toc = hmNavigationFrame().document.getElementById("toc");
if (toc) {
if (!tocselecting) {
aID = "s"+aID.substring(1,aID.length);
var thisspan = hmNavigationFrame().document.getElementById(aID);
if (thisspan) {
var selectionchanged = hilight(aID);
intoview(thisspan, toc, selectionchanged);
}
}
if (autocollapse) {
if (currentselection) collapseunfocused(toc, currentselection.id);
else collapseunfocused(toc, "");
}
}
track('topic', topicID);
}
tocselecting = false;
}
function lazysync(topicID) {
if (topicID != "") {
var toc = hmNavigationFrame().document.getElementById("toc");
if (toc) {
if (!tocselecting) {
var currentTopic = $("a[href^='"+topicID+"']",toc);
if (currentTopic.length > 0) {
var currentSpanID = $(currentTopic).children("span").attr("id");
var selectionchanged = false;
if (hmTocSingleClick) {
selectionchanged = hilightexpand(currentSpanID);
}
else {
selectionchanged = hilight(currentSpanID);
}
intoview(currentTopic[0], toc, selectionchanged);
}
}
if (autocollapse) {
if (currentselection) collapseunfocused(toc, currentselection.id);
else collapseunfocused(toc, "");
}
}
track('topic', topicID);
}
tocselecting = false;
}
function hmPreloadIcons() {
var icons = new Array();
for (i=0; i<arguments.length; i++) {
icons[i] = new Image();
icons[i].src = arguments[i];
}
}
function hmCreateVSplitter(leftdiv, rightdiv) {
var splitWidth = ($(rightdiv).offset().left - ($(leftdiv).offset().left+$(leftdiv).outerWidth()));
$('body').append('<div id="hmsplitter" style="border:none;margin:0;padding:0;position:absolute;cursor:col-resize;background-color:transparent;overflow:hidden;'+
'height:'+$(leftdiv).outerHeight()+
'px;top:'+$(leftdiv).offset().top+
'px;left:'+($(leftdiv).offset().left+$(leftdiv).outerWidth())+
'px;width:'+splitWidth+'px">&nbsp;</div>');
var oldX;
var navWidth;
var minWidth;
var oldLeft;
var oldWidth;
var oldSplitL;
var split = $('#hmsplitter');
$(window).resize(function() { /* resize splitter when window changes */
split.css({'height': $(leftdiv).outerHeight()+'px', 'left': ($(leftdiv).offset().left+$(leftdiv).outerWidth())+'px'});
});
split.bind('mousedown', startDrag);
function startDrag(e) {
oldX = (!document.all) ? e.clientX : event.clientX;
navWidth = parseInt($(leftdiv).css('width'),10);
minWidth = parseInt($(leftdiv).css('min-width'));
oldLeft = $(rightdiv).offset().left;
oldWidth = $(rightdiv).outerWidth();
oldSplitL = split.offset().left;
var bg = $('<div id="hmcurtain" style="border:none;padding:0;margin:0;position:absolute;cursor:col-resize;width:100%;height:100%;background-color:transparent"></div>').appendTo('body');
bg.bind('mousemove', performDrag);
bg.bind('mouseup', endDrag);
split.bind('mousemove', performDrag);
split.bind('mouseup', endDrag);
function endDrag() {
bg.unbind('mousemove').unbind('mouseup').remove();
split.unbind('mousemove').unbind('mouseup');
}
}
function performDrag(e) {
//deselect:
if (window.getSelection) window.getSelection().removeAllRanges();
else if (document.selection) document.selection.empty();
var moveX = (!document.all) ? e.clientX - oldX : event.clientX - oldX;
var newNavW = navWidth + moveX < minWidth ? minWidth : navWidth + moveX;
$(leftdiv).css('width', (newNavW) + 'px');
//split.css('left', ($(leftdiv).offset().left+newNavW) + 'px');
split.css('left', (oldSplitL + newNavW - navWidth) + 'px');
$(rightdiv).css('left', (oldLeft + newNavW - navWidth) + 'px');
if (!hmSupportsAbspos()) $(rightdiv).css('width', (oldWidth - newNavW + navWidth) + 'px');
}
}

View File

@@ -0,0 +1,41 @@
/* Project settings */
var hmAnimate = true;
var hmPopupSticky = true;
var hmImageLightbox = true;
var hmVideoLightbox = true;
var hmLightboxConstrained = true;
var hmForceRedirect = false;
var hmTocSingleClick = true;
var autocollapse = true;
var gaaccount = "",
gatrackername = "",
gatracklevels = 0;
var initialtocstate = "collapsed";
var agent = "",
platform = "",
hmBrowser = {};
try {
agent = navigator.userAgent; platform = navigator.platform;
hmBrowser.touch = !!(('ontouchstart' in window && !window.opera) || ('msmaxtouchpoints' in window.navigator) || ('maxtouchpoints' in window.navigator) || (navigator.maxTouchPoints > 0) || (navigator.msMaxTouchPoints > 0));
hmBrowser.nonDeskTouch = ((hmBrowser.touch && !/win32|win64/i.test(platform)) || (hmBrowser.touch && /win32|win64/i.test(platform) && /mobile/i.test(agent)));
hmBrowser.eventType = (('onmousedown' in window && !hmBrowser.nonDeskTouch) ? "mouse" : ('ontouchstart' in window) ? "touch" : ('msmaxtouchpoints' in window.navigator || navigator.msMaxTouchPoints > 0) ? "mstouchpoints" : ('maxtouchpoints' in window.navigator || navigator.maxTouchPoints > 0) ? "touchpoints" : "mouse");
switch(hmBrowser.eventType) {
case "mouse":
hmBrowser.touchstart = "mousedown";
hmBrowser.touchend = "mouseup";
break;
case "touch":
hmBrowser.touchstart = "touchstart";
hmBrowser.touchend = "touchend";
break;
case "mstouchpoints":
hmBrowser.touchstart = "MSPointerDown";
hmBrowser.touchend = "MSPointerUp";
break;
case "touchpoints":
hmBrowser.touchstart = "pointerdown";
hmBrowser.touchend = "pointerup";
break;
}
} catch(e) {}

View File

@@ -0,0 +1,454 @@
/* --------------- Script (c) 2006-2015 EC Software ---------------
This script was created by Help & Manual. It is designed for use
in combination with the output of Help & Manual and must not
be used outside this context. http://www.helpandmanual.com
Do not modify this file! It will be overwritten by Help & Manual.
-----------------------------------------------------------------*/
var topicInitScriptAvailable = true;
var HMToggles = new Array();
var HMGallery = new Array();
var HMTogglesAllExpanded = false;
function hmmin(v1, v2) { if (v1<v2) return v1; return v2 }
function hmmax(v1, v2) { if (v1>v2) return v1; return v2 }
var HMSyncTOC = function(indexPageUrl, selfUrl) {
if (location.search.lastIndexOf("toc=0")<=0) {
if (parent.hmNavigationFrame) { parent.lazysync(selfUrl); }
else if ((hmForceRedirect) && (parent.location) && (parent.location.href)) { parent.location.href = indexPageUrl+'?'+selfUrl; }
}
}
var HMToggleExpandAll = function(value) {
if (HMToggles.length != null){
for (i=0; i<HMToggles.length; i++){
HMToggleExpand(HMToggles[i], value, (value && hmAnimate));
}
}
HMTogglesAllExpanded = value;
}
var HMAnyToggleOpen = function() {
var anyOpen = false;
if (HMToggles.length != null){
for (i=0; i<HMToggles.length; i++){
if (HMToggles[i].getAttribute("hm.state")=='1') anyOpen = true;
}
}
if (!anyOpen) HMTogglesAllExpanded = false;
return anyOpen;
}
var HMToggle = function() {
var op = HMToggle.arguments[0];
for (i=1; i<HMToggle.arguments.length; i++) {
var objID = HMToggle.arguments[i];
var obj = document.getElementById(objID);
switch (op) {
case "toggle":
var state = obj.getAttribute("hm.state");
if (state == null) { state = "0" };
HMToggleExpand(obj, (state != "1"), hmAnimate);
break;
case "expand":
HMToggleExpand(obj, true, false);
break;
case "collapse":
HMToggleExpand(obj, false, false);
break;
}
}
}
var HMToggleExpand = function(obj, value, animate) {
tagName = obj.nodeName.toLowerCase();
switch (tagName) {
case "span":
HMToggleExpandText(obj, value, animate);
break;
case "div":
HMToggleExpandDropdown(obj, value, animate);
break;
case "img":
HMToggleExpandPicture(obj, value, animate);
break;
}
obj.setAttribute("hm.state", value ? "1" : "0");
}
var HMToggleExpandText = function(obj, value, animate) {
obj.style.display = (value ? "inline" : "none"); //cannot be animated
}
var HMToggleExpandDropdown = function(obj, value, animate) {
if (animate) {
/* $(obj).stop(); don't stop here */
if (value) {
$(obj).slideDown('fast');
}
else {
$(obj).animate({ height: 'toggle' }, 'fast', function() {
if (document.all && !window.opera) { // Avoid collapsing margins bug in IE
var dummy = $(obj).prev();
if ($(dummy).outerHeight!=0) dummy = $('<div style="height:1px"></div>').insertBefore(obj);
else $(dummy).css('display', 'block');
$(dummy).css('display', 'none');
}
});
}
}
else {
obj.style.display = (value ? "block" : "none");
}
}
var HMToggleExpandPicture = function(obj, value, animate) {
var oldFile = (value ? obj.getAttribute("hm.src0") : obj.getAttribute("hm.src1"));
var newFile = (value ? obj.getAttribute("hm.src1") : obj.getAttribute("hm.src0"));
var newSrc = obj.src.replace(oldFile, newFile);
var isToggleIcon = (obj.getAttribute("hm.type")=="dropdown");
if ((!isToggleIcon) && (animate)) {
$(obj).stop();
var newImg = new Image();
newImg.onload = function() {
var newWidth = newImg.width;
var newHeight = newImg.height;
var oldWidth = obj.width;
var oldHeight = obj.height;
if ((newWidth > 0) && (newHeight > 0)) {
if ((newWidth == oldWidth) && (newHeight == oldHeight)) {
obj.src = newSrc;
}
else {
$(obj).animate({ width: newWidth, height: newHeight }, 'fast', function() {
obj.src = newSrc;
});
}
}
};
newImg.src = newSrc;
}
else {
obj.src = newSrc;
}
var newTitle = (value ? obj.getAttribute("hm.title1") : obj.getAttribute("hm.title0"));
if (newTitle != null) { obj.title = newTitle; }
var newCaption = (value ? obj.getAttribute("hm.caption1") : obj.getAttribute("hm.caption0"));
if (newCaption != null) { obj.parentNode.parentNode.parentNode.nextSibling.firstChild.firstChild.innerHTML = newCaption; }
}
var HMShowPictureLightbox = function(objID) {
var obj = document.getElementById(objID); /* our <img> clicked */
var startL = $(obj).offset().left;
var startT = $(obj).offset().top;
var startW = $(obj).outerWidth();
var startH = $(obj).outerHeight();
var oldFile = obj.getAttribute("hm.src0");
var newFile = obj.getAttribute("hm.src1");
var newSrc = obj.src.replace(oldFile, newFile);
var newTitle = obj.getAttribute("hm.title1");
var newCaption = obj.getAttribute("hm.caption1");
var htmlCode = '<img id="hmlightboximage" src="' + newSrc + '" alt="' + newTitle + '"/>';
var imgPreloader = new Image();
imgPreloader.onload = function() {
HMShowLightbox(htmlCode, startL, startT, startW, startH, imgPreloader.width, imgPreloader.height, newCaption, true, false);
};
imgPreloader.src = newSrc;
}
var HMShowVideoLightbox = function(event, obj, htmlcode, vWidth, vHeight) {
var startL = $(obj).offset().left;
var startT = $(obj).offset().top;
var startW = $(obj).outerWidth();
var startH = $(obj).outerHeight();
if (event.stopPropagation) { event.stopPropagation(); } else { event.cancelBubble = true; } //MSIE
HMShowLightbox(htmlcode, startL, startT, startW, startH, vWidth, vHeight, '', false, true);
}
var HMShowLightbox = function(htmlCode, startL, startT, startW, startH, endW, endH, newCaption, doAnimate, isVideo) {
/* Find our scope:
* 1) Is this an orphan window or part of a webhelp frame?
* 2) If it is a webhelp frame, is it an iframe or classic <frame>?
* 3) Can we do cross-frame scripting? (not possible in Chrome locally)
*/
var parentScope = ((parent.hmNavigationFrame) && (parent.document.getElementById('hmnavigation')) && (parent.document.getElementById('hmnavigation').nodeName.toLowerCase()=='iframe'));
var lightboxWindow = $(window);
var lightboxDocument = $(document);
var lightboxBody = $('body');
var lighboxScrollLayer = null;
if (parentScope) { /* use entire window for lightbox */
lightboxBody = parent.$('body');
lightboxDocument = parent.$(document);
lightboxWindow = parent.window;
}
$(lightboxBody).prepend('<div id="hmlightboxbackground" style="z-index:99997;border:none;padding:0;margin:0;position:absolute;left:0;top:0;background-color:#7F7F7F"></div>');
var lightboxBackground = parentScope ? parent.$('#hmlightboxbackground') : $('#hmlightboxbackground');
lightboxBackground.css('opacity', '0.5');
if (parentScope) {
$(lightboxBody).prepend('<div id="hmlightboxscrolllayer" style="z-index:99998;border:none;padding:0;margin:0;position:absolute;left:0;top:0;background:none;overflow:auto"></div>');
lighboxScrollLayer = parent.$('#hmlightboxscrolllayer');
lightboxBody = lighboxScrollLayer;
}
$(lightboxBody).prepend('<div id="hmlightbox" style="z-index:99999;position:absolute;display:none"></div>');
var lightbox = parentScope ? parent.$('#hmlightbox') : $('#hmlightbox');
var lightboxObject = $(htmlCode).appendTo(lightbox);
var lightboxCaption = null;
if (newCaption != null) {
$(lightbox).append('<p id="hmlightboxcaption">' +newCaption+ '</p>');
lightboxCaption = parentScope ? parent.$('#hmlightboxcaption') : $('#hmlightboxcaption');
}
var lightboxSpeed = 300;
var sizeStart; /* keep initial size for hide animation */
var maxW = endW;
var maxH = endH;
if (hmLightboxConstrained) {
if (endW > ($(lightboxWindow).width()-40)) {
endW = $(lightboxWindow).width()-40;
if (endW < (maxW/2)) endW = maxW/2;
endH = maxH * endW / maxW;
}
}
lightboxObject.css({'width': endW+'px', 'height': endH+'px'});
if (lightboxCaption!=null) lightboxCaption.css('width', endW+'px');
if (hmAnimate&&doAnimate) {
var sizeEnd = lightboxGetsize();
if (lightboxCaption!=null) lightboxCaption.css('display', 'none'); /* hide caption during animation */
lightboxObject.css({'width': startW + 'px', 'height': startH + 'px'});
sizeStart = lightboxGetsize();
lightboxResize();
sizeStart[0] = startL;
sizeStart[1] = startT;
if (parentScope) {
sizeStart[0] = sizeStart[0] + parent.$('#hmcontent').offset().left - $(document).scrollLeft();
sizeStart[1] = sizeStart[1] + parent.$('#hmcontent').offset().top - $(document).scrollTop();
}
lightbox.css({'left': sizeStart[0]+'px', 'top': sizeStart[1]+'px'});
lightbox.show();
lightbox.animate({ left: sizeEnd[0]-lightboxObject.position().left, top: sizeEnd[1]-lightboxObject.position().top },
lightboxSpeed,
function() {
if (lightboxCaption!=null) lightboxCaption.css('display', 'block');
}
);
lightboxObject.animate({ width: endW, height: endH }, lightboxSpeed);
}
else {
var sizeEnd = lightboxGetsize();
lightboxResize();
lightbox.show();
}
$(lightboxWindow).bind('resize.hmlightbox', lightboxResize);
$(lightboxWindow).bind('scroll.hmlightbox', lightboxScroll);
$(lightboxBody).bind('click.hmlightbox', lightboxClick);
$(lightboxBody).bind('keydown.hmlightbox', lightboxKeydown);
$(lightbox).focus();
function lightboxScroll() {
lightboxBackground.css('width', (($(lightboxDocument).scrollLeft() > 0) ? $(lightboxDocument).width() : $(lightboxWindow).width()) +'px');
lightboxBackground.css('height', (($(lightboxDocument).scrollTop() > 0) ? $(lightboxDocument).height() : $(lightboxWindow).height()) +'px');
}
function lightboxResize() {
if (hmLightboxConstrained) {
var tmpW = endW;
endW = $(lightboxWindow).width()-40;
if (endW > maxW) endW = maxW;
else if (endW < (maxW/2)) endW = maxW/2;
if (tmpW != endW) {
endH = maxH * endW / maxW;
lightboxObject.css({'width': endW+'px', 'height': endH+'px'});
if (lightboxCaption!=null) lightboxCaption.css('width', endW+'px');
}
}
var size = lightboxGetsize();
lightbox.css({left: size[0]+'px', top:size[1]+'px'});
if (lighboxScrollLayer!=null) {
lighboxScrollLayer.css({'width': $(lightboxWindow).width()+'px', 'height': $(lightboxWindow).height()+'px'});
}
lightboxScroll();
}
function lightboxGetsize() {
var lbW = lightbox.width();
var lbH = lightbox.height();
if (isVideo) {
lbW = endW;
lbH = endH;
}
var newW = hmmax(lbW + 40, lightboxDocument.width());
var newH = hmmax(lbH + 40, lightboxDocument.height());
var newL = hmmax(20, parseInt(($(lightboxWindow).width() - lbW)/2) + (parentScope ? 0 : lightboxDocument.scrollLeft()));
var newT = hmmax(20, parseInt(($(lightboxWindow).height() - lbH)/2) + (parentScope ? 0 : lightboxDocument.scrollTop()));
var size = new Array(newL, newT, lbW, lbH);
return size;
}
function lightboxKeydown(e) {
if (e.keyCode == 27) lightboxClose();
}
function lightboxClick(e) {
var canClose = (!isVideo) ||
(e.pageX < lightbox.position().left) || (e.pageY < lightbox.position().top) ||
(e.pageX > lightbox.position().left+lightbox.width()) || (e.pageY > lightbox.position().top+lightbox.height());
if (canClose) lightboxClose();
}
function lightboxClose() {
if (hmAnimate&&doAnimate) {
if (lightboxCaption!=null) lightboxCaption.css('display', 'none'); /* hide caption during animation */
lightboxObject.animate({ width: startW, height: startH }, lightboxSpeed);
lightbox.animate({ left: sizeStart[0]-lightboxObject.position().left, top: sizeStart[1]-lightboxObject.position().top },
lightboxSpeed,
function() {
lightbox.remove();
if (lighboxScrollLayer!=null) lighboxScrollLayer.remove();
lightboxBackground.remove();
}
);
}
else {
lightbox.remove();
if (lighboxScrollLayer!=null) lighboxScrollLayer.remove();
lightboxBackground.remove();
}
$(lightboxWindow).unbind('.hmlightbox');
$(lightboxBody).unbind('.hmlightbox');
}
}
var HMSearchCheck = function(obj) {
var foundHilite = window.location.search.lastIndexOf("zoom_highlight") > 0;
if (!foundHilite) {
var fontTags = obj.getElementsByTagName("FONT");
if (fontTags.length == 0)
fontTags = obj.getElementsByTagName("font");
if (fontTags.length > 0) {
var hStyle = "";
for (var cCheck = 0; cCheck < fontTags.length; cCheck++) {
hStyle = fontTags[cCheck].style.cssText;
if (hStyle.indexOf("BACKGROUND-COLOR") == 0 || hStyle.indexOf("background-color") == 0) {
foundHilite = true;
break;
}
}
}
}
return foundHilite;
}
var HMInitToggle = function() {
if (document.getElementById) {
var node = document.getElementById(HMInitToggle.arguments[0]);
var isPicture = false;
for (i=1; i<HMInitToggle.arguments.length-1; i=i+2) {
if (HMInitToggle.arguments[i] == "onclick") {
node.onclick = Function(HMInitToggle.arguments[i+1]);
}
if (HMInitToggle.arguments[i].substring(0,6) == "hm.src") {
node.setAttribute(HMInitToggle.arguments[i], decodeURI(HMInitToggle.arguments[i+1]));
var img = new Image();
img.src = HMInitToggle.arguments[i+1];
}
else {
node.setAttribute(HMInitToggle.arguments[i], HMInitToggle.arguments[i+1]);
if ((HMInitToggle.arguments[i] == "hm.type") && (HMInitToggle.arguments[i+1] == "picture")) { isPicture = true; }
}
}
if (isPicture) {
var aLink = node.parentNode;
if (aLink.nodeName.toLowerCase() == "a") {
if (hmImageLightbox) {
HMGallery[HMGallery.length] = node;
aLink.href = "javascript:HMShowPictureLightbox('" + HMInitToggle.arguments[0] +"')";
}
else {
HMToggles[HMToggles.length] = node;
aLink.href = "javascript:HMToggle('toggle','" + HMInitToggle.arguments[0] +"')";
}
}
}
else {
var mustExpand = HMSearchCheck(node);
HMToggles[HMToggles.length] = node;
if (mustExpand) {
node.setAttribute("hm.state", "1");
var nodeImg = document.getElementById(node.getAttribute("id")+'_ICON');
if (nodeImg) { HMToggleExpand(nodeImg, true); }
}
HMToggleExpand(node, ((node.getAttribute("hm.state") == "1") || mustExpand));
}
}
}
var HMTrackTopiclink = function(obj) {
if (parent.frames.length>0) {
if (parent.gaaccount) { parent.track("exit", obj.href); }
}
}
var hmshowPopup = function(event, txt, trigger) {
$('#hmpopupdiv').stop().remove();
var pop = $('<div id="hmpopupdiv"></div>').appendTo('body');
if (hmPopupSticky) {
$('body').bind(hmBrowser.touchend + '.hmpopup', hmhidePopup);
$('body').bind('keydown.hmpopup', function(e) { if (e.keyCode == 27) hmhidePopup(); } );
}
pop.html(txt);
var posLeft = event.clientX+$(document).scrollLeft();
var posTop = event.clientY+$(document).scrollTop();
var maxW = $(window).width()/1.5;
var w = pop.width();
if (w > maxW) pop.width(maxW);
var t = 20 + posTop;
var l = (posLeft - w/2);
if (l < 10) l = 10;
if ((l + pop.outerWidth()) > $(window).width()) l = $(window).width() - pop.outerWidth();
if (l < 0) l = 0;
pop.css( { left: l+'px', top: t+'px'} );
if (hmAnimate) pop.show('fast');
else pop.show();
}
var hmhidePopup = function() {
if (hmPopupSticky) $("body").unbind(".hmpopup");
var pop = $('#hmpopupdiv');
if (pop.length>0) { //hide, don't remove
if (hmAnimate) pop.hide('fast');
else $(hmpopupdiv).hide();
}
}

View File

@@ -0,0 +1,326 @@
// ----------------------------------------------------------------------------
// Zoom Search Engine 7.0 (10/Apr/2014)
// Highlight & auto-scroll script (DOM version)
//
// email: zoom@wrensoft.com
// www: http://www.wrensoft.com
//
// Copyright (C) Wrensoft 2014
// ----------------------------------------------------------------------------
// Use this script to allow your search matches to highlight and scroll to
// the matched word on the actual web page where it was found.
//
// You will need to link to this JS file from each page of your site
// which requires the "highlight/jump to matched word" feature.
//
// For example, you could paste the following HTML in your site's header or
// footer:
//
// <style>.highlight { background: #FFFF40; }</style>
// <script type="text/javascript" src="highlight.js"></script>
//
// Note: You will need to specify the correct path to "highlight.js" depending
// on where the file is located.
//
// You will then need to modify the BODY tag on your page to include an "onLoad"
// attribute, such as:
//
// <body onload="highlight();">
//
// If for some reason you can not modify the body tag of your page, an alternative
// would be to put the following line after the </body> tag of your page:
//
// <script type="text/javascript">highlight();</script>
//
// For more information, consult the Users Guide and our support website at:
// http://www.wrensoft.com/zoom/support
// ----------------------------------------------------------------------------
// Script options
// ----------------------------------------------------------------------------
// If you wish to disable the jump functionality which scrolls the browser
// to the first occurance of the matched word, change this setting to false
var JumpToFirstOccurance = true;
// For debugging purposes, disable the following
var CatchJSErrors = true;
// This option skips highlighting withing blocks marked by ZOOMSTOP and
// ZOOMRESTART tags.
var SkipZoomStops = true;
// ----------------------------------------------------------------------------
// Main script
// ----------------------------------------------------------------------------
var IsZoomStop = 0;
function catcherror() { return true; }
if (CatchJSErrors)
window.onerror = catcherror;
function QueryString(key)
{
var value = null;
for (var i=0;i<QueryString.keys.length;i++)
{
if (QueryString.keys[i]==key)
{
value = QueryString.values[i];
break;
}
}
return value;
}
function QueryString_Parse()
{
var query = window.location.search.substring(1);
var pairs = query.split("&");
for (var i=0;i<pairs.length;i++)
{
var pos = pairs[i].indexOf('=');
if (pos >= 0)
{
var argname = pairs[i].substring(0,pos);
var value = pairs[i].substring(pos+1);
QueryString.keys[QueryString.keys.length] = argname;
QueryString.values[QueryString.values.length] = value;
}
}
}
QueryString.keys = new Array();
QueryString.values = new Array();
QueryString_Parse();
function getElement(id)
{
if (document.getElementById)
return(document.getElementById(id));
else if (document.all)
return(document.all[id]);
}
function findPosY(obj)
{
var curtop = 0;
if (obj.offsetParent)
{
while (obj.offsetParent)
{
curtop += obj.offsetTop
obj = obj.offsetParent;
}
}
else if (obj.y)
curtop += obj.y;
return curtop;
}
function ZRetrieveQuery()
{
var SearchAsSubstring = 0;
var hl;
var terms;
hl = QueryString("zoom_highlight");
if (hl == "" || hl == null)
{
hl = QueryString("zoom_highlightsub");
if (hl == "" || hl == null)
return false;
else
SearchAsSubstring = 1;
}
if ((document.charset && document.charset == "utf-8") ||
(document.characterSet && document.characterSet == "UTF-8"))
hl = decodeURIComponent(hl);
else
hl = unescape(hl);
hl = hl.toLowerCase();
// create array of terms
//var term = hl.split("+");
var re = /\"(.*?)\"|[^\\+\"]+/g;
terms = hl.match(re);
// convert terms in regexp patterns
for (var i=0;i<terms.length;i++) // take each term in turn
{
if(terms[i] != "")
{
if (terms[i].indexOf("\"") != -1)
{
// contains double quotes
terms[i]=terms[i].replace(/\"/g,"");
terms[i]=terms[i].replace(/\+/g," ");
}
else
{
terms[i]=terms[i].replace(/\+/g,"");
}
if (terms[i].indexOf("*") != -1 || terms[i].indexOf("?") != -1)
{
// convert wildcard pattern to regexp
terms[i] = terms[i].replace(/\\/g, " ");
terms[i] = terms[i].replace(/\^/g, " ");
//term[i] = term[i].replace(/\+/g, " "); // split on this so no point in looking
terms[i] = terms[i].replace(/\#/g, " ");
terms[i] = terms[i].replace(/\$/g, " ");
terms[i] = terms[i].replace(/\./g, " ");
// check if search term only contains only wildcards
// if so, we will not attempt to highlight this term
var wildcards = /\w/;
if (wildcards.test(terms[i]))
{
terms[i] = terms[i].replace(/\*/g, "[^\\s]*");
terms[i] = terms[i].replace(/\?/g, "[^\\s]"); // insist upon one non whitespace
}
else
terms[i] = "";
}
if (terms[i] != "")
{
if (SearchAsSubstring == 0)
{
terms[i] = "(>[\\s]*|>[^<]+[\\b\\W])("+terms[i]+")(<|[\\b\\W][^>]*<)";
}
else
{
// if term leads with wildcard then allow it to match preceeding text in word
var strWB="";
if(terms[i].substr(0,7)=="[^\\s]*") strWB="\\b";
terms[i] = "(>|>[^<]+)"+strWB+"("+terms[i]+")([^>]*<)";
}
}
}
}
return terms;
}
// regular expression version
function ZHighlightText(terms, text)
{
text=text.replace(/&amp;/ig, '&');
text=text.replace(/&nbsp;/ig, '');
text=text.replace(/</ig, '&lt;');
text=text.replace(/>/ig, '&gt;');
for (var i=0; i<terms.length; i++) // take each term in turn
{
if(terms[i] != "")
{
// we need a loop for the main search to catch all between ><
// and we add  before each found to ignore those done etc
// todo: develop reliable single pass regexp and dispose of loop
var l = 0;
re = new RegExp(terms[i], "gi");
var count = 0; // just incase
// Correction by Tim Green for bug with pointed brackets inside the hilighted text node
text = text.replace(/<(?![\/]?span)/g, "&lt;");
text = text.replace(">","&gt;");
text = text.replace(/span&gt;/g, 'span>');
text = text.replace(/"highlight"&gt;/g, '"highlight">');
// Correction end
text = ">" + text + "<"; // temporary tag marks
do
{
l=text.length;
text=text.replace(re, '$1<span style="background:#FFFF40;" class="highlight" id="highlight" name="highlight">$2</span id="highlight">$3');
count++;
}
//while(re.lastIndex>0 && count<100); lastIndex not set properly under netscape
while(l!=text.length && count<100);
text = text.substring(1, text.length-1); // remove temporary tags
}
}
text = text.replace(eval("//g"), '');
text = text.replace(eval("//g"), '&nbsp;');
return(text);
}
function jumpHL()
{
var d = getElement("highlight");
if (d)
{
if (d.scrollIntoView)
{
d.scrollIntoView();
}
else
{
var y = findPosY(d);
// if element near top of page
if (y < 100)
window.scrollTo(0,0); // go to top of page
else
window.scrollTo(0,y-50); // show space of 50 above
}
}
}
function ZHighlightReplace(q, node)
{
var node_value = node.nodeValue;
var newtext = ZHighlightText(q, node_value);
if (newtext != node_value)
{
var repl = document.createElement('span');
repl.innerHTML = newtext;
node.parentNode.replaceChild(repl, node);
}
}
function ZHighlightSearch(q, root)
{
if (!root)
root = document.body.childNodes;
for (var i = 0, j = root.length; i < j; i++)
{
ZHighlightSearch(q, root[i].childNodes);
if (SkipZoomStops && root[i].nodeType === 8)
{
if (root[i].nodeValue == "ZOOMSTOP")
IsZoomStop = 1;
else if (root[i].nodeValue == "ZOOMRESTART")
IsZoomStop = 0;
}
if (IsZoomStop == 0 && root[i].nodeType === 3)
{
ZHighlightReplace(q, root[i]);
}
}
}
function highlight()
{
if (!"".match) // check if browser supports regexp match() function
return;
if (document.body)
{
var terms = ZRetrieveQuery();
if (terms != false)
{
IsZoomStop = 0;
ZHighlightSearch(terms);
if (JumpToFirstOccurance)
jumpHL();
}
}
}

View File

@@ -0,0 +1,213 @@
<!DOCTYPE html>
<html><head>
<title>MG-Picker工作室帮助</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<!-- This line includes the general project style sheet (not required) -->
<meta http-equiv="Content-Style-Type" content="text/css" />
<link type="text/css" href="default.css" rel="stylesheet" />
<!-- This block defines the styles of the TOC headings, change them as needed -->
<style type="text/css">
.navtitle { font-size: 14pt; font-weight: bold; margin-bottom: 16px; }
.navbar { font-size: 10pt; }
.heading1 { font-family: Arial,Helvetica; font-weight: normal; font-size: 10pt; color: #000000; text-decoration: none; }
.heading2 { font-family: Arial,Helvetica; font-weight: normal; font-size: 9pt; color: #000000; text-decoration: none; }
.heading3 { font-family: Arial,Helvetica; font-weight: normal; font-size: 8pt; color: #000000; text-decoration: none; }
.heading4 { font-family: Arial,Helvetica; font-weight: normal; font-size: 8pt; color: #000000; text-decoration: none; }
.heading5 { font-family: Arial,Helvetica; font-weight: normal; font-size: 8pt; color: #000000; text-decoration: none; }
.heading6 { font-family: Arial,Helvetica; font-weight: normal; font-size: 8pt; color: #000000; text-decoration: none; }
.hilight1 { font-family: Arial,Helvetica; font-weight: normal; font-size: 10pt; color: #FFFFFF; background: #002682; text-decoration: none; }
.hilight2 { font-family: Arial,Helvetica; font-weight: normal; font-size: 9pt; color: #FFFFFF; background: #002682; text-decoration: none; }
.hilight3 { font-family: Arial,Helvetica; font-weight: normal; font-size: 8pt; color: #FFFFFF; background: #002682; text-decoration: none; }
.hilight4 { font-family: Arial,Helvetica; font-weight: normal; font-size: 8pt; color: #FFFFFF; background: #002682; text-decoration: none; }
.hilight5 { font-family: Arial,Helvetica; font-weight: normal; font-size: 8pt; color: #FFFFFF; background: #002682; text-decoration: none; }
.hilight6 { font-family: Arial,Helvetica; font-weight: normal; font-size: 8pt; color: #FFFFFF; background: #002682; text-decoration: none; }
TD.toc { padding-bottom: 0px; padding-right: 0px; padding-left: 0px }
body {
margin-top: 0px;
margin-right: 0px;
margin-left: 0px;
}
</style>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="helpman_settings.js"></script>
<script type="text/javascript">
var parentScope = (parent.hmNavigationFrame);
if (!parentScope) {
var s = document.createElement("script");
s.setAttribute("type","text/javascript");
s.setAttribute("src", "helpman_navigation.js");
document.getElementsByTagName("head")[0].appendChild(s);
}
else {
if (initialtocstate != "expandall") parent.hmAddCss(document, "#toc li ul { display: none }");
}
function loadicons() { var icons = new Array(); for (i=0; i<arguments.length; i++) { icons[i] = new Image(); icons[i].src = arguments[i]; } }
function loadtoc() { if (parentScope) parent.loadstate(document.getElementById("toc")); else loadstate(document.getElementById("toc")); }
function savetoc() { if (parentScope) parent.savestate(document.getElementById("toc")); else savestate(document.getElementById("toc")); }
function clicked(node, event) { deselect(); if (parentScope) parent.hmNodeClicked(node, event); else hmNodeClicked(node, event); }
function dblclicked(node) { if (parentScope) parent.hmNodeDblclicked(node); else hmNodeDblclicked(node); }
function deselect() { if (window.getSelection) window.getSelection().removeAllRanges(); else if (document.selection) document.selection.empty(); }
$(document).ready(function(){
loadtoc();
$(window).onunload = savetoc;
});
</script>
</head>
<body style="background: #e0e0e0; url(null) fixed no-repeat margin-top: 0px">
<table valign="bottom" width="100%" height="25" border="0" cellpadding="0" cellspacing="0" bgcolor="#d0d0d0">
<tr valign="bottom" align="left">
<td valign="bottom" colspan="0">
<img border="0" src="../Common/images/MGtoolsHelp_pageInde_ch.gif" width="61" height="25" alt="Contents" /></td>
<td valign="bottom" colspan="0">
<a href="hmkwindex.htm"><img border="0" src="../Common/images/MGtoolsHelp_Index_ch_dar.gif" width="56" height="25" alt="Index" /></a></td>
<td valign="top" colspan="0" width="100%" align="left">
<a href="hmftsearch.htm"><img border="0" src="../Common/images/MGtoolsHelp_search_ch_dar.gif" width="66" height="25" alt="Search" /></a></td>
</tr>
</table>
<p >&nbsp;</p>
<table valign="middle" width="100%" border="0" cellpadding="5" cellspacing="2" bgcolor="#e0e0e0">
<tr valign="middle" align="left" cellspacing="2" >
<td cellspacing="2" >
<!--<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#d4d4d4">
<tr>
<td> ececec
<table height="25" width="100%" border="0" cellspacing="0" cellpadding="2" bgcolor="#D0D0D0">
<tr valign="middle">
<td align="middle" height="25">
<img border="0" src="images/MGtoolsHelp_manual_ch.gif" width="90" height="24" alt="MGtools manual" />
</td>
</tr>
</table> -->
<!--<p class="navtitle">MG-Picker工作室帮助</p>-->
<!--<p class="navbar">
<b>Contents</b> --><!--</p><hr size="1" />
<!--</td>
</tr>
</table> <td> -->
<!-- Place holder for the TOC - this variable is REQUIRED! -->
<ul id="toc" style="list-style-type:none;display:block;padding-left:0;margin:0">
<li class="heading1" id="i1" style="background:url(tag_blue.gif) no-repeat;margin-top:2px;margin-left:0;padding-left:24px" onclick="return clicked(this,event)"><a class="heading1" id="a1" href="welcome.htm" target="hmcontent"><span class="heading1" id="s1">欢迎</span></a>
</li>
<li class="heading1" id="i2" style="background:url(tag_blue.gif) no-repeat;margin-top:2px;margin-left:0;padding-left:24px" onclick="return clicked(this,event)"><a class="heading1" id="a2" href="install.htm" target="hmcontent"><span class="heading1" id="s2">安装MG-Picker工作室</span></a>
</li>
<li class="heading1" id="i3" data-bg="book.gif;book_open.gif" style="background:url(book_open.gif) no-repeat;cursor:pointer;margin-top:2px;margin-left:0;padding-left:20px" onclick="return clicked(this,event)"><a class="heading1" id="a3" href="animator.htm" target="hmcontent"><span class="heading1" id="s3" ondblclick="return dblclicked(this)">动画师帮助</span></a>
<ul id="ul3" style="list-style-type:none;margin-left:0px;padding:0">
<li class="heading2" id="i3.1" style="background:url(tag_blue.gif) no-repeat;margin-top:2px;margin-left:0;padding-left:24px" onclick="return clicked(this,event)"><a class="heading2" id="a3.1" href="loadpicker.htm" target="hmcontent"><span class="heading2" id="s3.1">加载Pickers</span></a>
</li>
<li class="heading2" id="i3.2" style="background:url(tag_blue.gif) no-repeat;margin-top:2px;margin-left:0;padding-left:24px" onclick="return clicked(this,event)"><a class="heading2" id="a3.2" href="setnamespace.htm" target="hmcontent"><span class="heading2" id="s3.2">设置命名空间</span></a>
</li>
<li class="heading2" id="i3.3" style="background:url(tag_blue.gif) no-repeat;margin-top:2px;margin-left:0;padding-left:24px" onclick="return clicked(this,event)"><a class="heading2" id="a3.3" href="viewportmanipulation.htm" target="hmcontent"><span class="heading2" id="s3.3">视图操作</span></a>
</li>
<li class="heading2" id="i3.4" style="background:url(tag_blue.gif) no-repeat;margin-top:2px;margin-left:0;padding-left:24px" onclick="return clicked(this,event)"><a class="heading2" id="a3.4" href="animatorinteractivity.htm" target="hmcontent"><span class="heading2" id="s3.4">Picker交互</span></a>
</li>
<li class="heading2" id="i3.5" style="background:url(tag_blue.gif) no-repeat;margin-top:2px;margin-left:0;padding-left:24px" onclick="return clicked(this,event)"><a class="heading2" id="a3.5" href="simpleediting.htm" target="hmcontent"><span class="heading2" id="s3.5">简单编辑</span></a>
</li>
<li class="heading2" id="i3.6" style="background:url(tag_blue.gif) no-repeat;margin-top:2px;margin-left:0;padding-left:24px" onclick="return clicked(this,event)"><a class="heading2" id="a3.6" href="mgselecthelper.htm" target="hmcontent"><span class="heading2" id="s3.6">MG-选择辅助器</span></a>
</li>
<li class="heading2" id="i3.7" style="background:url(tag_blue.gif) no-repeat;margin-top:2px;margin-left:0;padding-left:24px" onclick="return clicked(this,event)"><a class="heading2" id="a3.7" href="hotkeys_anim.htm" target="hmcontent"><span class="heading2" id="s3.7">快捷键</span></a>
</li>
<li class="heading2" id="i3.8" style="background:url(tag_blue.gif) no-repeat;margin-top:2px;margin-left:0;padding-left:24px" onclick="return clicked(this,event)"><a class="heading2" id="a3.8" href="tipsforanimator.htm" target="hmcontent"><span class="heading2" id="s3.8">小提示</span></a>
</li>
</ul>
</li>
<li class="heading1" id="i4" data-bg="book.gif;book_open.gif" style="background:url(book_open.gif) no-repeat;cursor:pointer;margin-top:2px;margin-left:0;padding-left:20px" onclick="return clicked(this,event)"><a class="heading1" id="a4" href="designer.htm" target="hmcontent"><span class="heading1" id="s4" ondblclick="return dblclicked(this)">设计师帮助</span></a>
<ul id="ul4" style="list-style-type:none;margin-left:0px;padding:0">
<li class="heading2" id="i4.1" style="background:url(tag_blue.gif) no-repeat;margin-top:2px;margin-left:0;padding-left:24px" onclick="return clicked(this,event)"><a class="heading2" id="a4.1" href="quickworkflow.htm" target="hmcontent"><span class="heading2" id="s4.1">快速流程</span></a>
</li>
<li class="heading2" id="i4.2" style="background:url(tag_blue.gif) no-repeat;margin-top:2px;margin-left:0;padding-left:24px" onclick="return clicked(this,event)"><a class="heading2" id="a4.2" href="quickworkflow_2.htm" target="hmcontent"><span class="heading2" id="s4.2">SVG流程</span></a>
</li>
<li class="heading2" id="i4.3" style="background:url(tag_blue.gif) no-repeat;margin-top:2px;margin-left:0;padding-left:24px" onclick="return clicked(this,event)"><a class="heading2" id="a4.3" href="designprinciple.htm" target="hmcontent"><span class="heading2" id="s4.3">设计原则</span></a>
</li>
<li class="heading2" id="i4.4" style="background:url(tag_blue.gif) no-repeat;margin-top:2px;margin-left:0;padding-left:24px" onclick="return clicked(this,event)"><a class="heading2" id="a4.4" href="namespace.htm" target="hmcontent"><span class="heading2" id="s4.4">命名空间</span></a>
</li>
<li class="heading2" id="i4.5" style="background:url(tag_blue.gif) no-repeat;margin-top:2px;margin-left:0;padding-left:24px" onclick="return clicked(this,event)"><a class="heading2" id="a4.5" href="itemtypes.htm" target="hmcontent"><span class="heading2" id="s4.5">Picker类型</span></a>
</li>
<li class="heading2" id="i4.6" style="background:url(tag_blue.gif) no-repeat;margin-top:2px;margin-left:0;padding-left:24px" onclick="return clicked(this,event)"><a class="heading2" id="a4.6" href="itemshapes.htm" target="hmcontent"><span class="heading2" id="s4.6">Picker形状</span></a>
</li>
<li class="heading2" id="i4.7" style="background:url(tag_blue.gif) no-repeat;margin-top:2px;margin-left:0;padding-left:24px" onclick="return clicked(this,event)"><a class="heading2" id="a4.7" href="links.htm" target="hmcontent"><span class="heading2" id="s4.7">Picker连接</span></a>
</li>
<li class="heading2" id="i4.8" style="background:url(tag_blue.gif) no-repeat;margin-top:2px;margin-left:0;padding-left:24px" onclick="return clicked(this,event)"><a class="heading2" id="a4.8" href="relationshipview.htm" target="hmcontent"><span class="heading2" id="s4.8">关系视图</span></a>
</li>
<li class="heading2" id="i4.9" style="background:url(tag_blue.gif) no-repeat;margin-top:2px;margin-left:0;padding-left:24px" onclick="return clicked(this,event)"><a class="heading2" id="a4.9" href="outliner.htm" target="hmcontent"><span class="heading2" id="s4.9">大纲视图</span></a>
</li>
<li class="heading2" id="i4.10" style="background:url(tag_blue.gif) no-repeat;margin-top:2px;margin-left:0;padding-left:24px" onclick="return clicked(this,event)"><a class="heading2" id="a4.10" href="pickermenu.htm" target="hmcontent"><span class="heading2" id="s4.10">Picker菜单</span></a>
</li>
<li class="heading2" id="i4.11" style="background:url(tag_blue.gif) no-repeat;margin-top:2px;margin-left:0;padding-left:24px" onclick="return clicked(this,event)"><a class="heading2" id="a4.11" href="editing.htm" target="hmcontent"><span class="heading2" id="s4.11">编辑</span></a>
</li>
<li class="heading2" id="i4.12" style="background:url(tag_blue.gif) no-repeat;margin-top:2px;margin-left:0;padding-left:24px" onclick="return clicked(this,event)"><a class="heading2" id="a4.12" href="editing_2.htm" target="hmcontent"><span class="heading2" id="s4.12">样式库</span></a>
</li>
<li class="heading2" id="i4.13" style="background:url(tag_blue.gif) no-repeat;margin-top:2px;margin-left:0;padding-left:24px" onclick="return clicked(this,event)"><a class="heading2" id="a4.13" href="distributeinpipeline.htm" target="hmcontent"><span class="heading2" id="s4.13">在线上分发Picker</span></a>
</li>
<li class="heading2" id="i4.14" style="background:url(tag_blue.gif) no-repeat;margin-top:2px;margin-left:0;padding-left:24px" onclick="return clicked(this,event)"><a class="heading2" id="a4.14" href="pickertoolintergration.htm" target="hmcontent"><span class="heading2" id="s4.14">整合Picker工具</span></a>
</li>
<li class="heading2" id="i4.15" style="background:url(tag_blue.gif) no-repeat;margin-top:2px;margin-left:0;padding-left:24px" onclick="return clicked(this,event)"><a class="heading2" id="a4.15" href="publishinternet.htm" target="hmcontent"><span class="heading2" id="s4.15">发布到网络</span></a>
</li>
<li class="heading2" id="i4.16" style="background:url(tag_blue.gif) no-repeat;margin-top:2px;margin-left:0;padding-left:24px" onclick="return clicked(this,event)"><a class="heading2" id="a4.16" href="hotkeys_designer.htm" target="hmcontent"><span class="heading2" id="s4.16">快捷键</span></a>
</li>
<li class="heading2" id="i4.17" style="background:url(tag_blue.gif) no-repeat;margin-top:2px;margin-left:0;padding-left:24px" onclick="return clicked(this,event)"><a class="heading2" id="a4.17" href="standalone.htm" target="hmcontent"><span class="heading2" id="s4.17">独立程序模式</span></a>
</li>
<li class="heading2" id="i4.18" style="background:url(tag_blue.gif) no-repeat;margin-top:2px;margin-left:0;padding-left:24px" onclick="return clicked(this,event)"><a class="heading2" id="a4.18" href="tipsfordesigner.htm" target="hmcontent"><span class="heading2" id="s4.18">小提示</span></a>
</li>
</ul>
</li>
<li class="heading1" id="i5" data-bg="book.gif;book_open.gif" style="background:url(book_open.gif) no-repeat;cursor:pointer;margin-top:2px;margin-left:0;padding-left:20px" onclick="return clicked(this,event)"><a class="heading1" id="a5" href="programmer.htm" target="hmcontent"><span class="heading1" id="s5" ondblclick="return dblclicked(this)">程序员帮助</span></a>
<ul id="ul5" style="list-style-type:none;margin-left:0px;padding:0">
<li class="heading2" id="i5.1" style="background:url(tag_blue.gif) no-repeat;margin-top:2px;margin-left:0;padding-left:24px" onclick="return clicked(this,event)"><a class="heading2" id="a5.1" href="mgpicker.htm" target="hmcontent"><span class="heading2" id="s5.1">MGPicker命令</span></a>
</li>
<li class="heading2" id="i5.2" style="background:url(tag_blue.gif) no-repeat;margin-top:2px;margin-left:0;padding-left:24px" onclick="return clicked(this,event)"><a class="heading2" id="a5.2" href="mgpickerview.htm" target="hmcontent"><span class="heading2" id="s5.2">MGPickerView命令</span></a>
</li>
<li class="heading2" id="i5.3" style="background:url(tag_blue.gif) no-repeat;margin-top:2px;margin-left:0;padding-left:24px" onclick="return clicked(this,event)"><a class="heading2" id="a5.3" href="mgpickeritem.htm" target="hmcontent"><span class="heading2" id="s5.3">MGPickerItem命令</span></a>
</li>
<li class="heading2" id="i5.4" style="background:url(tag_blue.gif) no-repeat;margin-top:2px;margin-left:0;padding-left:24px" onclick="return clicked(this,event)"><a class="heading2" id="a5.4" href="mgpickerlink.htm" target="hmcontent"><span class="heading2" id="s5.4">MGPickerLink命令</span></a>
</li>
<li class="heading2" id="i5.5" style="background:url(tag_blue.gif) no-repeat;margin-top:2px;margin-left:0;padding-left:24px" onclick="return clicked(this,event)"><a class="heading2" id="a5.5" href="mgpickermenu.htm" target="hmcontent"><span class="heading2" id="s5.5">MGPickerMenu命令</span></a>
</li>
<li class="heading2" id="i5.6" style="background:url(tag_blue.gif) no-repeat;margin-top:2px;margin-left:0;padding-left:24px" onclick="return clicked(this,event)"><a class="heading2" id="a5.6" href="mgpickermenuitem.htm" target="hmcontent"><span class="heading2" id="s5.6">MGPickerMenuItem命令</span></a>
</li>
<li class="heading2" id="i5.7" style="background:url(tag_blue.gif) no-repeat;margin-top:2px;margin-left:0;padding-left:24px" onclick="return clicked(this,event)"><a class="heading2" id="a5.7" href="mgsvgimport.htm" target="hmcontent"><span class="heading2" id="s5.7">MGSvgImport命令</span></a>
</li>
<li class="heading2" id="i5.8" style="background:url(tag_blue.gif) no-repeat;margin-top:2px;margin-left:0;padding-left:24px" onclick="return clicked(this,event)"><a class="heading2" id="a5.8" href="mgpickerservice.htm" target="hmcontent"><span class="heading2" id="s5.8">MGPickerService命令</span></a>
</li>
<li class="heading2" id="i5.9" style="background:url(tag_blue.gif) no-repeat;margin-top:2px;margin-left:0;padding-left:24px" onclick="return clicked(this,event)"><a class="heading2" id="a5.9" href="mgpickerlicence.htm" target="hmcontent"><span class="heading2" id="s5.9">MGPickerLicence命令</span></a>
</li>
<li class="heading2" id="i5.10" style="background:url(tag_blue.gif) no-repeat;margin-top:2px;margin-left:0;padding-left:24px" onclick="return clicked(this,event)"><a class="heading2" id="a5.10" href="mgimageprocesser.htm" target="hmcontent"><span class="heading2" id="s5.10">MGImageProcesser命令</span></a>
</li>
<li class="heading2" id="i5.11" style="background:url(tag_blue.gif) no-repeat;margin-top:2px;margin-left:0;padding-left:24px" onclick="return clicked(this,event)"><a class="heading2" id="a5.11" href="commandbuttonpresets.htm" target="hmcontent"><span class="heading2" id="s5.11">命令按钮预设</span></a>
</li>
<li class="heading2" id="i5.12" style="background:url(tag_blue.gif) no-repeat;margin-top:2px;margin-left:0;padding-left:24px" onclick="return clicked(this,event)"><a class="heading2" id="a5.12" href="converters.htm" target="hmcontent"><span class="heading2" id="s5.12">转换器</span></a>
</li>
<li class="heading2" id="i5.13" style="background:url(tag_blue.gif) no-repeat;margin-top:2px;margin-left:0;padding-left:24px" onclick="return clicked(this,event)"><a class="heading2" id="a5.13" href="codesnippets.htm" target="hmcontent"><span class="heading2" id="s5.13">代码片段</span></a>
</li>
<li class="heading2" id="i5.14" style="background:url(tag_blue.gif) no-repeat;margin-top:2px;margin-left:0;padding-left:24px" onclick="return clicked(this,event)"><a class="heading2" id="a5.14" href="syncvaluewithmaya.htm" target="hmcontent"><span class="heading2" id="s5.14">跟Maya同步</span></a>
</li>
<li class="heading2" id="i5.15" style="background:url(tag_blue.gif) no-repeat;margin-top:2px;margin-left:0;padding-left:24px" onclick="return clicked(this,event)"><a class="heading2" id="a5.15" href="customeloaderandlister.htm" target="hmcontent"><span class="heading2" id="s5.15">Loader和Lister</span></a>
</li>
<li class="heading2" id="i5.16" style="background:url(tag_blue.gif) no-repeat;margin-top:2px;margin-left:0;padding-left:24px" onclick="return clicked(this,event)"><a class="heading2" id="a5.16" href="tipsforprogrammer.htm" target="hmcontent"><span class="heading2" id="s5.16">小提示</span></a>
</li>
<li class="heading2" id="i5.17" style="background:url(tag_blue.gif) no-repeat;margin-top:2px;margin-left:0;padding-left:24px" onclick="return clicked(this,event)"><a class="heading2" id="a5.17" href="q__a.htm" target="hmcontent"><span class="heading2" id="s5.17">Q &amp; A</span></a>
</li>
</ul>
</li>
<li class="heading1" id="i6" style="background:url(tag_blue.gif) no-repeat;margin-top:2px;margin-left:0;padding-left:24px" onclick="return clicked(this,event)"><a class="heading1" id="a6" href="user_configuration.htm" target="hmcontent"><span class="heading1" id="s6">用户配置</span></a>
</li>
<li class="heading1" id="i7" style="background:url(tag_blue.gif) no-repeat;margin-top:2px;margin-left:0;padding-left:24px" onclick="return clicked(this,event)"><a class="heading1" id="a7" href="more_resource_2.htm" target="hmcontent"><span class="heading1" id="s7">Qt LGPL</span></a>
</li>
<li class="heading1" id="i8" style="background:url(tag_blue.gif) no-repeat;margin-top:2px;margin-left:0;padding-left:24px" onclick="return clicked(this,event)"><a class="heading1" id="a8" href="more_resource.htm" target="hmcontent"><span class="heading1" id="s8">更多资源</span></a>
</li>
</ul>
<script type="text/javascript">loadicons('tag_blue.gif','book_open.gif','book.gif');</script>
<hr size="1" noshade="noshade" /><p style="font-size: 8pt" color="#666666" >&nbsp;© 2025 MGLAND动画工作室</p>
</td>
</tr>
</table>
</body>
</html>

View File

@@ -0,0 +1,14 @@
var hmContextIds = new Array();
function hmGetContextId(query) {
var urlParams;
var match,
pl = /\+/g,
search = /([^&=]+)=?([^&]*)/g,
decode = function (s) { return decodeURIComponent(s.replace(pl, " ")); },
params = {};
while (match = search.exec(query))
params[decode(match[1])] = decode(match[2]);
if (params["contextid"]) return decodeURIComponent(hmContextIds[params["contextid"]]);
else return "";
}

View File

@@ -0,0 +1,101 @@
<!DOCTYPE html>
<html><head>
<title>MG-Picker工作室帮助</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<!-- This line includes the general project style sheet (not required) -->
<meta http-equiv="Content-Style-Type" content="text/css" />
<link type="text/css" href="default.css" rel="stylesheet" />
<!-- You can change the fonts, text colors, and styles of your search results with the CSS below -->
<style type="text/css">
.navtitle { font-size: 14pt; font-weight: bold; margin-bottom: 16px; }
.navbar { font-size: 10pt; }
.submit { font-size: 9pt; }
.highlight { background: #FFFF40; }
.searchheading { font-size: 9pt; font-weight: bold; }
.summary { font-size: 8pt; font-style: italic; }
.results { font-size: 9pt; }
.description { font-size: 9pt; }
.context { font-size: 9pt; }
.result_title { font-size: 9pt; }
.suggestion { font-size: 100%; }
.category { color: #999999; }
.sorting { text-align: right; }
.zoom_searchform { font-size: 100%; }
.zoom_results_per_page { font-size: 80%; margin-left: 10px; }
.zoom_match { font-size: 80%; margin-left: 10px;}
.zoom_categories { font-size: 80%; }
.zoom_categories ul { display: inline; margin: 0px; padding: 0px;}
.zoom_categories li { display: inline; margin-left: 15px; list-style-type: none; }
input.zoom_button { }
input.zoom_searchbox { }
.result_image { float: left; display: block; }
.result_image img { margin: 10px; width: 80px; border: 0px; }
.result_block { margin-top: 15px; margin-bottom: 15px; clear: left; }
.result_altblock { margin-top: 15px; margin-bottom: 15px; clear: left; }
.result_pages { font-size: 100%; }
.result_pagescount { font-size: 100%; }
.searchtime { font-size: 80%; }
.recommended
{
background: #DFFFBF;
border-top: 1px dotted #808080;
border-bottom: 1px dotted #808080;
margin-top: 0px;
margin-bottom: 15px;
}
.recommended_heading { float: right; font-weight: bold; }
.recommend_block { margin-top: 15px; margin-bottom: 15px; clear: left; }
.recommend_title { font-size: 100%; }
.recommend_description { font-size: 100%; color: #008000; }
.recommend_infoline { font-size: 80%; font-style: normal; color: #808080;}
body {
margin-top: 0px;
margin-right: 0px;
margin-left: 0px;
}
</style>
</head>
<body bgcolor="#e0e0e0">
<table valign="bottom" width="100%" height="25" border="0" cellpadding="0" cellspacing="0" bgcolor="#d0d0d0">
<tr valign="bottom" align="left">
<td valign="bottom" colspan="0">
<a href="hmcontent.htm"><img border="0" src="../Common/images/MGtoolsHelp_pageInde_ch_dar.gif" width="61" height="25" alt="Contents" /></a></td>
<td valign="bottom" colspan="0">
<a href="hmkwindex.htm"><img border="0" src="../Common/images/MGtoolsHelp_Index_ch_dar.gif" width="56" height="25" alt="Index" /></a></td>
<td valign="bottom" colspan="0" width="100%" align="left">
<img border="0" src="../Common/images/MGtoolsHelp_search_ch.gif" width="66" height="25" alt="Search" /></td>
</tr>
</table>
<p >&nbsp;</p>
<!-- <p class="navtitle">MG-Picker工作室帮助</p>
<p class="navbar">
<a href="hmcontent.htm">Contents</a>
| <a href="hmkwindex.htm">Index</a>
| <b>Search</b>
</p><hr size="1" /> -->
<p class="submit">&nbsp;&nbsp;Enter keywords to search &nbsp;&nbsp;('*' and '?' wildcards are supported):</p>
<table valign="middle" width="100%" border="0" cellpadding="5" cellspacing="0" bgcolor="#e0e0e0">
<tr valign="middle" align="left">
<td>
<!-- This is where the search form and results will appear -->
<div id="loadingmsg" align="center"><img src="cicon_loadindex_ani.gif" style="border:none" alt="Loading..." /></div>
<script type="text/javascript" src="settings.js" charset="UTF-8"></script>
<script type="text/javascript" src="zoom_search.js"></script>
<script type="text/javascript">ZoomSearch();</script>
<hr size="1" noshade="noshade" /><p style="font-size: 8pt" color="#666666" >&nbsp;© 2025 MGLAND动画工作室</p>
</td>
</tr>
</table>
<noscript>
<p>You must have JavaScript enabled to use this version of the search engine.</p>
</noscript>
</body>
</html>

View File

@@ -0,0 +1,260 @@
<!DOCTYPE html>
<html><head>
<title>MG-Picker工作室帮助</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<!-- This line includes the general project style sheet (not required) -->
<meta http-equiv="Content-Style-Type" content="text/css" />
<link type="text/css" href="default.css" rel="stylesheet" />
<style type="text/css">
.navtitle { font-size: 14pt; font-weight: bold; margin-bottom: 16px; }
.navbar { font-size: 10pt; }
.idxsection { font-family: Arial,Helvetica; font-weight: normal; font-size: 14pt; color: #000000; text-decoration: none;
margin-top: 0px; margin-bottom: 15px; }
.idxkeyword { font-family: Arial,Helvetica; font-weight: normal; font-size: 10pt; color: #000000; text-decoration: none; }
.idxkeyword2 { font-family: Arial,Helvetica; font-weight: normal; font-size: 10pt; color: #000000; text-decoration: none; }
.idxlink { font-family: Arial,Helvetica; font-weight: normal; font-size: 8pt; color: #000000; text-decoration: none; }
TABLE.idxtable { background: #F4F4F4; border-width: 1px; border-color: #000000; border-collapse: collapse;
filter: progid:DXImageTransform.Microsoft.Shadow(color=B0B0B0, Direction=135, Strength=4); }
TD.idxtable { background: #ececec; }
body {
margin-top: 0px;
margin-right: 0px;
margin-left: 0px;
}
</style>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="helpman_settings.js"></script>
<script type="text/javascript" src="hmcontextids.js"></script>
</head>
<body bgcolor="#e0e0e0">
<table valign="bottom" width="100%" height="25" border="0" cellpadding="0" cellspacing="0" bgcolor="#d0d0d0">
<tr valign="bottom" align="left">
<td valign="bottom" colspan="0">
<a href="hmcontent.htm"><img border="0" src="../Common/images/MGtoolsHelp_pageInde_ch_dar.gif" width="61" height="25" alt="Contents" /></a></td>
<td valign="bottom" colspan="0">
<img border="0" src="../Common/images/MGtoolsHelp_Index_ch.gif" width="56" height="25" alt="Index" /></td>
<td valign="bottom" colspan="0" width="100%" align="left">
<a href="hmftsearch.htm"><img border="0" src="../Common/images/MGtoolsHelp_search_ch_dar.gif" width="66" height="25" alt="Search" /></a></td>
</tr>
</table>
<p >&nbsp;</p>
<!-- <p class="navtitle">MG-Picker工作室帮助</p>
<p class="navbar">
<a href="hmcontent.htm">Contents </a>
| <b>Index</b>
| <a href="hmftsearch.htm">Search</a>
</p><hr size="1" />
Place holder for the keyword index - this variable is REQUIRED! -->
<table valign="middle" width="100%" border="0" cellpadding="5" cellspacing="0" bgcolor="#e0e0e0">
<tr valign="middle" align="left">
<td>
<!-- Place holder for the TOC - this variable is REQUIRED! -->
<script type="text/javascript">
function hmInitHideLinks(cssCode) {
var styleElement = document.createElement("style");
styleElement.type = "text/css";
if (styleElement.styleSheet) {
styleElement.styleSheet.cssText = cssCode;
}
else {
styleElement.appendChild(document.createTextNode(cssCode));
}
document.getElementsByTagName("head")[0].appendChild(styleElement);
}
hmInitHideLinks("#idx div { display: none }");
var currentdiv = null;
var canhidelinks = true;
function hmshowLinks(divID) {
var thisdiv = document.getElementById(divID);
canhidelinks = true;
hmhideLinks();
if (thisdiv) {
currentdiv = thisdiv;
$(currentdiv).show();
$(currentdiv).mouseover(hmdivMouseOver).mouseout(hmdivMouseOut);
$(document).mouseup(hmhideLinks);
}
}
function hmdivMouseOver() { canhidelinks = false; };
function hmdivMouseOut() { canhidelinks = true; };
function hmhideLinks() {
if (canhidelinks) {
if (currentdiv) {
$(currentdiv).hide();
$(currentdiv).unbind("onmouseover", "onmouseout");
}
currentdiv = null;
$(document).unbind("onmouseup");
}
}
</script>
<div id="idx" style="margin:0;padding:0;border:none">
<a name="1" id="1"></a><p class="idxsection">- 1 -</p>
<p class="idxkeyword" style="margin:0 0 0 0px"><a href="javascript:void(0)" onclick="return hmshowLinks('k1')"><span class="idxkeyword">1-click create pose command button</span></a></p>
<div id="k1" style="position:relative;margin:0 0 0 20px;top:-3px">
<table class="idxtable" style="padding:4px"><tr><td class="idxtable"><table style="border:none;padding0"><tr style="vertical-align:baseline"><td><img src="ciconidx.gif" style="border:none" alt="Icon"></td><td><a href="quickworkflow.htm" target="hmcontent"><span class="idxlink">快速流程</span></a></td></tr><tr style="vertical-align:baseline"><td><img src="ciconidx.gif" style="border:none" alt="Icon"></td><td><a href="quickworkflow_2.htm" target="hmcontent"><span class="idxlink">SVG流程</span></a></td></tr></table></td></tr></table>
</div>
<p class="idxkeyword" style="margin:0 0 0 0px"><a href="javascript:void(0)" onclick="return hmshowLinks('k2')"><span class="idxkeyword">1-click create select-button</span></a></p>
<div id="k2" style="position:relative;margin:0 0 0 20px;top:-3px">
<table class="idxtable" style="padding:4px"><tr><td class="idxtable"><table style="border:none;padding0"><tr style="vertical-align:baseline"><td><img src="ciconidx.gif" style="border:none" alt="Icon"></td><td><a href="quickworkflow.htm" target="hmcontent"><span class="idxlink">快速流程</span></a></td></tr><tr style="vertical-align:baseline"><td><img src="ciconidx.gif" style="border:none" alt="Icon"></td><td><a href="quickworkflow_2.htm" target="hmcontent"><span class="idxlink">SVG流程</span></a></td></tr></table></td></tr></table>
</div>
<p class="idxkeyword" style="margin:0 0 0 0px"><a href="javascript:void(0)" onclick="return hmshowLinks('k3')"><span class="idxkeyword">1-click create slider</span></a></p>
<div id="k3" style="position:relative;margin:0 0 0 20px;top:-3px">
<table class="idxtable" style="padding:4px"><tr><td class="idxtable"><table style="border:none;padding0"><tr style="vertical-align:baseline"><td><img src="ciconidx.gif" style="border:none" alt="Icon"></td><td><a href="quickworkflow.htm" target="hmcontent"><span class="idxlink">快速流程</span></a></td></tr><tr style="vertical-align:baseline"><td><img src="ciconidx.gif" style="border:none" alt="Icon"></td><td><a href="quickworkflow_2.htm" target="hmcontent"><span class="idxlink">SVG流程</span></a></td></tr></table></td></tr></table>
</div>
<p class="idxkeyword" style="margin:0 0 0 0px"><a href="javascript:void(0)" onclick="return hmshowLinks('k4')"><span class="idxkeyword">1-click snapshot</span></a></p>
<div id="k4" style="position:relative;margin:0 0 0 20px;top:-3px">
<table class="idxtable" style="padding:4px"><tr><td class="idxtable"><table style="border:none;padding0"><tr style="vertical-align:baseline"><td><img src="ciconidx.gif" style="border:none" alt="Icon"></td><td><a href="quickworkflow.htm" target="hmcontent"><span class="idxlink">快速流程</span></a></td></tr><tr style="vertical-align:baseline"><td><img src="ciconidx.gif" style="border:none" alt="Icon"></td><td><a href="quickworkflow_2.htm" target="hmcontent"><span class="idxlink">SVG流程</span></a></td></tr></table></td></tr></table>
</div>
<a name="A" id="A"></a><p class="idxsection">- A -</p>
<p class="idxkeyword" style="margin:0 0 0 0px"><a href="tipsforanimator.htm" target="hmcontent"><span class="idxkeyword">animator</span></a></p>
<p class="idxkeyword" style="margin:0 0 0 0px"><a href="animatorinteractivity.htm" target="hmcontent"><span class="idxkeyword">animator interactivity</span></a></p>
<p class="idxkeyword" style="margin:0 0 0 0px"><a href="animator.htm" target="hmcontent"><span class="idxkeyword">animator Mode</span></a></p>
<p class="idxkeyword" style="margin:0 0 0 0px"><a href="javascript:void(0)" onclick="return hmshowLinks('k8')"><span class="idxkeyword">API</span></a></p>
<div id="k8" style="position:relative;margin:0 0 0 20px;top:-3px">
<table class="idxtable" style="padding:4px"><tr><td class="idxtable"><table style="border:none;padding0"><tr style="vertical-align:baseline"><td><img src="ciconidx.gif" style="border:none" alt="Icon"></td><td><a href="mgpicker.htm" target="hmcontent"><span class="idxlink">MGPicker Command</span></a></td></tr><tr style="vertical-align:baseline"><td><img src="ciconidx.gif" style="border:none" alt="Icon"></td><td><a href="mgpickerview.htm" target="hmcontent"><span class="idxlink">MGPickerView Command</span></a></td></tr><tr style="vertical-align:baseline"><td><img src="ciconidx.gif" style="border:none" alt="Icon"></td><td><a href="mgpickeritem.htm" target="hmcontent"><span class="idxlink">MGPickerItem Command</span></a></td></tr><tr style="vertical-align:baseline"><td><img src="ciconidx.gif" style="border:none" alt="Icon"></td><td><a href="mgpickerlink.htm" target="hmcontent"><span class="idxlink">MGPickerLink Command</span></a></td></tr><tr style="vertical-align:baseline"><td><img src="ciconidx.gif" style="border:none" alt="Icon"></td><td><a href="mgpickermenu.htm" target="hmcontent"><span class="idxlink">MGPickerMenu Command</span></a></td></tr><tr style="vertical-align:baseline"><td><img src="ciconidx.gif" style="border:none" alt="Icon"></td><td><a href="mgpickermenuitem.htm" target="hmcontent"><span class="idxlink">MGPickerMenuItem Command</span></a></td></tr><tr style="vertical-align:baseline"><td><img src="ciconidx.gif" style="border:none" alt="Icon"></td><td><a href="mgsvgimport.htm" target="hmcontent"><span class="idxlink">MGSvgImport命令</span></a></td></tr><tr style="vertical-align:baseline"><td><img src="ciconidx.gif" style="border:none" alt="Icon"></td><td><a href="mgpickerservice.htm" target="hmcontent"><span class="idxlink">MGPickerService Command</span></a></td></tr><tr style="vertical-align:baseline"><td><img src="ciconidx.gif" style="border:none" alt="Icon"></td><td><a href="mgpickerlicence.htm" target="hmcontent"><span class="idxlink">MGPickerLicence Command</span></a></td></tr><tr style="vertical-align:baseline"><td><img src="ciconidx.gif" style="border:none" alt="Icon"></td><td><a href="mgimageprocesser.htm" target="hmcontent"><span class="idxlink">MGImageProcesser Command</span></a></td></tr></table></td></tr></table>
</div>
<p class="idxkeyword" style="margin:0 0 0 0px"><a href="javascript:void(0)" onclick="return hmshowLinks('k9')"><span class="idxkeyword">attribute link</span></a></p>
<div id="k9" style="position:relative;margin:0 0 0 20px;top:-3px">
<table class="idxtable" style="padding:4px"><tr><td class="idxtable"><table style="border:none;padding0"><tr style="vertical-align:baseline"><td><img src="ciconidx.gif" style="border:none" alt="Icon"></td><td><a href="links.htm" target="hmcontent"><span class="idxlink">Picker连接</span></a></td></tr><tr style="vertical-align:baseline"><td><img src="ciconidx.gif" style="border:none" alt="Icon"></td><td><a href="relationshipview.htm" target="hmcontent"><span class="idxlink">关系视图</span></a></td></tr><tr style="vertical-align:baseline"><td><img src="ciconidx.gif" style="border:none" alt="Icon"></td><td><a href="outliner.htm" target="hmcontent"><span class="idxlink">大纲视图</span></a></td></tr></table></td></tr></table>
</div>
<p class="idxkeyword" style="margin:0 0 0 0px"><a href="loadpicker.htm" target="hmcontent"><span class="idxkeyword">auto-load pickers</span></a></p>
<a name="B" id="B"></a><p class="idxsection">- B -</p>
<p class="idxkeyword" style="margin:0 0 0 0px"><a href="designer.htm" target="hmcontent"><span class="idxkeyword">basic workflow</span></a></p>
<a name="C" id="C"></a><p class="idxsection">- C -</p>
<p class="idxkeyword" style="margin:0 0 0 0px"><a href="codesnippets.htm" target="hmcontent"><span class="idxkeyword">code snippets</span></a></p>
<p class="idxkeyword" style="margin:0 0 0 0px"><a href="javascript:void(0)" onclick="return hmshowLinks('k13')"><span class="idxkeyword">coding</span></a></p>
<div id="k13" style="position:relative;margin:0 0 0 20px;top:-3px">
<table class="idxtable" style="padding:4px"><tr><td class="idxtable"><table style="border:none;padding0"><tr style="vertical-align:baseline"><td><img src="ciconidx.gif" style="border:none" alt="Icon"></td><td><a href="programmer.htm" target="hmcontent"><span class="idxlink">程序员帮助</span></a></td></tr><tr style="vertical-align:baseline"><td><img src="ciconidx.gif" style="border:none" alt="Icon"></td><td><a href="tipsforprogrammer.htm" target="hmcontent"><span class="idxlink">小提示</span></a></td></tr></table></td></tr></table>
</div>
<p class="idxkeyword" style="margin:0 0 0 0px"><a href="commandbuttonpresets.htm" target="hmcontent"><span class="idxkeyword">command button presets</span></a></p>
<p class="idxkeyword" style="margin:0 0 0 0px"><a href="standalone.htm" target="hmcontent"><span class="idxkeyword">command line</span></a></p>
<p class="idxkeyword" style="margin:0 0 0 0px"><a href="commandbuttonpresets.htm" target="hmcontent"><span class="idxkeyword">command-button</span></a></p>
<p class="idxkeyword" style="margin:0 0 0 0px"><a href="user_configuration.htm" target="hmcontent"><span class="idxkeyword">Configuration</span></a></p>
<p class="idxkeyword" style="margin:0 0 0 0px"><a href="converters.htm" target="hmcontent"><span class="idxkeyword">converters</span></a></p>
<a name="D" id="D"></a><p class="idxsection">- D -</p>
<p class="idxkeyword" style="margin:0 0 0 0px"><a href="designer.htm" target="hmcontent"><span class="idxkeyword">designer mode</span></a></p>
<p class="idxkeyword" style="margin:0 0 0 0px"><a href="javascript:void(0)" onclick="return hmshowLinks('k20')"><span class="idxkeyword">Distribute Picker</span></a></p>
<div id="k20" style="position:relative;margin:0 0 0 20px;top:-3px">
<table class="idxtable" style="padding:4px"><tr><td class="idxtable"><table style="border:none;padding0"><tr style="vertical-align:baseline"><td><img src="ciconidx.gif" style="border:none" alt="Icon"></td><td><a href="distributeinpipeline.htm" target="hmcontent"><span class="idxlink">在线上分发Picker</span></a></td></tr><tr style="vertical-align:baseline"><td><img src="ciconidx.gif" style="border:none" alt="Icon"></td><td><a href="pickertoolintergration.htm" target="hmcontent"><span class="idxlink">整合Picker工具</span></a></td></tr><tr style="vertical-align:baseline"><td><img src="ciconidx.gif" style="border:none" alt="Icon"></td><td><a href="customeloaderandlister.htm" target="hmcontent"><span class="idxlink">Loader和Lister</span></a></td></tr></table></td></tr></table>
</div>
<p class="idxkeyword" style="margin:0 0 0 0px"><a href="javascript:void(0)" onclick="return hmshowLinks('k21')"><span class="idxkeyword">download pickers</span></a></p>
<div id="k21" style="position:relative;margin:0 0 0 20px;top:-3px">
<table class="idxtable" style="padding:4px"><tr><td class="idxtable"><table style="border:none;padding0"><tr style="vertical-align:baseline"><td><img src="ciconidx.gif" style="border:none" alt="Icon"></td><td><a href="more_resource_2.htm" target="hmcontent"><span class="idxlink">More Resources_2</span></a></td></tr><tr style="vertical-align:baseline"><td><img src="ciconidx.gif" style="border:none" alt="Icon"></td><td><a href="more_resource.htm" target="hmcontent"><span class="idxlink">更多资源</span></a></td></tr></table></td></tr></table>
</div>
<a name="E" id="E"></a><p class="idxsection">- E -</p>
<p class="idxkeyword" style="margin:0 0 0 0px"><a href="javascript:void(0)" onclick="return hmshowLinks('k22')"><span class="idxkeyword">editing</span></a></p>
<div id="k22" style="position:relative;margin:0 0 0 20px;top:-3px">
<table class="idxtable" style="padding:4px"><tr><td class="idxtable"><table style="border:none;padding0"><tr style="vertical-align:baseline"><td><img src="ciconidx.gif" style="border:none" alt="Icon"></td><td><a href="editing.htm" target="hmcontent"><span class="idxlink">编辑</span></a></td></tr><tr style="vertical-align:baseline"><td><img src="ciconidx.gif" style="border:none" alt="Icon"></td><td><a href="editing_2.htm" target="hmcontent"><span class="idxlink">样式库</span></a></td></tr></table></td></tr></table>
</div>
<p class="idxkeyword" style="margin:0 0 0 0px"><a href="user_configuration.htm" target="hmcontent"><span class="idxkeyword">Environment Variable</span></a></p>
<a name="H" id="H"></a><p class="idxsection">- H -</p>
<p class="idxkeyword" style="margin:0 0 0 0px"><a href="javascript:void(0)" onclick="return hmshowLinks('k24')"><span class="idxkeyword">hotkeys</span></a></p>
<div id="k24" style="position:relative;margin:0 0 0 20px;top:-3px">
<table class="idxtable" style="padding:4px"><tr><td class="idxtable"><table style="border:none;padding0"><tr style="vertical-align:baseline"><td><img src="ciconidx.gif" style="border:none" alt="Icon"></td><td><a href="hotkeys_anim.htm" target="hmcontent"><span class="idxlink">快捷键</span></a></td></tr><tr style="vertical-align:baseline"><td><img src="ciconidx.gif" style="border:none" alt="Icon"></td><td><a href="hotkeys_designer.htm" target="hmcontent"><span class="idxlink">快捷键</span></a></td></tr></table></td></tr></table>
</div>
<a name="I" id="I"></a><p class="idxsection">- I -</p>
<p class="idxkeyword" style="margin:0 0 0 0px"><a href="mgimageprocesser.htm" target="hmcontent"><span class="idxkeyword">ImageProcesser</span></a></p>
<p class="idxkeyword" style="margin:0 0 0 0px"><a href="install.htm" target="hmcontent"><span class="idxkeyword">install</span></a></p>
<p class="idxkeyword" style="margin:0 0 0 0px"><a href="itemtypes.htm" target="hmcontent"><span class="idxkeyword">item types</span></a></p>
<a name="L" id="L"></a><p class="idxsection">- L -</p>
<p class="idxkeyword" style="margin:0 0 0 0px"><a href="javascript:void(0)" onclick="return hmshowLinks('k28')"><span class="idxkeyword">links</span></a></p>
<div id="k28" style="position:relative;margin:0 0 0 20px;top:-3px">
<table class="idxtable" style="padding:4px"><tr><td class="idxtable"><table style="border:none;padding0"><tr style="vertical-align:baseline"><td><img src="ciconidx.gif" style="border:none" alt="Icon"></td><td><a href="links.htm" target="hmcontent"><span class="idxlink">Picker连接</span></a></td></tr><tr style="vertical-align:baseline"><td><img src="ciconidx.gif" style="border:none" alt="Icon"></td><td><a href="relationshipview.htm" target="hmcontent"><span class="idxlink">关系视图</span></a></td></tr><tr style="vertical-align:baseline"><td><img src="ciconidx.gif" style="border:none" alt="Icon"></td><td><a href="outliner.htm" target="hmcontent"><span class="idxlink">大纲视图</span></a></td></tr></table></td></tr></table>
</div>
<p class="idxkeyword" style="margin:0 0 0 0px"><a href="loadpicker.htm" target="hmcontent"><span class="idxkeyword">loading pickers</span></a></p>
<a name="M" id="M"></a><p class="idxsection">- M -</p>
<p class="idxkeyword" style="margin:0 0 0 0px"><a href="welcome.htm" target="hmcontent"><span class="idxkeyword">Maya requirement</span></a></p>
<p class="idxkeyword" style="margin:0 0 0 0px"><a href="javascript:void(0)" onclick="return hmshowLinks('k31')"><span class="idxkeyword">menu</span></a></p>
<div id="k31" style="position:relative;margin:0 0 0 20px;top:-3px">
<table class="idxtable" style="padding:4px"><tr><td class="idxtable"><table style="border:none;padding0"><tr style="vertical-align:baseline"><td><img src="ciconidx.gif" style="border:none" alt="Icon"></td><td><a href="pickermenu.htm" target="hmcontent"><span class="idxlink">Picker菜单</span></a></td></tr><tr style="vertical-align:baseline"><td><img src="ciconidx.gif" style="border:none" alt="Icon"></td><td><a href="mgpickermenu.htm" target="hmcontent"><span class="idxlink">MGPickerMenu Command</span></a></td></tr><tr style="vertical-align:baseline"><td><img src="ciconidx.gif" style="border:none" alt="Icon"></td><td><a href="mgpickermenuitem.htm" target="hmcontent"><span class="idxlink">MGPickerMenuItem Command</span></a></td></tr></table></td></tr></table>
</div>
<p class="idxkeyword" style="margin:0 0 0 0px"><a href="pickermenu.htm" target="hmcontent"><span class="idxkeyword">menu design</span></a></p>
<p class="idxkeyword" style="margin:0 0 0 0px"><a href="mgpickermenuitem.htm" target="hmcontent"><span class="idxkeyword">menuItem</span></a></p>
<p class="idxkeyword" style="margin:0 0 0 0px"><a href="mgimageprocesser.htm" target="hmcontent"><span class="idxkeyword">MGImageProcessercommand</span></a></p>
<p class="idxkeyword" style="margin:0 0 0 0px"><a href="mgpicker.htm" target="hmcontent"><span class="idxkeyword">MGPicker command</span></a></p>
<p class="idxkeyword" style="margin:0 0 0 0px"><a href="mgpickeritem.htm" target="hmcontent"><span class="idxkeyword">MGPickerItem command</span></a></p>
<p class="idxkeyword" style="margin:0 0 0 0px"><a href="mgpickerlicence.htm" target="hmcontent"><span class="idxkeyword">MGPickerLicence command</span></a></p>
<p class="idxkeyword" style="margin:0 0 0 0px"><a href="mgpickerlink.htm" target="hmcontent"><span class="idxkeyword">MGPickerLink command</span></a></p>
<p class="idxkeyword" style="margin:0 0 0 0px"><a href="mgpickermenu.htm" target="hmcontent"><span class="idxkeyword">MGPickerMenu command</span></a></p>
<p class="idxkeyword" style="margin:0 0 0 0px"><a href="mgpickermenuitem.htm" target="hmcontent"><span class="idxkeyword">MGPickerMenuItem &nbsp;command</span></a></p>
<p class="idxkeyword" style="margin:0 0 0 0px"><a href="mgpickerservice.htm" target="hmcontent"><span class="idxkeyword">MGPickerService command</span></a></p>
<p class="idxkeyword" style="margin:0 0 0 0px"><a href="welcome.htm" target="hmcontent"><span class="idxkeyword">MG-PickerStudio</span></a></p>
<p class="idxkeyword" style="margin:0 0 0 0px"><a href="mgpickerview.htm" target="hmcontent"><span class="idxkeyword">MGPickerView command</span></a></p>
<p class="idxkeyword" style="margin:0 0 0 0px"><a href="mgselecthelper.htm" target="hmcontent"><span class="idxkeyword">MG-select helper</span></a></p>
<p class="idxkeyword" style="margin:0 0 0 0px"><a href="mgsvgimport.htm" target="hmcontent"><span class="idxkeyword">MGSvgImport</span></a></p>
<p class="idxkeyword" style="margin:0 0 0 0px"><a href="welcome.htm" target="hmcontent"><span class="idxkeyword">Miguel</span></a></p>
<a name="N" id="N"></a><p class="idxsection">- N -</p>
<p class="idxkeyword" style="margin:0 0 0 0px"><a href="setnamespace.htm" target="hmcontent"><span class="idxkeyword">namespace</span></a></p>
<a name="O" id="O"></a><p class="idxsection">- O -</p>
<p class="idxkeyword" style="margin:0 0 0 0px"><a href="welcome.htm" target="hmcontent"><span class="idxkeyword">OS requirement</span></a></p>
<a name="P" id="P"></a><p class="idxsection">- P -</p>
<p class="idxkeyword" style="margin:0 0 0 0px"><a href="javascript:void(0)" onclick="return hmshowLinks('k49')"><span class="idxkeyword">parent link</span></a></p>
<div id="k49" style="position:relative;margin:0 0 0 20px;top:-3px">
<table class="idxtable" style="padding:4px"><tr><td class="idxtable"><table style="border:none;padding0"><tr style="vertical-align:baseline"><td><img src="ciconidx.gif" style="border:none" alt="Icon"></td><td><a href="links.htm" target="hmcontent"><span class="idxlink">Picker连接</span></a></td></tr><tr style="vertical-align:baseline"><td><img src="ciconidx.gif" style="border:none" alt="Icon"></td><td><a href="relationshipview.htm" target="hmcontent"><span class="idxlink">关系视图</span></a></td></tr><tr style="vertical-align:baseline"><td><img src="ciconidx.gif" style="border:none" alt="Icon"></td><td><a href="outliner.htm" target="hmcontent"><span class="idxlink">大纲视图</span></a></td></tr></table></td></tr></table>
</div>
<p class="idxkeyword" style="margin:0 0 0 0px"><a href="converters.htm" target="hmcontent"><span class="idxkeyword">picker converters</span></a></p>
<p class="idxkeyword" style="margin:0 0 0 0px"><a href="designprinciple.htm" target="hmcontent"><span class="idxkeyword">picker design principle</span></a></p>
<p class="idxkeyword" style="margin:0 0 0 0px"><a href="loadpicker.htm" target="hmcontent"><span class="idxkeyword">picker searching paths</span></a></p>
<p class="idxkeyword" style="margin:0 0 0 0px"><a href="itemshapes.htm" target="hmcontent"><span class="idxkeyword">picker shapes</span></a></p>
<p class="idxkeyword" style="margin:0 0 0 0px"><a href="itemtypes.htm" target="hmcontent"><span class="idxkeyword">picker types</span></a></p>
<p class="idxkeyword" style="margin:0 0 0 0px"><a href="viewportmanipulation.htm" target="hmcontent"><span class="idxkeyword">picker view manipulation</span></a></p>
<p class="idxkeyword" style="margin:0 0 0 0px"><a href="javascript:void(0)" onclick="return hmshowLinks('k56')"><span class="idxkeyword">pipeline</span></a></p>
<div id="k56" style="position:relative;margin:0 0 0 20px;top:-3px">
<table class="idxtable" style="padding:4px"><tr><td class="idxtable"><table style="border:none;padding0"><tr style="vertical-align:baseline"><td><img src="ciconidx.gif" style="border:none" alt="Icon"></td><td><a href="distributeinpipeline.htm" target="hmcontent"><span class="idxlink">在线上分发Picker</span></a></td></tr><tr style="vertical-align:baseline"><td><img src="ciconidx.gif" style="border:none" alt="Icon"></td><td><a href="pickertoolintergration.htm" target="hmcontent"><span class="idxlink">整合Picker工具</span></a></td></tr></table></td></tr></table>
</div>
<p class="idxkeyword" style="margin:0 0 0 0px"><a href="javascript:void(0)" onclick="return hmshowLinks('k57')"><span class="idxkeyword">programming</span></a></p>
<div id="k57" style="position:relative;margin:0 0 0 20px;top:-3px">
<table class="idxtable" style="padding:4px"><tr><td class="idxtable"><table style="border:none;padding0"><tr style="vertical-align:baseline"><td><img src="ciconidx.gif" style="border:none" alt="Icon"></td><td><a href="programmer.htm" target="hmcontent"><span class="idxlink">程序员帮助</span></a></td></tr><tr style="vertical-align:baseline"><td><img src="ciconidx.gif" style="border:none" alt="Icon"></td><td><a href="codesnippets.htm" target="hmcontent"><span class="idxlink">代码片段</span></a></td></tr><tr style="vertical-align:baseline"><td><img src="ciconidx.gif" style="border:none" alt="Icon"></td><td><a href="tipsforprogrammer.htm" target="hmcontent"><span class="idxlink">小提示</span></a></td></tr></table></td></tr></table>
</div>
<p class="idxkeyword" style="margin:0 0 0 0px"><a href="publishinternet.htm" target="hmcontent"><span class="idxkeyword">publish asset</span></a></p>
<p class="idxkeyword" style="margin:0 0 0 0px"><a href="publishinternet.htm" target="hmcontent"><span class="idxkeyword">publish picker</span></a></p>
<p class="idxkeyword" style="margin:0 0 0 0px"><a href="publishinternet.htm" target="hmcontent"><span class="idxkeyword">publish to internet</span></a></p>
<a name="Q" id="Q"></a><p class="idxsection">- Q -</p>
<p class="idxkeyword" style="margin:0 0 0 0px"><a href="javascript:void(0)" onclick="return hmshowLinks('k61')"><span class="idxkeyword">quick design workflow</span></a></p>
<div id="k61" style="position:relative;margin:0 0 0 20px;top:-3px">
<table class="idxtable" style="padding:4px"><tr><td class="idxtable"><table style="border:none;padding0"><tr style="vertical-align:baseline"><td><img src="ciconidx.gif" style="border:none" alt="Icon"></td><td><a href="quickworkflow.htm" target="hmcontent"><span class="idxlink">快速流程</span></a></td></tr><tr style="vertical-align:baseline"><td><img src="ciconidx.gif" style="border:none" alt="Icon"></td><td><a href="quickworkflow_2.htm" target="hmcontent"><span class="idxlink">SVG流程</span></a></td></tr></table></td></tr></table>
</div>
<a name="R" id="R"></a><p class="idxsection">- R -</p>
<p class="idxkeyword" style="margin:0 0 0 0px"><a href="publishinternet.htm" target="hmcontent"><span class="idxkeyword">republish MG-Picker Studio</span></a></p>
<a name="S" id="S"></a><p class="idxsection">- S -</p>
<p class="idxkeyword" style="margin:0 0 0 0px"><a href="user_configuration.htm" target="hmcontent"><span class="idxkeyword">Server Configuration</span></a></p>
<p class="idxkeyword" style="margin:0 0 0 0px"><a href="simpleediting.htm" target="hmcontent"><span class="idxkeyword">simple editing</span></a></p>
<p class="idxkeyword" style="margin:0 0 0 0px"><a href="standalone.htm" target="hmcontent"><span class="idxkeyword">standalone</span></a></p>
<p class="idxkeyword" style="margin:0 0 0 0px"><a href="mgsvgimport.htm" target="hmcontent"><span class="idxkeyword">SVG</span></a></p>
<a name="T" id="T"></a><p class="idxsection">- T -</p>
<p class="idxkeyword" style="margin:0 0 0 0px"><a href="tipsforanimator.htm" target="hmcontent"><span class="idxkeyword">tips</span></a></p>
<p class="idxkeyword" style="margin:0 0 0 0px"><a href="tipsforanimator.htm" target="hmcontent"><span class="idxkeyword">tips for animator</span></a></p>
<p class="idxkeyword" style="margin:0 0 0 0px"><a href="tipsfordesigner.htm" target="hmcontent"><span class="idxkeyword">tips for designer</span></a></p>
<p class="idxkeyword" style="margin:0 0 0 0px"><a href="tipsforprogrammer.htm" target="hmcontent"><span class="idxkeyword">tips for programmer</span></a></p>
<p class="idxkeyword" style="margin:0 0 0 0px"><a href="javascript:void(0)" onclick="return hmshowLinks('k71')"><span class="idxkeyword">tutorials</span></a></p>
<div id="k71" style="position:relative;margin:0 0 0 20px;top:-3px">
<table class="idxtable" style="padding:4px"><tr><td class="idxtable"><table style="border:none;padding0"><tr style="vertical-align:baseline"><td><img src="ciconidx.gif" style="border:none" alt="Icon"></td><td><a href="more_resource_2.htm" target="hmcontent"><span class="idxlink">More Resources_2</span></a></td></tr><tr style="vertical-align:baseline"><td><img src="ciconidx.gif" style="border:none" alt="Icon"></td><td><a href="more_resource.htm" target="hmcontent"><span class="idxlink">更多资源</span></a></td></tr></table></td></tr></table>
</div>
<a name="U" id="U"></a><p class="idxsection">- U -</p>
<p class="idxkeyword" style="margin:0 0 0 0px"><a href="animator.htm" target="hmcontent"><span class="idxkeyword">UI</span></a></p>
<p class="idxkeyword" style="margin:0 0 0 0px"><a href="user_configuration.htm" target="hmcontent"><span class="idxkeyword">User Configuration</span></a></p>
<a name="V" id="V"></a><p class="idxsection">- V -</p>
<p class="idxkeyword" style="margin:0 0 0 0px"><a href="javascript:void(0)" onclick="return hmshowLinks('k74')"><span class="idxkeyword">video tutorials</span></a></p>
<div id="k74" style="position:relative;margin:0 0 0 20px;top:-3px">
<table class="idxtable" style="padding:4px"><tr><td class="idxtable"><table style="border:none;padding0"><tr style="vertical-align:baseline"><td><img src="ciconidx.gif" style="border:none" alt="Icon"></td><td><a href="more_resource_2.htm" target="hmcontent"><span class="idxlink">More Resources_2</span></a></td></tr><tr style="vertical-align:baseline"><td><img src="ciconidx.gif" style="border:none" alt="Icon"></td><td><a href="more_resource.htm" target="hmcontent"><span class="idxlink">更多资源</span></a></td></tr></table></td></tr></table>
</div>
</div>
<hr size="1" noshade="noshade" /><p style="font-size: 8pt" color="#666666" >&nbsp;© 2025 MGLAND动画工作室</p>
</td>
</tr>
</table>
</body>
</html>

View File

@@ -0,0 +1,77 @@
<!DOCTYPE html>
<html>
<head>
<title>快捷键</title>
<meta name="generator" content="Help &amp; Manual" />
<meta name="keywords" content="hotkeys" />
<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", "hotkeys_anim.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>&nbsp;
<a href="mgselecthelper.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></a>
<a href="tipsforanimator.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_Normal" style="font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';display:inline-block;width:13px;margin-left:-13px">&#9642;</span><span style="font-weight: bold;">要在动画师模式下使用picker快捷键:</span></p><p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><img alt="lightbulb" width="16" height="16" style="margin:0;width:16px;height:16px;border:none" src="lightbulb.png"/><span style="font-size: 9pt;"> MG-Picker工作室 v2在动画师模式下的picker快捷键被进一步缩减至最少。</span><br />
<span style="font-size: 9pt;">大部分情况下快捷键将作用于Maya即你用的是Maya快捷键</span><br />
<span style="font-size: 9pt;">如果想使用picker的快捷键你必须确保当前激活的是picker窗口然后同时鼠标在picker窗口范围内。</span><br />
<span style="font-size: 9pt;">所以流程是中键激活picker窗口然后鼠标不要移出然后用快捷键。</span><br />
<span style="font-size: 9pt;">对于设计师模式只要picker窗口是激活的则你用的都是picker快捷键。</span><br />
<span style="font-size: 9pt;">&nbsp;</span></p>
<p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 13px; margin-left: 0;"><span class="f_Normal" style="font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';display:inline-block;width:13px;margin-left:-13px">&#9642;</span><span style="font-weight: bold;">动画师模式下快捷键概览:</span></p><p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;">空格键: 在简单视图及多重视图间切换</p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;">Tab/BackTab: 在不同picker文件间切换.</p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;">Ctrl+Alt+Shift+S: 激活命名空间输入框.</p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;">Ctrl+F / Escape: 打开属性或节点搜索界面.</p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;">Ctrl+W: 关闭当前Picker.</p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;">Ctrl+Shift+W: 关闭所有Picker.</p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;">Ctrl+N: 新建临时Picker.</p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;">Ctrl+O: 打开Picker文件拾取框.</p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;">F8: 在动画师模式及设计师模式间切换.</p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;">F5: 刷新picker.</p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;">F1: 打开帮助文档.</p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;">Ctrl+K: 打开配置窗口.</p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;">在简单编辑模式下,更多的快捷键可用,比如 Ctrl+C, Ctrl+V, Ctrl+A, 等等.</p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;">在设计师模式下只要当前激活的是Picker窗口你使用的就是Picker快捷键你无法访问Maya的快捷键。</p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;">&nbsp;</p>
<p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 13px; margin-left: 0;"><span class="f_Normal" style="font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';display:inline-block;width:13px;margin-left:-13px">&#9642;</span><span style="font-weight: bold;">要查看在动画师模式下都有哪些快捷键可用?</span></p><p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;">点击右上角的<img alt="moreFeaturesBtn" width="20" height="20" style="margin:0;width:20px;height:20px;border:none" src="morefeaturesbtn.gif"/>按钮,选择“快捷键总览”。</p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;">这个功能实际上基于一个picker文件</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="mgselecthelper.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></a>
<a href="tipsforanimator.htm"><img border="0" src="../common/images/MGtoolsHelp_next.gif" width="34" height="22" alt="Next" /></a></td>
</tr>
</table>
</body>
</html>

View File

@@ -0,0 +1,58 @@
<!DOCTYPE html>
<html>
<head>
<title>快捷键</title>
<meta name="generator" content="Help &amp; Manual" />
<meta name="keywords" content="hotkeys" />
<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", "hotkeys_designer.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>&nbsp;
<a href="publishinternet.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></a>
<a href="standalone.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_Normal" style="font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';display:inline-block;width:13px;margin-left:-13px">&#9642;</span><span style="font-weight: bold;">要在设计师模式下使用picker快捷键:</span></p><p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><img alt="lightbulb" width="16" height="16" style="margin:0;width:16px;height:16px;border:none" src="lightbulb.png"/><span style="font-size: 9pt;"> 只要当前激活的是picker窗口在设计师模式下你用的都是picker快捷键。</span><br />
<span style="font-size: 9pt;">&nbsp;</span></p>
<p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 13px; margin-left: 0;"><span class="f_Normal" style="font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';display:inline-block;width:13px;margin-left:-13px">&#9642;</span><span style="font-weight: bold;">要查看在设计师模式下都有哪些快捷键可用?</span></p><p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;">点击“帮助”菜单,选择“快捷键总览”。</p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;">这个功能实际上基于一个picker文件</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="publishinternet.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></a>
<a href="standalone.htm"><img border="0" src="../common/images/MGtoolsHelp_next.gif" width="34" height="22" alt="Next" /></a></td>
</tr>
</table>
</body>
</html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 894 B

View File

@@ -0,0 +1,40 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<title>MG-Picker工作室帮助</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="helpman_settings.js"></script>
<script type="text/javascript" src="helpman_navigation.js"></script>
<script type="text/javascript">
<!--
var defaulttopic="welcome.htm";
if (location.href.lastIndexOf("?") > 0) defaulttopic=location.href.substring(location.href.lastIndexOf("?")+1,location.href.length).replace(/:/g,"");
document.write('<frameset rows="110,*" frameborder="0" framespacing="0">');
document.write('<frame name="hmheader" marginwidth="0" marginheight="0" scrolling="No" noresize src="../Common/header_SimplifiedChinese.html" title="Header">');
document.write('<frameset cols="183,*" frameborder="0" framespacing="0">');
if (document.getElementById) {
document.write('<frame name="hmnavigation" src="hmcontent.htm" title="Navigation frame">'); }
else {
document.write('<frame name="hmnavigation" src="hmcontent.htm" title="Navigation frame">'); }
document.write('<frame name="hmcontent" src="' + defaulttopic + '" title="Content frame">');
document.write('</frameset>');
document.write('</frameset>');
//-->
</script>
</head>
<noscript>
<frameset rows="100%,*" frameborder="0" framespacing="0">
<frame name="hmheader" frameborder="0" marginwidth="0" marginheight="0" scrolling="No" noresize src="../Common/header_SimplifiedChinese.html" title="Header">
<frameset cols="20%,*" frameborder="0" framespacing="5">
<frame name="hmnavigation" src="hmcontent.htm" title="Navigation frame">
<frame name="hmcontent" frameborder="1" src="welcome.htm" title="Content frame">
<noframes>
This page requires frames<br><a href="hmcontent.htm">Click here to view the table of contents without frames</a>
</noframes>
</frameset>
</frameset>
</noscript>
</html>

View File

@@ -0,0 +1,69 @@
<!DOCTYPE html>
<html>
<head>
<title>安装MG-Picker工作室</title>
<meta name="generator" content="Help &amp; Manual" />
<meta name="keywords" content="install" />
<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", "install.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>&nbsp;
<a href="welcome.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></a>
<a href="animator.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_Normal" style="font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';display:inline-block;width:13px;margin-left:-13px">&#9642;</span><span class="f_ImageCaption"> </span><span style="font-weight: bold;">第一次安装MG-Picker工作室 </span></p><p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 24px; margin: 0 0 0 24px;"><span class="f_Normal" style="font-size:9pt;display:inline-block;width:24px;margin-left:-24px">1.</span><span style="font-size: 9pt;">访问 <a href="https://www.helpandmanual.com/order.html" class="weblink">http://twincodes.com</a><a href="http://mgland.com" target="_blank" class="weblink">http://mgland.com</a> 下载最新的MG-Picker工作室程序并解压到您的本地硬盘。</span></p><p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 24px; margin: 0 0 0 24px;"><span class="f_Normal" style="font-size:9pt;display:inline-block;width:24px;margin-left:-24px">2.</span><span style="font-size: 9pt;">不要变更里面的任何文件/文件夹,用鼠标左键拖拽&quot;MGPicker_installer.mel&quot;到运行中的Maya的3D视图并松开。</span></p><p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 24px; margin: 0 0 0 24px;"><span class="f_Normal" style="font-size:9pt;display:inline-block;width:24px;margin-left:-24px">3.</span><span style="font-size: 9pt;">根据安装向导安装基本上只有一步步点下一步即可。在界面语言那一步切换到SimplifiedChinese以便使用中文界面。</span></p><p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 24px; margin: 0 0 0 24px;"><span class="f_Normal" style="font-size:9pt;display:inline-block;width:24px;margin-left:-24px">4.</span><span style="font-size: 9pt;">安装模式如果选&quot;拷贝到Maya的用户脚本目录再调用&quot;则所有的程序将被安装到当前Maya的脚本文件夹/MG-PickerStudio文件夹。</span><br />
<span style="font-size: 9pt;">如果是选&quot;不拷贝,直接原地调用程序&quot;,则只会生成指向安装程序的工具架按钮,而不做任何拷贝的动作。</span><br />
<span style="font-size: 9pt;">选用第二种模式比较方便,因为程序有更新时只要下载并覆盖那个统一目录就好。不过请确保这个程序目录不包含中文路径。</span></p><p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 24px; margin: 0 0 0 24px;"><span class="f_Normal" style="font-size:9pt;display:inline-block;width:24px;margin-left:-24px">5.</span><span style="font-size: 9pt;">在Maya的用户程序文件夹下面MG_PickerData文件夹被创建以便将来存储用户的本地picker数据这些数据将被本地的所有Maya版本所共用。</span></p><p class="p_Normal" style="text-indent: -24px; line-height: 1.80; margin: 0 0 0 48px;">&nbsp;</p>
<p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 13px; margin-left: 0;"><span class="f_Normal" style="font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';display:inline-block;width:13px;margin-left:-13px">&#9642;</span><span class="f_ImageCaption"> </span><span style="font-weight: bold;">安装MG-Picker工作室到其它Maya版本</span></p><p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 20px; margin: 0 0 0 24px;"><span class="f_Normal" style="font-size:9pt;display:inline-block;width:20px;margin-left:-20px">1.</span><span style="font-size: 9pt;">找到已安装MG-Picker工作室的Maya版本所对应的用户脚本文件夹。</span></p><p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 20px; margin: 0 0 0 24px;"><span class="f_Normal" style="font-size:9pt;display:inline-block;width:20px;margin-left:-20px">2.</span><span style="font-size: 9pt;">找到其下的MG-PickerStudio/MGPicker_Program/Installer/MGPicker_installer.mel这个安装MEL。</span></p><p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 44px; margin-left: 0;"><span class="f_Normal" style="font-size:9pt;display:inline-block;width:20px;margin-left:-20px">3.</span><span style="font-size: 9pt;">用鼠标左键拖拽&quot;MGPicker_installer.mel&quot;到运行中的其中要安装到的Maya版本的3D视图并松开。</span></p><p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 44px; margin-left: 0;"><span class="f_Normal" style="font-size:9pt;display:inline-block;width:20px;margin-left:-20px">4.</span><span style="font-size: 9pt;">据安装向导安装基本上只有一步步点下一步即可。在界面语言那一步切换到SimplifiedChinese以便使用中文界面。</span></p><p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 44px; margin-left: 0;"><span class="f_Normal" style="font-size:9pt;display:inline-block;width:20px;margin-left:-20px">5.</span><span style="font-size: 9pt;">安装模式如果选&quot;拷贝到Maya的用户脚本目录再调用&quot;则所有的程序将被安装到当前Maya的脚本文件夹/MG-PickerStudio文件夹。</span><br />
<span style="font-size: 9pt;">如果是选&quot;不拷贝,直接原地调用程序&quot;,则只会生成指向安装程序的工具架按钮,而不做任何拷贝的动作。</span><br />
<span style="font-size: 9pt;">选用第二种模式比较方便,因为程序有更新时只要下载并覆盖那个统一目录就好。不过请确保这个程序目录不包含中文路径。</span><br />
<span style="font-size: 9pt;">&nbsp;</span></p><p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 13px; margin-left: 0;"><span class="f_Normal" style="font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';display:inline-block;width:13px;margin-left:-13px">&#9642;</span><span style="font-weight: bold;"> 卸载MG-Picker工作室</span></p><p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span style="font-size: 9pt;">必须切到设计师模式下,找到杂项菜单,并选择&quot;卸载MG-Picker工作室..&quot;,这样将弹出卸载窗口,选择要卸载的选项,直接点&quot;卸载 !!&quot;按钮即可卸载。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span style="font-size: 9pt;">注意,如果之前的安装模式是选的&quot;不拷贝,直接原地调用程序&quot;则作为程序源的目录不会被卸载因为有可能其它Maya还需要</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span style="font-size: 9pt;">如果你要卸载这模式的MG-Picker工作室则先用卸载程序卸载清除掉那些工具架按钮自动加载机制等然后再手动删除那个程序源目录。</span></p>
<p class="p_Normal" style="line-height: 1.80;">&nbsp;</p>
<p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 13px; margin-left: 0;"><span class="f_Normal" style="font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';display:inline-block;width:13px;margin-left:-13px">&#9642;</span><span style="font-weight: bold;"> 整合MG-Picker工作室</span></p><p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span style="font-size: 9pt;">有一些<a href="pickertoolintergration.htm" class="topiclink">环境变量</a>可以设置来帮助MG-Picker工作室的一些设置及版本控制。</span></p>
<p class="p_Normal" style="line-height: 1.80;">&nbsp;</p>
<p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 13px; margin-left: 0;"><span class="f_Normal" style="font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';display:inline-block;width:13px;margin-left:-13px">&#9642;</span><span style="font-weight: bold;"> 以独立程序方式运行MG-Picker工作室</span></p><p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span style="font-size: 9pt;">独立模式并不需要安装,直接下载并运行里面的可执行文件就好。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;">&nbsp;</p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;">&nbsp;</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="welcome.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></a>
<a href="animator.htm"><img border="0" src="../common/images/MGtoolsHelp_next.gif" width="34" height="22" alt="Next" /></a></td>
</tr>
</table>
</body>
</html>

View File

@@ -0,0 +1,64 @@
<!DOCTYPE html>
<html>
<head>
<title>Picker形状</title>
<meta name="generator" content="Help &amp; Manual" />
<meta name="keywords" content="picker shapes" />
<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", "itemshapes.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>&nbsp;
<a href="itemtypes.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></a>
<a href="links.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">&#9642;</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;">一个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;">这些形状负责绘制这个picker对象的外观目前形状有下面多种类型以便您可以让您的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;">一个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><img alt="lightbulb" width="16" height="16" style="margin:0;width:16px;height:16px;border:none" src="lightbulb.png"/><span style="font-size: 9pt;"> </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;"><span class="f_Heading1" style="font-size: 9pt; font-weight: normal;"> </span><img alt="lightbulb" width="16" height="16" style="margin:0;width:16px;height:16px;border:none" src="lightbulb.png"/><span style="font-size: 9pt;"> 不同形状有不同的属性,不管怎么样,都可以在属性编辑器里调整。</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="lightbulb" width="16" height="16" style="margin:0;width:16px;height:16px;border:none" src="lightbulb.png"/><span style="font-size: 9pt;"> 要使用多边形工具 </span><img alt="polygonTool" width="32" height="29" style="margin:0;width:32px;height:29px;border:none" src="polygontool.jpg"/><span style="font-size: 9pt;"> 来绘制或编辑多边形你必须先选择一个带多边形形状的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><img alt="lightbulb" width="16" height="16" style="margin:0;width:16px;height:16px;border:none" src="lightbulb.png"/><span style="font-size: 9pt;"> 要使用贝塞尔工具 </span><img alt="bezierTool" width="26" height="30" style="margin:0;width:26px;height:30px;border:none" src="beziertool.jpg"/><span style="font-size: 9pt;"> 来绘制或编辑多边形,你必须先选择一个带</span><span class="f_Heading1" style="font-size: 9pt; font-weight: normal;">贝塞尔曲线</span><span style="font-size: 9pt;">形状的picker对象以便绘制或编辑。如果当前按钮不是则在属性编辑器里把它切到</span><span class="f_Heading1" style="font-size: 9pt; font-weight: normal;">贝塞尔曲线</span><span style="font-size: 9pt;">形状再来进行绘制。</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="lightbulb" width="16" height="16" style="margin:0;width:16px;height:16px;border:none" src="lightbulb.png"/><span style="font-size: 9pt;"> 要旋转或翻转贝塞尔曲线或多边形形状选择相应的Picker对象然后点选编辑菜单 / 变形多边形/贝塞尔曲线形状..</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;">&nbsp;</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="itemtypes.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></a>
<a href="links.htm"><img border="0" src="../common/images/MGtoolsHelp_next.gif" width="34" height="22" alt="Next" /></a></td>
</tr>
</table>
</body>
</html>

View File

@@ -0,0 +1,84 @@
<!DOCTYPE html>
<html>
<head>
<title>Picker类型</title>
<meta name="generator" content="Help &amp; Manual" />
<meta name="keywords" content="item types,picker types" />
<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", "itemtypes.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>&nbsp;
<a href="namespace.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></a>
<a href="itemshapes.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="line-height: 1.80;"><span class="f_Heading1" style="font-size: 10pt;">目前有6种Picker对象类型:</span></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:9pt; font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';display:inline-block;width:13px;margin-left:-13px">&#9642;</span><img alt="selectButton" width="30" height="30" style="margin:0;width:30px;height:30px;border:none" src="selectbutton.jpg"/><span class="f_Heading1" style="font-size: 9pt;">选择按钮:</span></p><p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;"><span class="f_Heading1" style="font-size: 9pt; font-weight: normal;">选择按钮用于Maya选择每个选择按钮都有一个Maya节点成员列表。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;"><span class="f_Heading1" style="font-size: 9pt; font-weight: normal;">你可以为选择按钮指定一个后续动作以便这个按钮被点击后Maya自动切到位移/旋转/缩放工具以便动画师继续调整。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;"><span class="f_Heading1" style="font-size: 9pt; font-weight: normal;">并且每次点击或框选选择按钮后会自动把焦点放在Maya的3D视图这样所有Maya的快捷键比如动画师命根子&quot;S&quot;键。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;"><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;">&nbsp;</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:9pt; font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';display:inline-block;width:13px;margin-left:-13px">&#9642;</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;"> :</span></p><p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;"><span class="f_Heading1" style="font-size: 9pt; font-weight: normal;">一个命令按钮包含一段mel/python命令在它被点击并释放后这个命令即被执行。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;"><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: 9pt; font-weight: normal;">因为所有的PIcker对象都可以用MG-Picker工作室发布的API来控制你可以使用这些API来控制命令按钮本身。更多信息请参见程序员帮助。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;">&nbsp;</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:9pt; font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';display:inline-block;width:13px;margin-left:-13px">&#9642;</span><img alt="attributeButton" width="28" height="26" style="margin:0;width:28px;height:26px;border:none" src="attributebutton.jpg"/><span class="f_ImageCaption" style="font-size: 9pt;"> </span><span class="f_Heading1" style="font-size: 9pt;">属性按钮:</span></p><p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;"><span class="f_Heading1" style="font-size: 9pt; font-weight: normal;">属性按钮可以通过属性连接来控制其中任何picker对象的可见性也可以控制Maya节点的属性值。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;"><span class="f_Heading1" style="font-size: 9pt; font-weight: normal;">当您用属性按钮来控制Maya节点的属性值时在picker里设置的数值会影响节点属性值反过来当节点属性值被其它手段改变时只需要鼠标移入picker视图则界面上的属性按钮值就会更新。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;">&nbsp;</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:9pt; font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';display:inline-block;width:13px;margin-left:-13px">&#9642;</span><img alt="sliders" width="26" height="27" style="margin:0;width:26px;height:27px;border:none" src="sliders.jpg"/><span class="f_Heading1" style="font-size: 9pt;"> 滑条:</span></p><p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;"><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: 9pt; font-weight: normal;">不带数值范围的属性,将默认是-1~1如果是旋转属性则默认是-45~45。</span><br />
<span class="f_Heading1" style="font-size: 9pt; font-weight: normal;">你可以指定软件值范围但实际上属性可被设置的值的范围还是取决于Maya节点属性本身的值范围。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;"><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;">&nbsp;</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:9pt; font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';display:inline-block;width:13px;margin-left:-13px">&#9642;</span><span class="f_Heading1" style="font-size: 9pt;"> 滑条手柄:</span></p><p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;"><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;">&nbsp;</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:9pt; font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';display:inline-block;width:13px;margin-left:-13px">&#9642;</span><img alt="text" width="31" height="28" style="margin:0;width:31px;height:28px;border:none" src="text.jpg"/><span class="f_Heading1" style="font-size: 9pt;"> 文本:</span></p><p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;"><span class="f_Heading1" style="font-size: 9pt; font-weight: normal;">一个文本对象只是一段常常用来注释说明其它picker对象的文本比如放在界面上说明当前Picker的用法。 文本对象默认是不可交互的,这意味着不会对鼠标点击作出响应等 (不过可以在属性编辑器里打开交互属性)。文本对象支持单行或多行文本。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;">&nbsp;</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:9pt; font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';display:inline-block;width:13px;margin-left:-13px">&#9642;</span><img alt="graphicItem" width="28" height="28" style="margin:0;width:28px;height:28px;border:none" src="graphicitem.gif"/><span class="f_Heading1" style="font-size: 9pt;"> 图形:</span></p><p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;"><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;">&nbsp;</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:9pt; font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';display:inline-block;width:13px;margin-left:-13px">&#9642;</span><span class="f_Heading1" style="font-size: 9pt;">群组:</span></p><p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 35px;"><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 48px;">&nbsp;</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:9pt; font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';display:inline-block;width:13px;margin-left:-13px">&#9642;</span><span class="f_Heading1" style="font-size: 9pt;">面板:</span></p><p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 35px;"><span class="f_Heading1" style="font-size: 9pt; font-weight: normal;">一个picker面板相当于一个可以装其它picker对象的容器面板也可以装其它的面板或组作为子对象。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 35px;"><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 48px;">&nbsp;</p>
<p class="p_Normal" style="line-height: 1.80;"><span class="f_Heading1" style="font-size: 9pt; font-weight: normal;"> </span><img alt="lightbulb" width="16" height="16" style="margin:0;width:16px;height:16px;border:none" src="lightbulb.png"/><span style="font-size: 9pt;"> 要概览所有不对类型的对象,可以使用<a href="outliner.htm" class="topiclink">大纲视图。</a></span></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="namespace.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></a>
<a href="itemshapes.htm"><img border="0" src="../common/images/MGtoolsHelp_next.gif" width="34" height="22" alt="Next" /></a></td>
</tr>
</table>
</body>
</html>

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

View File

@@ -0,0 +1,77 @@
<!DOCTYPE html>
<html>
<head>
<title>Picker连接</title>
<meta name="generator" content="Help &amp; Manual" />
<meta name="keywords" content="attribute link,links,parent link" />
<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", "links.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>&nbsp;
<a href="itemshapes.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></a>
<a href="relationshipview.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">&#9642;</span><span class="f_ImageCaption" style="font-size: 10pt;">目前有2种picker连接</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: 10pt;">- </span><span class="f_Heading1" style="font-size: 9pt;">父子连接:</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;"><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: 9pt; font-weight: normal;">选择连接工具 </span><img alt="linkTool" width="27" height="28" style="margin:0;width:27px;height:28px;border:none" src="linktool.jpg"/><span class="f_ImageCaption" style="font-size: 9pt;"> </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 48px;"><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: 9pt; font-weight: normal;">父子连接持意义在于在使用picker时动画师可以双击父选择按钮以便选择到父按钮及其所有子按钮的成员节点。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;"><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;"><img alt="parentLink.1" width="184" height="107" style="margin:0;width:184px;height:107px;border:none" src="parentlink.1.jpg"/></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;"><span class="f_Heading1" style="font-size: 9pt; font-weight: normal;">双击图中的Hand Control按钮则选择到所有连接按钮的成员节点</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;"><img alt="parentLink.2" width="184" height="107" style="margin:0;width:184px;height:107px;border:none" src="parentlink.2.jpg"/><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;">自MG-Picker工作室v1.7版开始,一个选择按钮可以有多个父选择按钮。</p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span class="f_Heading1" style="font-size: 9pt;">- 属性连接:</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;"><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 48px;"><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 48px;"><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 48px;"><img alt="attrLink.1" width="319" height="202" style="margin:0;width:319px;height:202px;border:none" src="attrlink.1.jpg"/></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;"><span class="f_Heading1" style="font-size: 9pt; font-weight: normal;">点击属性按钮的数值区因为它是布尔类型所以直接会从on切为off结果其它所有picker对象就不可见了</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;"><img alt="attrLink.2" width="319" height="202" style="margin:0;width:319px;height:202px;border:none" src="attrlink.2.jpg"/></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;">&nbsp;</p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;"><img alt="lightbulb" width="16" height="16" style="margin:0;width:16px;height:16px;border:none" src="lightbulb.png"/><span style="font-size: 9pt;"> </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 48px;"><img alt="lightbulb" width="16" height="16" style="margin:0;width:16px;height:16px;border:none" src="lightbulb.png"/><span style="font-size: 9pt;"> </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 48px;"><img alt="lightbulb" width="16" height="16" style="margin:0;width:16px;height:16px;border:none" src="lightbulb.png"/><span style="font-size: 9pt;"> 不单单上面演示的布尔属性可以用来切换其它对象可见性对于枚举类型Maya属性类型的属性按钮也可以用属性连接来控制其它对象可见性。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;"><img alt="lightbulb" width="16" height="16" style="margin:0;width:16px;height:16px;border:none" src="lightbulb.png"/><span style="font-size: 9pt;"> 自MG-Picker工作室1.7版本及以后任意picker对象都可以被多个属性按钮同时控制可见性并且可以设置可见性的操作方式为&quot;and&quot;&quot;or&quot;&quot;and&quot;代表所有控制它的属性按钮数值符合目标值时,该对象才可见。&quot;or&quot;代表只要有一个控制它的属性按钮数值符合目标值时,该对象就可见。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;"><img alt="lightbulb" width="16" height="16" style="margin:0;width:16px;height:16px;border:none" src="lightbulb.png"/><span style="font-size: 9pt;"> MG-Picker工作室2版本新添加<a href="relationshipview.htm" class="topiclink">关系视图</a>,可以帮助你了解这些可见性控制关系。</span></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="itemshapes.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></a>
<a href="relationshipview.htm"><img border="0" src="../common/images/MGtoolsHelp_next.gif" width="34" height="22" alt="Next" /></a></td>
</tr>
</table>
</body>
</html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 814 B

View File

@@ -0,0 +1,84 @@
<!DOCTYPE html>
<html>
<head>
<title>加载Pickers</title>
<meta name="generator" content="Help &amp; Manual" />
<meta name="keywords" content="auto-load pickers,loading pickers,picker searching paths" />
<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", "loadpicker.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>&nbsp;
<a href="animator.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></a>
<a href="setnamespace.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_Normal" style="font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';display:inline-block;width:13px;margin-left:-13px">&#9642;</span><span style="font-weight: bold;">多个加载相关Picker的方法:</span></p><div style="text-align: left; text-indent: 0; line-height: 1.80; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="border:none; border-spacing:0;">
<tr>
<td style="vertical-align:middle; width:16px; padding:0; border:none"><p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 21px;">&nbsp;</p>
</td>
<td style="vertical-align:middle; width:798px; padding:0; border:none"><p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 20px; margin-left: 0;"><span class="f_Normal" style="font-weight:bold; font-size:9pt;display:inline-block;width:20px;margin-left:-20px">1.</span><span style="font-size: 9pt; font-weight: bold;">默认情况下所有场景内的Picker节点在读取Maya档案后将会被自动加载。</span><br />
<img alt="lightbulb" width="16" height="16" style="margin:0;width:16px;height:16px;border:none" src="lightbulb.png"/><span style="font-size: 9pt;"> 这个自动加载与否的选项可以通过选择更多功能按钮 </span><img alt="moreFeaturesBtn" width="20" height="20" style="margin:0;width:20px;height:20px;border:none" src="morefeaturesbtn.gif"/><span class="f_ImageCaption"> </span><span style="font-size: 9pt;">/配置..,在弹出的配置对话框里设置。</span><br />
<span style="font-size: 9pt;">&nbsp;</span></p><p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 20px; margin-left: 0;"><span class="f_Normal" style="font-weight:bold; font-size:9pt;display:inline-block;width:20px;margin-left:-20px">2.</span><span style="font-size: 9pt;">选择Reference角色的任意一部分 </span><span style="font-size: 9pt; font-weight: bold;">ALT+鼠标左键双击Picker标签的空白处或如果当前没有Picker打开就直接双击视图区来搜索并自动打开与当前角色相关的Picker。</span><br />
<img alt="lightbulb" width="16" height="16" style="margin:0;width:16px;height:16px;border:none" src="lightbulb.png"/><span style="font-size: 9pt;"> 也可以直接点击右上角的查找&amp;加载Picker按钮 </span><img alt="findAndLoadBtn" width="20" height="20" style="margin:0;width:20px;height:20px;border:none" src="findandloadbtn.gif"/><span class="f_ImageCaption"> </span><span style="font-size: 9pt;">.</span><br />
<img alt="lightbulb" width="16" height="16" style="margin:0;width:16px;height:16px;border:none" src="lightbulb.png"/><span style="font-size: 9pt;"> 搜索的优先级及搜索路径可以在配置对话框里设置。</span><br />
<span style="font-size: 9pt;">&nbsp;</span></p><p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 20px; margin-left: 0;"><span class="f_Normal" style="font-weight:bold; font-size:9pt;display:inline-block;width:20px;margin-left:-20px">3.</span><span style="font-size: 9pt; font-weight: bold;">大部分打开功能</span><span style="font-size: 9pt;">在按钮</span><img alt="openIcon" width="20" height="20" style="margin:0;width:20px;height:20px;border:none" src="openicon.gif"/><span style="font-size: 9pt;">的菜单里。</span></p><p class="p_Normal" style="line-height: 1.80;">&nbsp;</p>
<p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 20px; margin-left: 0;"><span class="f_Normal" style="font-weight:bold; font-size:9pt;display:inline-block;width:20px;margin-left:-20px">4.</span><span style="font-size: 9pt; font-weight: bold;">鼠标左键双击Picker标签的空白处</span><span style="font-size: 9pt;">或如果当前没有Picker打开就直接双击视图区来打开文件对话框您可以手动拾取一个外部的.mgpkr的picker文件。</span><br />
<span style="font-size: 9pt;">&nbsp;</span></p><p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 20px; margin-left: 0;"><span class="f_Normal" style="font-weight:bold; font-size:9pt;display:inline-block;width:20px;margin-left:-20px">5.</span><span style="font-size: 9pt; font-weight: bold;">SHIFT+鼠标左键双击Picker标签的空白处或如果当前没有Picker打开就直接双击视图区来加载场景里所有的Picker节点</span><span style="font-size: 9pt;">(如果他们被设置不被自动加载)。</span><br />
<img alt="lightbulb" width="16" height="16" style="margin:0;width:16px;height:16px;border:none" src="lightbulb.png"/><span style="font-size: 9pt;"> 也可以点击右上角的更多功能按钮 </span><img alt="moreFeaturesBtn" width="20" height="20" style="margin:0;width:20px;height:20px;border:none" src="morefeaturesbtn.gif"/><span class="f_ImageCaption"> </span><span style="font-size: 9pt;"> / 加载场景内所有Picker节点。</span><br />
<span style="font-size: 9pt;">&nbsp;</span></p><p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 20px; margin-left: 0;"><span class="f_Normal" style="font-weight:bold; font-size:9pt;display:inline-block;width:20px;margin-left:-20px">6.</span><span style="font-size: 9pt; font-weight: bold;">拖拽一个 .mgpkr文件夹Picker视图区域并松开来打开那个picker文件。</span></p></td>
</tr>
</table>
</div>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;">&nbsp;</p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><img alt="Warning" width="16" height="16" style="margin:0;width:16px;height:16px;border:none" src="warning.gif"/><span style="font-size: 9pt; color: #ff0000;"> &nbsp;Picker被加载后你可能仍然需要设置下它的命名空间namespace以便它可以正常工作。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span style="width:24px;display:inline-block">&nbsp;</span><span style="font-size: 9pt; color: #ff0000;">在动画师模式下可以查看顶上的命名空间栏看上面显示的命名空间是否跟你reference角色的命名空间是否匹配。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span style="width:24px;display:inline-block">&nbsp;</span><span style="font-size: 9pt; color: #ff0000;"><a href="setnamespace.htm" class="topiclink">点此了解</a> 更多命名空间的信息。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;">&nbsp;</p>
<p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 13px; margin-left: 0;"><span class="f_Normal" style="font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';display:inline-block;width:13px;margin-left:-13px">&#9642;</span><span style="font-weight: bold;">MG-Picker工作室搜索三个基本路径来取得相关Picker:</span></p><p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 24px; margin: 0 0 0 24px;"><span class="f_Normal" style="font-size:9pt; font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';display:inline-block;width:24px;margin-left:-24px">&#9642;</span><span style="font-size: 9pt; font-weight: bold;">在当前Maya场景/ Reference场景内部的Picker节点。</span><br />
<span style="font-size: 9pt;">这些Picker节点采用Maya内置节点类型 &quot;subdivSurfaceVarGroup&quot;,并通常有一个&quot;_MGPIKR&quot;作为名字后缀。</span><br />
<span style="font-size: 9pt;">Picker节点采用的图片一般存储在Maya场景目录的pickerimages子目录。</span><br />
<span style="font-size: 9pt;">&nbsp;</span></p><p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 24px; margin: 0 0 0 24px;"><span class="f_Normal" style="font-size:9pt; font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';display:inline-block;width:24px;margin-left:-24px">&#9642;</span><span style="font-size: 9pt; font-weight: bold;">当前或Reference场景目录里的pickers文件夹。 </span><br />
<span style="font-size: 9pt;">你可以将Picker数据及图片发布在相关场景所在目录里的pickers目录里。这个目录也将被自动搜索。</span><br />
<span style="font-size: 9pt;">&nbsp;</span></p><p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 24px; margin: 0 0 0 24px;"><span class="f_Normal" style="font-size:9pt; font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';display:inline-block;width:24px;margin-left:-24px">&#9642;</span><span style="font-size: 9pt; font-weight: bold;">Maya的用户程序目录 / MG_PickerData / 当前Picker工程目录。</span><br />
<span style="font-size: 9pt;">在Windows操作系统这个目录是我的文档/Maya/MG_PickerData/. 在里面的当前Picker工程里的Picker数据将被搜索。</span><br />
<span style="font-size: 9pt;">&nbsp;</span></p><p class="p_Normal" style="line-height: 1.80;"><img alt="lightbulb" width="16" height="16" style="margin:0;width:16px;height:16px;border:none" src="lightbulb.png"/><span style="font-size: 9pt;"> 在配置窗口里,你还可以添加其它的自定义搜索路径。</span></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="animator.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></a>
<a href="setnamespace.htm"><img border="0" src="../common/images/MGtoolsHelp_next.gif" width="34" height="22" alt="Next" /></a></td>
</tr>
</table>
</body>
</html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 921 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

View File

@@ -0,0 +1,245 @@
<!DOCTYPE html>
<html>
<head>
<title>MGImageProcesser Command</title>
<meta name="generator" content="Help &amp; Manual" />
<meta name="keywords" content="API,ImageProcesser,MGImageProcessercommand" />
<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", "mgimageprocesser.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>&nbsp;
<a href="mgpickerlicence.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></a>
<a href="commandbuttonpresets.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">
<div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:middle; height:8px; padding:1px; border:none"><p><span style="font-family: 'Times New Roman',Times,Georgia,serif; font-weight: bold;">命令</span><span style="font-family: 'Times New Roman',Times,Georgia,serif;"> (MEL/Python)</span></p>
</td>
</tr>
<tr>
<td style="vertical-align:middle; height:5px; padding:1px; border:none"><h1 class="p_Heading1" style="margin: 19px 0 19px 0;"><span class="f_Heading1" style="font-size: 24pt; font-family: 'Times New Roman',Times,Georgia,serif;">MGImageProcesser</span></h1>
</td>
</tr>
</table>
</div>
<p class="p_Normal" style="margin: 14px 0 0 0;"><span style="font-family: 'Times New Roman',Times,Georgia,serif;">跳转到: </span><span style="font-size: 12pt; font-family: 'Times New Roman',Times,Georgia,serif;"><a href="mgpicker.htm#synopsis" class="topiclink">概要</a>. <a href="mgpicker.htm#examples" class="topiclink">MEL例子</a>. <a href="mgpickeritem.htm#pyexamples" class="topiclink">Python例子</a>.</span></p>
<p class="p_Normal" style="margin: 19px 0 0 0;"><a id="synopsis" class="hmanchor"></a><span style="font-size: 14pt; font-family: 'Times New Roman',Times,Georgia,serif; font-weight: bold;">概要</span></p>
<p class="p_Normal" style="margin: 19px 0 0 0;"><span style="font-family: 'Courier New',Courier,monospace;">MGImageProcesser (string, [<a href="mgimageprocesser.htm#dimension" class="topiclink">currentStyleName</a>=</span><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">boolean</span><span style="font-family: 'Courier New',Courier,monospace;">], [<a href="mgimageprocesser.htm#dimension" class="topiclink">dimension</a>=</span><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">boolean</span><span style="font-family: 'Courier New',Courier,monospace;">], [<a href="mgimageprocesser.htm#processoption" class="topiclink">processOption</a>=</span><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">string</span><span style="font-family: 'Courier New',Courier,monospace;">], [<a href="mgimageprocesser.htm#resize" class="topiclink">resize</a>=</span><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">string</span><span style="font-family: 'Courier New',Courier,monospace;">], [<a href="mgimageprocesser.htm#style" class="topiclink">style</a>=</span><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">string</span><span style="font-family: 'Courier New',Courier,monospace;">])</span></p>
<p class="p_Normal" style="margin: 19px 0 0 0;"><span style="font-size: 9pt; font-family: 'Times New Roman',Times,Georgia,serif; font-style: italic;">备注: Strings代表图片文件完整路径, 而参数则必须以逗号分隔。这是在概要里没有说明的。</span></p>
<p class="p_Normal" style="margin: 14px 0 14px 0;"><span style="font-size: 12pt; font-family: 'Times New Roman',Times,Georgia,serif;">MGImageProcesser</span><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif; font-weight: bold;">不可撤消</span><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">, 可以查询且可以编辑</span><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;"></span></p>
<p><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">这个命令主要用来处理图片。</span></p>
<p class="p_Normal">&nbsp;</p>
<div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:bottom; width:266px; background-color:#CCCCCC; padding:1px; border:none"><p><span style="font-family: 'Times New Roman',Times,Georgia,serif; font-weight: bold;">长名 (短名)</span></p>
</td>
<td style="vertical-align:bottom; width:125px; background-color:#CCCCCC; padding:1px; border:none"><p><span style="font-family: 'Times New Roman',Times,Georgia,serif; font-style: italic; font-weight: bold;">参数类型</span></p>
</td>
<td style="vertical-align:bottom; background-color:#CCCCCC; padding:1px; border:none"><p><span style="font-family: 'Times New Roman',Times,Georgia,serif; font-weight: bold;">属性</span></p>
</td>
</tr>
<tr>
<td style="vertical-align:top; width:266px; background-color:#EEEEEE; padding:1px; border:none"><p><a id="currentstylename" class="hmanchor"></a><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-currentStyleName</span><span style="font-family: 'Courier New',Courier,monospace;">(</span><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-csn</span><span style="font-family: 'Courier New',Courier,monospace;">)</span><img alt="v2_transparent" width="34" height="12" style="margin:0;width:34px;height:12px;border:none" src="v2_transparent.png"/></p>
</td>
<td style="vertical-align:top; width:125px; background-color:#EEEEEE; padding:1px; border:none"><p><span style="color: #000000;">&nbsp;</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><img alt="query" title="query" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="query.gif"/></p>
</td>
</tr>
<tr>
<td colspan="3" style="vertical-align:middle; padding:1px; border:none"><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:top; width:40px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="color: #000000;">&nbsp;</span></p>
</td>
<td style="vertical-align:middle; width:946px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">仅供内部使用,用来查询当前界面上使用的图片处理风格的名字。</span></p>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td style="vertical-align:top; width:266px; background-color:#EEEEEE; padding:1px; border:none"><p><a id="dimension" class="hmanchor"></a><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-dimension</span><span style="font-family: 'Courier New',Courier,monospace;">(</span><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-d</span><span style="font-family: 'Courier New',Courier,monospace;">)</span></p>
</td>
<td style="vertical-align:top; width:125px; background-color:#EEEEEE; padding:1px; border:none"><p><span style="color: #000000;">&nbsp;</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><img alt="query" title="query" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="query.gif"/></p>
</td>
</tr>
<tr>
<td colspan="3" style="vertical-align:middle; padding:1px; border:none"><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:top; width:40px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="color: #000000;">&nbsp;</span></p>
</td>
<td style="vertical-align:middle; width:946px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">这个标签只能用于查询指定图片的长宽,返回整数数组。</span></p>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td style="vertical-align:top; width:266px; background-color:#EEEEEE; padding:1px; border:none"><p><a id="processoption" class="hmanchor"></a><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-processOption</span><span style="font-family: 'Courier New',Courier,monospace;">(</span><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-po</span><span style="font-family: 'Courier New',Courier,monospace;">)</span></p>
</td>
<td style="vertical-align:top; width:125px; background-color:#EEEEEE; padding:1px; border:none"><p><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">string</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><img alt="create" width="13" height="16" style="margin:0;width:13px;height:16px;border:none" src="create.gif"/><img alt="edit" width="13" height="16" style="margin:0;width:13px;height:16px;border:none" src="edit.gif"/></p>
</td>
</tr>
<tr>
<td colspan="3" style="vertical-align:middle; padding:1px; border:none"><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:top; width:40px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="color: #000000;">&nbsp;</span></p>
</td>
<td style="vertical-align:middle; width:946px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">通过指定处理配置字符窜来处理图片,这个配置字符窜每行都是“配置名=配置数值”这样的格式,并用换行符相连,比如:</span></p>
<p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">invert = 0</span></p>
<p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">grayscale = 1</span></p>
<p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">brightness = 0</span></p>
<p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">contrast = 0</span></p>
<p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">saturation = 0</span></p>
<p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">blur = 0</span></p>
<p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">opacity = 255</span></p>
<p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">bgcolor = 0,0,0</span></p>
<p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">hTile = 1</span></p>
<p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">hTileGap = 0</span></p>
<p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">vTile = 1</span></p>
<p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">vTileGap = 0</span></p>
<p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">这些配置名的大小写不区分。每个配置的取值范围如下:</span></p>
<p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">invert: [0~1]</span></p>
<p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">grayscale: [0~1]</span></p>
<p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">brightness: [-255,255]</span></p>
<p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">contrast: [-255,255]</span></p>
<p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">saturation: [-255,255]</span></p>
<p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">blur: [0~18]</span></p>
<p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">opacity: [0~255]</span></p>
<p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">bgcolor: [0~255,0~255,0~255]</span></p>
<p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">hTile: [0~10]</span></p>
<p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">hTileGap: [0~100]</span></p>
<p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">vTile: [0~10]</span></p>
<p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">vTileGap: [0~100]</span></p>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td style="vertical-align:top; width:266px; background-color:#EEEEEE; padding:1px; border:none"><p><a id="resize" class="hmanchor"></a><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-resize</span><span style="font-family: 'Courier New',Courier,monospace;">(</span><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-r</span><span style="font-family: 'Courier New',Courier,monospace;">)</span></p>
</td>
<td style="vertical-align:top; width:125px; background-color:#EEEEEE; padding:1px; border:none"><p><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">string</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><img alt="create" width="13" height="16" style="margin:0;width:13px;height:16px;border:none" src="create.gif"/><img alt="edit" width="13" height="16" style="margin:0;width:13px;height:16px;border:none" src="edit.gif"/></p>
</td>
</tr>
<tr>
<td colspan="3" style="vertical-align:middle; padding:1px; border:none"><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:top; width:40px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="color: #000000;">&nbsp;</span></p>
</td>
<td style="vertical-align:middle; width:942px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">指定&quot;长:宽&quot;这样的字符窜来缩放图片,注意图片的长宽比不会被改变。</span></p>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td style="vertical-align:top; width:266px; background-color:#EEEEEE; padding:1px; border:none"><p><a id="style" class="hmanchor"></a><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-style</span><span style="font-family: 'Courier New',Courier,monospace;">(</span><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-s</span><span style="font-family: 'Courier New',Courier,monospace;">)</span></p>
</td>
<td style="vertical-align:top; width:125px; background-color:#EEEEEE; padding:1px; border:none"><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">string</span></p>
</td>
</tr>
</table>
</div>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><img alt="create" width="13" height="16" style="margin:0;width:13px;height:16px;border:none" src="create.gif"/><img alt="edit" width="13" height="16" style="margin:0;width:13px;height:16px;border:none" src="edit.gif"/></p>
</td>
</tr>
<tr>
<td colspan="3" style="vertical-align:middle; padding:1px; border:none"><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:top; width:40px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="color: #000000;">&nbsp;</span></p>
</td>
<td style="vertical-align:middle; width:946px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">仅供内部使用。通过指定一个外部的图片样式文件路径来处理图片。</span></p>
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</div>
<p class="p_Normal">&nbsp;</p>
<hr style="height:2px; color:#CCCCCC; border-width:0; background-color:#cccccc;" /><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 10px 0 0 0;"><table style="background-color:#eeeeee; border:none; border-spacing:1px;">
<tr>
<td style="vertical-align:top; padding:4px; border:none"><p><img alt="create" width="13" height="16" style="margin:0;width:13px;height:16px;border:none" src="create.gif"/><span class="f_ImageCaption"> </span><span style="font-family: 'Times New Roman',Times,Georgia,serif;">标签可以在创建模式中使用</span></p>
</td>
<td style="vertical-align:top; padding:4px; border:none"><p><img alt="edit" width="13" height="16" style="margin:0;width:13px;height:16px;border:none" src="edit.gif"/><span class="f_ImageCaption"> </span><span style="font-family: 'Times New Roman',Times,Georgia,serif;">标签可以在编辑模式中使用</span></p>
</td>
</tr>
<tr>
<td style="vertical-align:top; padding:4px; border:none"><p><img alt="query" width="13" height="16" style="margin:0;width:13px;height:16px;border:none" src="query.gif"/><span class="f_ImageCaption"> </span><span style="font-family: 'Times New Roman',Times,Georgia,serif;">标签可以在查询模式中使用</span></p>
</td>
<td style="vertical-align:top; padding:4px; border:none"><p><img alt="multiuse" width="13" height="16" style="margin:0;width:13px;height:16px;border:none" src="multiuse.gif"/><span class="f_ImageCaption"> </span><span style="font-family: 'Times New Roman',Times,Georgia,serif;">标签可以在一条命令中多次使用</span></p>
</td>
</tr>
</table>
</div>
<p style="margin: 19px 0 0 0;"><a id="examples" class="hmanchor"></a><span style="font-size: 14pt; font-family: 'Times New Roman',Times,Georgia,serif; font-weight: bold;">MEL例子</span></p>
<p class="p_Normal" style="line-height: 1.0; white-space: nowrap; margin: 19px 0 0 0;"><span style="font-family: 'Courier New',Courier,monospace;">//get&nbsp;the&nbsp;size&nbsp;of&nbsp;image&nbsp;in&nbsp;int&nbsp;array:</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">MGImageProcesser&nbsp;-q&nbsp;-dimension&nbsp;&quot;D:/test/Penguins.jpg&quot;;</span></p>
<p class="p_Normal" style="line-height: 1.0; white-space: nowrap; margin: 19px 0 0 0;"><span style="font-family: 'Courier New',Courier,monospace;">//backup&nbsp;the&nbsp;original&nbsp;image&nbsp;befor&nbsp;process&nbsp;it:</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">sysFile&nbsp;-cp&nbsp;&quot;D:/test/Penguins_orginal.jpg&quot;&nbsp;&quot;D:/test/Penguins.jpg&quot;;</span></p>
<p class="p_Normal" style="line-height: 1.0; white-space: nowrap; margin: 19px 0 0 0;"><span style="font-family: 'Courier New',Courier,monospace;">//now&nbsp;process&nbsp;the&nbsp;image,&nbsp;the&nbsp;image&nbsp;will&nbsp;be&nbsp;changed:</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">MGImageProcesser&nbsp;-processOption&nbsp;&quot;grayscale=1\nblur=10&quot;&nbsp;&quot;D:/test/Penguins.jpg&quot;;</span></p>
<p style="margin: 19px 0 0 0;"><a id="pyexamples" class="hmanchor"></a><span style="font-size: 14pt; font-family: 'Times New Roman',Times,Georgia,serif; font-weight: bold;">Python例子</span></p>
<p style="margin: 19px 0 0 0;"><span style="font-family: 'Courier New',Courier,monospace;">from maya import cmds</span></p>
<p class="p_Normal" style="line-height: 1.0; white-space: nowrap; margin: 19px 0 0 0;"><span style="font-family: 'Courier New',Courier,monospace;">#get&nbsp;the&nbsp;size&nbsp;of&nbsp;image&nbsp;in&nbsp;int&nbsp;array:</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">cmds.MGImageProcesser(&quot;D:/test/Penguins.jpg&quot;,&nbsp;q=True,&nbsp;dimension=True)</span></p>
<p class="p_Normal" style="line-height: 1.0; white-space: nowrap; margin: 19px 0 0 0;"><span style="font-family: 'Courier New',Courier,monospace;">#backup&nbsp;the&nbsp;original&nbsp;image&nbsp;befor&nbsp;process&nbsp;it:</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">cmds.sysFile(&quot;D:/test/Penguins.jpg&quot;,&nbsp;cp=&quot;D:/test/Penguins_orginal.jpg&quot;)</span></p>
<p class="p_Normal" style="line-height: 1.0; white-space: nowrap; margin: 19px 0 0 0;"><span style="font-family: 'Courier New',Courier,monospace;">#now&nbsp;process&nbsp;the&nbsp;image,&nbsp;the&nbsp;image&nbsp;will&nbsp;be&nbsp;changed:</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">cmds.MGImageProcesser(&quot;D:/test/Penguins.jpg&quot;,&nbsp;processOption=&quot;grayscale=1\nblur=10&quot;)</span></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="mgpickerlicence.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></a>
<a href="commandbuttonpresets.htm"><img border="0" src="../common/images/MGtoolsHelp_next.gif" width="34" height="22" alt="Next" /></a></td>
</tr>
</table>
</body>
</html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,180 @@
<!DOCTYPE html>
<html>
<head>
<title>MGPickerLicence Command</title>
<meta name="generator" content="Help &amp; Manual" />
<meta name="keywords" content="API,MGPickerLicence command" />
<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", "mgpickerlicence.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>&nbsp;
<a href="mgpickerservice.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></a>
<a href="mgimageprocesser.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">
<div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:middle; height:8px; padding:1px; border:none"><p><span style="font-family: 'Times New Roman',Times,Georgia,serif; font-weight: bold;">命令</span><span style="font-family: 'Times New Roman',Times,Georgia,serif;"> (MEL/Python)</span></p>
</td>
</tr>
<tr>
<td style="vertical-align:middle; height:5px; padding:1px; border:none"><h1 class="p_Heading1" style="margin: 19px 0 19px 0;"><span class="f_Heading1" style="font-size: 24pt; font-family: 'Times New Roman',Times,Georgia,serif;">MGPickerLicence </span><img alt="v2_transparent" width="34" height="12" style="margin:0;width:34px;height:12px;border:none" src="v2_transparent.png"/></h1>
</td>
</tr>
</table>
</div>
<p class="p_Normal" style="margin: 19px 0 0 0;"><a id="synopsis" class="hmanchor"></a><span style="font-size: 14pt; font-family: 'Times New Roman',Times,Georgia,serif; font-weight: bold;"> Synopsis</span></p>
<p class="p_Normal" style="margin: 19px 0 0 0;"><span style="font-family: 'Courier New',Courier,monospace;">MGPickerLicence ([<a href="mgpickerlicence.htm#floating" class="topiclink">floating</a>=</span><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">[boolean]</span><span style="font-family: 'Courier New',Courier,monospace;">],[<a href="mgpickerlicence.htm#nodelocked" class="topiclink">nodeLocked</a>=</span><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">[string]</span><span style="font-family: 'Courier New',Courier,monospace;">], [<a href="mgpickerlicence.htm#state" class="topiclink">state</a>=</span><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">string</span><span style="font-family: 'Courier New',Courier,monospace;">])</span></p>
<p class="p_Normal" style="margin: 14px 0 14px 0;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">MGPickerService</span><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif; font-weight: bold;">不可撤消</span><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">, 可以查询且可以编辑</span><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;"></span></p>
<p><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">这个命令用来查询或编辑MG-Picker工作室的授权状态。</span></p>
<p class="p_Normal">&nbsp;</p>
<div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:bottom; background-color:#CCCCCC; padding:1px; border:none"><p><span style="font-family: 'Times New Roman',Times,Georgia,serif; font-weight: bold;">长名 (短名)</span></p>
</td>
<td style="vertical-align:bottom; background-color:#CCCCCC; padding:1px; border:none"><p><span style="font-family: 'Times New Roman',Times,Georgia,serif; font-style: italic; font-weight: bold;">参数类型</span></p>
</td>
<td style="vertical-align:bottom; background-color:#CCCCCC; padding:1px; border:none"><p><span style="font-family: 'Times New Roman',Times,Georgia,serif; font-weight: bold;">属性</span></p>
</td>
</tr>
<tr>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><a id="floating" class="hmanchor"></a><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-floating</span><span style="font-family: 'Courier New',Courier,monospace;">(</span><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-fl</span><span style="font-family: 'Courier New',Courier,monospace;">) </span><img alt="v2_transparent" width="34" height="12" style="margin:0;width:34px;height:12px;border:none" src="v2_transparent.png"/></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">boolean</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><img alt="create" width="13" height="16" style="margin:0;width:13px;height:16px;border:none" src="create.gif"/><img alt="query" title="query" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="query.gif"/><img alt="edit" title="edit" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="edit.gif"/></p>
</td>
</tr>
<tr>
<td colspan="3" style="vertical-align:middle; padding:1px; border:none"><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:top; width:40px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="color: #000000;">&nbsp;</span></p>
</td>
<td style="vertical-align:middle; width:946px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">查询模式下返回字符窜数组信息:</span></p>
<p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;"> &nbsp; &nbsp;[0] 返回连接器所以目录路径。</span></p>
<p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;"> &nbsp; &nbsp;[1] 浮动授权状态,&quot;-1&quot;代表试图连接浮动授权但是失败,&quot;1&quot;代表正在使用浮动授权,&quot;0&quot;代表其它所有的状态,包括固定授权等。</span></p>
<p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;"> &nbsp; &nbsp;[2] 是否自动连接浮动授权。</span><br />
<span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">&nbsp;</span></p>
<p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">在创建或编辑模式下,真值代表登陆连接浮动授权,假值代表从当前的浮动授权退出登陆并断开连接。</span></p>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><a id="nodelocked" class="hmanchor"></a><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-nodeLocked</span><span style="font-family: 'Courier New',Courier,monospace;">(</span><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-nl</span><span style="font-family: 'Courier New',Courier,monospace;">) </span><img alt="v2_transparent" width="34" height="12" style="margin:0;width:34px;height:12px;border:none" src="v2_transparent.png"/></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">string</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><img alt="create" width="13" height="16" style="margin:0;width:13px;height:16px;border:none" src="create.gif"/><img alt="query" title="query" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="query.gif"/><img alt="edit" title="edit" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="edit.gif"/></p>
</td>
</tr>
<tr>
<td colspan="3" style="vertical-align:middle; padding:1px; border:none"><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:top; width:40px; padding:1px; border:none"><br />
</td>
<td style="vertical-align:middle; width:946px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">查询模式下返回字符窜数组信息:</span></p>
<p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;"> &nbsp; &nbsp;[0] 当前机器的用户请求码</span></p>
<p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;"> &nbsp; &nbsp;[1] 注册码, 空的话代表未使用固定授权。</span></p>
<p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;"> &nbsp; &nbsp;[2] 注册码所针对的版本,如果未注册,则返回&quot;0.0&quot;.</span><br />
<span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">&nbsp;</span></p>
<p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">在创建或编辑模式下,可以指定注册码来完成注册,指定空字符窜则注销注册。</span></p>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><a id="state" class="hmanchor"></a><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-state</span><span style="font-family: 'Courier New',Courier,monospace;">(</span><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-st</span><span style="font-family: 'Courier New',Courier,monospace;">) </span><img alt="v2_transparent" width="34" height="12" style="margin:0;width:34px;height:12px;border:none" src="v2_transparent.png"/></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><span style="color: #000000;">&nbsp;</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><img alt="query" title="query" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="query.gif"/></p>
</td>
</tr>
<tr>
<td colspan="3" style="vertical-align:middle; padding:1px; border:none"><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:top; width:40px; padding:1px; border:none"><br />
</td>
<td style="vertical-align:middle; width:946px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">用来查询当前的授权状态:</span></p>
<p class="p_Normal"><span style="font-size: 12pt; font-family: 'Times New Roman',Times,Georgia,serif;"> &nbsp; &nbsp;0: </span><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">未注册或登陆。</span></p>
<p class="p_Normal"><span style="font-size: 12pt; font-family: 'Times New Roman',Times,Georgia,serif;"> &nbsp; &nbsp;1: 注册了固定授权,但是注册码是针对较早版本的。</span></p>
<p class="p_Normal"><span style="font-size: 12pt; font-family: 'Times New Roman',Times,Georgia,serif;"> &nbsp; &nbsp;2: 注册了固定授权。</span></p>
<p class="p_Normal"><span style="font-size: 12pt; font-family: 'Times New Roman',Times,Georgia,serif;"> &nbsp; &nbsp;3: 登陆了浮动授权。</span></p>
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</div>
<p class="p_Normal">&nbsp;</p>
<hr style="height:2px; color:#CCCCCC; border-width:0; background-color:#cccccc;" /><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 10px 0 0 0;"><table style="background-color:#eeeeee; border:none; border-spacing:1px;">
<tr>
<td style="vertical-align:top; padding:4px; border:none"><p><img alt="create" width="13" height="16" style="margin:0;width:13px;height:16px;border:none" src="create.gif"/><span class="f_ImageCaption"> </span><span style="font-family: 'Times New Roman',Times,Georgia,serif;">标签可以在创建模式中使用</span></p>
</td>
<td style="vertical-align:top; padding:4px; border:none"><p><img alt="edit" width="13" height="16" style="margin:0;width:13px;height:16px;border:none" src="edit.gif"/><span class="f_ImageCaption"> </span><span style="font-family: 'Times New Roman',Times,Georgia,serif;">标签可以在编辑模式中使用</span></p>
</td>
</tr>
<tr>
<td style="vertical-align:top; padding:4px; border:none"><p><img alt="query" width="13" height="16" style="margin:0;width:13px;height:16px;border:none" src="query.gif"/><span class="f_ImageCaption"> </span><span style="font-family: 'Times New Roman',Times,Georgia,serif;">标签可以在查询模式中使用</span></p>
</td>
<td style="vertical-align:top; padding:4px; border:none"><p><img alt="multiuse" width="13" height="16" style="margin:0;width:13px;height:16px;border:none" src="multiuse.gif"/><span class="f_ImageCaption"> </span><span style="font-family: 'Times New Roman',Times,Georgia,serif;">标签可以在一条命令中多次使用</span></p>
</td>
</tr>
</table>
</div>
<p style="margin: 19px 0 0 0;"><a id="examples" class="hmanchor"></a><span style="font-size: 14pt; font-family: 'Times New Roman',Times,Georgia,serif; font-weight: bold;">MEL例子</span></p>
<p class="p_Normal" style="line-height: 1.0; white-space: nowrap; margin: 19px 0 0 0;"><span style="font-family: 'Courier New',Courier,monospace;">print(&quot;Query&nbsp;license&nbsp;state:&nbsp;&quot;&nbsp;+&nbsp;`MGPickerLicence&nbsp;-q&nbsp;-state`&nbsp;+&nbsp;&quot;\n&quot;);</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">print(&quot;Node-Locked&nbsp;license&nbsp;state:&nbsp;&quot;&nbsp;+&nbsp;stringArrayToString(`MGPickerLicence&nbsp;-q&nbsp;-nodeLocked`,&nbsp;&quot;,&nbsp;&quot;)&nbsp;+&nbsp;&quot;\n&quot;);</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">print(&quot;Floating&nbsp;license&nbsp;state:&nbsp;&quot;&nbsp;+&nbsp;stringArrayToString(`MGPickerLicence&nbsp;-q&nbsp;-floating`,&nbsp;&quot;,&nbsp;&quot;));</span></p>
<p style="margin: 19px 0 0 0;"><a id="pyexamples" class="hmanchor"></a><span style="font-size: 14pt; font-family: 'Times New Roman',Times,Georgia,serif; font-weight: bold;">Python例子</span></p>
<p style="margin: 19px 0 0 0;"><span style="font-family: 'Courier New',Courier,monospace;">from maya import cmds</span></p>
<p style="margin: 19px 0 0 0;"><span style="font-family: 'Courier New',Courier,monospace;">print(&quot;Query license state:&quot;, cmds.MGPickerLicence(q=True, state=True))</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">print(&quot;Node-Locked state:&quot;, cmds.MGPickerLicence(q=True, nodeLocked=True))</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">print(&quot;Floating License state:&quot;, cmds.MGPickerLicence(q=True, floating=True))</span></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="mgpickerservice.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></a>
<a href="mgimageprocesser.htm"><img border="0" src="../common/images/MGtoolsHelp_next.gif" width="34" height="22" alt="Next" /></a></td>
</tr>
</table>
</body>
</html>

View File

@@ -0,0 +1,281 @@
<!DOCTYPE html>
<html>
<head>
<title>MGPickerLink Command</title>
<meta name="generator" content="Help &amp; Manual" />
<meta name="keywords" content="API,MGPickerLink command" />
<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", "mgpickerlink.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>&nbsp;
<a href="mgpickeritem.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></a>
<a href="mgpickermenu.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">
<div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:middle; height:8px; padding:1px; border:none"><p><span style="font-family: 'Times New Roman',Times,Georgia,serif; font-weight: bold;">命令</span><span style="font-family: 'Times New Roman',Times,Georgia,serif;"> (MEL/Python)</span></p>
</td>
</tr>
<tr>
<td style="vertical-align:middle; height:5px; padding:1px; border:none"><h1 class="p_Heading1" style="margin: 19px 0 19px 0;"><span class="f_Heading1" style="font-size: 24pt; font-family: 'Times New Roman',Times,Georgia,serif;">MGPickerLink</span></h1>
</td>
</tr>
</table>
</div>
<p class="p_Normal" style="margin: 14px 0 0 0;"><span style="font-family: 'Times New Roman',Times,Georgia,serif;">跳转到: </span><span style="font-size: 12pt; font-family: 'Times New Roman',Times,Georgia,serif;"> <a href="mgpicker.htm#synopsis" class="topiclink">概要</a>. <a href="mgpicker.htm#examples" class="topiclink">MEL例子</a>. <a href="https://www.helpandmanual.com/order.html" class="topiclink">Python例子</a>.</span></p>
<p class="p_Normal" style="margin: 19px 0 0 0;"><a id="synopsis" class="hmanchor"></a> <span style="font-size: 14pt; font-family: 'Times New Roman',Times,Georgia,serif; font-weight: bold;">概要</span></p>
<p class="p_Normal" style="margin: 19px 0 0 0;"><span style="font-family: 'Courier New',Courier,monospace;">MGPickerLink (linkIDString, [<a href="https://www.helpandmanual.com/order.html" class="topiclink">exist</a>=</span><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">boolean</span><span style="font-family: 'Courier New',Courier,monospace;">] [<a href="mgpickerlink.htm#remove" class="topiclink">remove</a>=</span><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">boolean</span><span style="font-family: 'Courier New',Courier,monospace;">] [<a href="mgpickerlink.htm#source" class="topiclink">source</a>=</span><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">string</span><span style="font-family: 'Courier New',Courier,monospace;">] [<a href="mgpickerlink.htm#target" class="topiclink">target</a>=</span><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">string</span><span style="font-family: 'Courier New',Courier,monospace;">] [<a href="mgpickerlink.htm#targetvalues" class="topiclink">targetValues</a>=</span><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">string</span><span style="font-family: 'Courier New',Courier,monospace;">] [<a href="mgpickerlink.htm#type" class="topiclink">type</a>=</span><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">boolean</span><span style="font-family: 'Courier New',Courier,monospace;">]) [<a href="mgpickerlink.htm#view" class="topiclink">view</a>=</span><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">string</span><span style="font-family: 'Courier New',Courier,monospace;">])</span></p>
<p class="p_Normal" style="margin: 14px 0 14px 0;"><span style="font-size: 12pt; font-family: 'Times New Roman',Times,Georgia,serif;">MGPickerLink</span><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif; font-weight: bold;">不可撤消</span><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">, 可以查询且可以编辑</span><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;"></span></p>
<p><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">这个命令创建, 查询或编辑一个picker连接。</span></p>
<p class="p_Normal">&nbsp;</p>
<p class="p_Normal">&nbsp;</p>
<div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:bottom; background-color:#CCCCCC; padding:1px; border:none"><p><span style="font-family: 'Times New Roman',Times,Georgia,serif; font-weight: bold;">长名 (短名)</span></p>
</td>
<td style="vertical-align:bottom; background-color:#CCCCCC; padding:1px; border:none"><p><span style="font-family: 'Times New Roman',Times,Georgia,serif; font-style: italic; font-weight: bold;">参数类型</span></p>
</td>
<td style="vertical-align:bottom; background-color:#CCCCCC; padding:1px; border:none"><p><span style="font-family: 'Times New Roman',Times,Georgia,serif; font-weight: bold;">属性</span></p>
</td>
</tr>
<tr>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><a id="exist" class="hmanchor"></a><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-exist</span><span style="font-family: 'Courier New',Courier,monospace;">(</span><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-ex</span><span style="font-family: 'Courier New',Courier,monospace;">)</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><br />
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><img alt="query" title="query" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="query.gif"/></p>
</td>
</tr>
<tr>
<td colspan="3" style="vertical-align:middle; padding:1px; border:none"><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:top; width:40px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="color: #000000;">&nbsp;</span></p>
</td>
<td style="vertical-align:middle; width:943px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">这个标签只能用于查询模式,用来获取该连接是否存在。</span></p>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><a id="remove" class="hmanchor"></a><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-remove</span><span style="font-family: 'Courier New',Courier,monospace;">(</span><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-rm</span><span style="font-family: 'Courier New',Courier,monospace;">)</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><br />
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><img alt="edit" title="edit" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="edit.gif"/></p>
</td>
</tr>
<tr>
<td colspan="3" style="vertical-align:middle; padding:1px; border:none"><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:top; width:40px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="color: #000000;">&nbsp;</span></p>
</td>
<td style="vertical-align:middle; width:943px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">这个标签只能用于编辑模式,用来删除某个连接。</span></p>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><a id="source" class="hmanchor"></a><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-source</span><span style="font-family: 'Courier New',Courier,monospace;">(</span><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-s</span><span style="font-family: 'Courier New',Courier,monospace;">)</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">string</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><img alt="create" title="create" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="create.gif"/><img alt="query" title="query" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="query.gif"/></p>
</td>
</tr>
<tr>
<td colspan="3" style="vertical-align:middle; padding:1px; border:none"><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:top; width:40px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="color: #000000;">&nbsp;</span></p>
</td>
<td style="vertical-align:middle; width:942px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">这个标签用于查询模式来获取该连接的源picker对象的id。</span></p>
<p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">用在创建模式时,并必须同时指定-target标签来指定目标picker对象的id。这个标签不能用于编辑模式。</span></p>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><a id="target" class="hmanchor"></a><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-target</span><span style="font-family: 'Courier New',Courier,monospace;">(</span><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-t</span><span style="font-family: 'Courier New',Courier,monospace;">)</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">string</span></p>
</td>
</tr>
</table>
</div>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><img alt="create" title="create" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="create.gif"/><img alt="query" title="query" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="query.gif"/></p>
</td>
</tr>
<tr>
<td colspan="3" style="vertical-align:middle; padding:1px; border:none"><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:top; width:40px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="color: #000000;">&nbsp;</span></p>
</td>
<td style="vertical-align:middle; width:943px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">这个标签用于查询模式来获取该连接的目标picker对象的id。</span></p>
<p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">用在创建模式时,并必须同时指定-source标签来指定源picker对象的id。这个标签不能用于编辑模式。</span></p>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><a id="targetvalues" class="hmanchor"></a><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-targetValues</span><span style="font-family: 'Courier New',Courier,monospace;">(</span><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-tvs</span><span style="font-family: 'Courier New',Courier,monospace;">)</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">string</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><img alt="create" title="create" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="create.gif"/><img alt="query" title="query" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="query.gif"/><img alt="edit" title="edit" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="edit.gif"/></p>
</td>
</tr>
<tr>
<td colspan="3" style="vertical-align:middle; padding:1px; border:none"><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:top; width:40px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="color: #000000;">&nbsp;</span></p>
</td>
<td style="vertical-align:middle; width:943px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">这个标签用于查询模式来获取该连接的目标属性值是一个字符窜数组。以决定什么样的值情况下源picker对象才该被显示。</span></p>
<p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">在创建 / 编辑模式,您必须指定一个字符窜数组作为参数,这个字符窜由多个数值用字符&quot;,&quot; 连接而成。</span></p>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><a id="type" class="hmanchor"></a><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-type</span><span style="font-family: 'Courier New',Courier,monospace;">(</span><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-typ</span><span style="font-family: 'Courier New',Courier,monospace;">)</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><span style="color: #000000;">&nbsp;</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><img alt="query" title="query" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="query.gif"/></p>
</td>
</tr>
<tr>
<td colspan="3" style="vertical-align:middle; padding:1px; border:none"><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:top; width:40px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="color: #000000;">&nbsp;</span></p>
</td>
<td style="vertical-align:middle; width:943px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">这个标签只能用于查询模式,用来获取该连接的类别。</span></p>
<p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">你不能再编辑一个连接的类型因为它的连接类似是由目标picker对象决定的。可能的数值有&quot;parentLink&quot;&quot;attributeLink&quot;</span></p>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><a id="view" class="hmanchor"></a><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-view</span><span style="font-family: 'Courier New',Courier,monospace;">(</span><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-v</span><span style="font-family: 'Courier New',Courier,monospace;">)</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><span style="color: #000000;">&nbsp;</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><img alt="query" title="query" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="query.gif"/></p>
</td>
</tr>
<tr>
<td colspan="3" style="vertical-align:middle; padding:1px; border:none"><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:top; width:40px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="color: #000000;">&nbsp;</span></p>
</td>
<td style="vertical-align:middle; width:943px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">控制要查询编辑或创建在哪个picker视图的连接在未使用该标签的情况下默认是在当前激活的picker视图。</span></p>
<p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">该标签需要您指定一个picker视图id字符窜。该id可以通过下方式来获取(具体请查询MGPicker命名参考文档):</span></p>
<p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;"> &nbsp; &nbsp;MGPicker -q -currentPickerView; &nbsp; &nbsp; &nbsp; &nbsp;// 获取当前所执行的脚本所属于的视图的id如picker的加载命令和鼠标进入命令。仅脚本执行过程中可获取。</span><span style="font-family: 'Times New Roman',Times,Georgia,serif;"> </span></p>
<p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;"> &nbsp; &nbsp;MGPicker -q -activePickerView; &nbsp; &nbsp; &nbsp; &nbsp; // 获取当前激活视图的id.</span></p>
<p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;"> &nbsp; &nbsp;MGPicker -q -findPickerView &nbsp;&quot;pickerNodeOrFileName&quot; &nbsp;1 &quot;namespace&quot;; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // 通过指定picker节点或文件名来查找特定的picker视图id.</span></p>
<p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;"> &nbsp; &nbsp;MGPicker -q -listAllPickerViews; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;// 列出所有打开的picker视图的id.</span></p>
<p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;"> &nbsp; &nbsp;MGPicker -e -createTempPicker; &nbsp; &nbsp; // 创建一个临时picker视图并返回其id.</span></p>
<p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;"> &nbsp; &nbsp;MGPicker -e -createPicker &quot;pickerName&quot; &quot;namespace&quot; &quot;filePath&quot; &quot;nodeName&quot;; &nbsp; &nbsp; &nbsp; &nbsp;//创建一个picker视图并返回其id.</span></p>
<p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;"> &nbsp; &nbsp;MGPicker -e -readPickerNode &quot;nodeName&quot;; &nbsp; &nbsp; &nbsp; // 读取场景picker节点并返回其所打开的picker视图的id.</span></p>
<p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;"> &nbsp; &nbsp;MGPicker -e -readScenePicker &quot;nodeName&quot; &quot;pickerName&quot; &quot;namespace&quot; &quot;pickerDataString&quot;; &nbsp; &nbsp; &nbsp; // 读取场景picker节点并返回其所打开的picker视图的id.</span></p>
<p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;"> &nbsp; &nbsp;MGPicker -e -readPickerFile &quot;pickerFilePath&quot; 1; &nbsp; &nbsp; &nbsp; &nbsp; // 读取picker文件并返回其所打开的picker视图的id.</span></p>
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</div>
<hr style="height:2px; color:#CCCCCC; border-width:0; background-color:#cccccc;" /><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 10px 0 0 0;"><table style="background-color:#eeeeee; border:none; border-spacing:1px;">
<tr>
<td style="vertical-align:top; padding:4px; border:none"><p><img alt="create" width="13" height="16" style="margin:0;width:13px;height:16px;border:none" src="create.gif"/><span class="f_ImageCaption"> </span><span style="font-family: 'Times New Roman',Times,Georgia,serif;">标签可以在创建模式中使用</span></p>
</td>
<td style="vertical-align:top; padding:4px; border:none"><p><img alt="edit" width="13" height="16" style="margin:0;width:13px;height:16px;border:none" src="edit.gif"/><span class="f_ImageCaption"> </span><span style="font-family: 'Times New Roman',Times,Georgia,serif;">标签可以在编辑模式中使用</span></p>
</td>
</tr>
<tr>
<td style="vertical-align:top; padding:4px; border:none"><p><img alt="query" width="13" height="16" style="margin:0;width:13px;height:16px;border:none" src="query.gif"/><span class="f_ImageCaption"> </span><span style="font-family: 'Times New Roman',Times,Georgia,serif;">标签可以在查询模式中使用</span></p>
</td>
<td style="vertical-align:top; padding:4px; border:none"><p><img alt="multiuse" width="13" height="16" style="margin:0;width:13px;height:16px;border:none" src="multiuse.gif"/><span class="f_ImageCaption"> </span><span style="font-family: 'Times New Roman',Times,Georgia,serif;">标签可以在一条命令中多次使用</span></p>
</td>
</tr>
</table>
</div>
<p style="margin: 19px 0 0 0;"><a id="examples" class="hmanchor"></a><span style="font-size: 14pt; font-family: 'Times New Roman',Times,Georgia,serif; font-weight: bold;">MEL例子</span></p>
<p class="p_Normal" style="line-height: 1.0; white-space: nowrap; margin: 19px 0 0 0;"><span style="font-family: 'Courier New',Courier,monospace;">//You&nbsp;must&nbsp;make&nbsp;sure&nbsp;the&nbsp;picker&nbsp;item:&nbsp;selectButton1,&nbsp;selectButton2,&nbsp;attributeButton1&nbsp;are&nbsp;alreay&nbsp;in&nbsp;scene&nbsp;in&nbsp;order&nbsp;to&nbsp;test&nbsp;these&nbsp;codes.</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">//link&nbsp;two&nbsp;select-buttons&nbsp;with&nbsp;parent&nbsp;link.</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">//for&nbsp;select-button,&nbsp;the&nbsp;target&nbsp;attribute&nbsp;value&nbsp;flag&nbsp;makes&nbsp;no&nbsp;sense.</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">//you&nbsp;don't&nbsp;want&nbsp;to&nbsp;assign&nbsp;a&nbsp;custom&nbsp;link&nbsp;name&nbsp;here,&nbsp;since&nbsp;it&nbsp;is&nbsp;always&nbsp;sourcePickerItemName&gt;targetPickerItemName. &nbsp; &nbsp; &nbsp; &nbsp;</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">string&nbsp;$newParentLink&nbsp;=&nbsp;`MGPickerLink&nbsp;-s&nbsp;selectButton1&nbsp;-t&nbsp;selectButton2`;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">print&nbsp;(&quot;The&nbsp;type&nbsp;for&nbsp;the&nbsp;link&nbsp;\&quot;&quot;+$newParentLink+&quot;\&quot;&nbsp;is:&nbsp;&quot;+`MGPickerLink&nbsp;-q&nbsp;-type&nbsp;$newParentLink`&nbsp;+&nbsp;&quot;.\n&quot;);</span></p>
<p class="p_Normal" style="line-height: 1.0; white-space: nowrap; margin: 19px 0 0 0;"><span style="font-family: 'Courier New',Courier,monospace;">//link&nbsp;seelct-button&nbsp;to&nbsp;a&nbsp;attribute&nbsp;button,&nbsp;a&nbsp;attribute-link&nbsp;will&nbsp;be&nbsp;created.</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">string&nbsp;$newAttrLink&nbsp;=&nbsp;`MGPickerLink&nbsp;-s&nbsp;&quot;selectButton1&quot;&nbsp;-t&nbsp;&quot;attributeButton1&quot;&nbsp;-targetValues&nbsp;&quot;Green,Red&quot;`;</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">print&nbsp;&quot;The&nbsp;item&nbsp;selectButton1&nbsp;is&nbsp;linked&nbsp;and&nbsp;controlled&nbsp;by&nbsp;the&nbsp;item&nbsp;attributeButton1&nbsp;at&nbsp;values:&nbsp;\n&quot;;</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">print&nbsp;`MGPickerLink&nbsp;-q&nbsp;-targetValues&nbsp;$newAttrLink`;</span></p>
<p style="margin: 19px 0 0 0;"><a id="pyexamples" class="hmanchor"></a><span style="font-size: 14pt; font-family: 'Times New Roman',Times,Georgia,serif; font-weight: bold;">Python例子</span></p>
<p style="margin: 19px 0 0 0;"><span style="font-family: 'Courier New',Courier,monospace;">from mgpicker import mgp</span></p>
<p style="margin: 19px 0 0 0;"><span style="font-family: 'Courier New',Courier,monospace;">#You must make sure the picker item: selectButton1, selectButton2, attributeButton1 are already in scene in order to test these codes.</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">#link two select-buttons with parent link.</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">#for select-button, the target attribute value flag makes no sense.</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">#you don't want to assign a custom link name here, since it is always sourcePickerItemName&gt;targetPickerItemName. &nbsp; &nbsp; &nbsp; &nbsp;</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">newParentLink = mgp.MGPickerLink(s='selectButton1',t='selectButton2') &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">print (&quot;The type for the link \&quot;&quot;+newParentLink+&quot;\&quot; is: &quot;+ mgp.MGPickerLink(newParentLink, q=True,type=True) + &quot;.\n&quot;)</span></p>
<p class="p_Normal" style="line-height: 1.0; white-space: nowrap; margin: 19px 0 0 0;"><span style="font-family: 'Courier New',Courier,monospace;">#link&nbsp;seelct-button&nbsp;to&nbsp;a&nbsp;attribute&nbsp;button,&nbsp;a&nbsp;attribute-link&nbsp;will&nbsp;be&nbsp;created.</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">newAttrLink&nbsp;=&nbsp;mgp.MGPickerLink(s='selectButton1',t='attributeButton1',targetValues='Green,Red')</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">print&nbsp;(&quot;The&nbsp;item&nbsp;selectButton1&nbsp;is&nbsp;linked&nbsp;and&nbsp;controlled&nbsp;by&nbsp;the&nbsp;item&nbsp;attributeButton1&nbsp;at&nbsp;values:&nbsp;\n&quot;)</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">print&nbsp;(mgp.MGPickerLink(newAttrLink,q=True,targetValues=True))</span></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="mgpickeritem.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></a>
<a href="mgpickermenu.htm"><img border="0" src="../common/images/MGtoolsHelp_next.gif" width="34" height="22" alt="Next" /></a></td>
</tr>
</table>
</body>
</html>

View File

@@ -0,0 +1,460 @@
<!DOCTYPE html>
<html>
<head>
<title>MGPickerMenu Command</title>
<meta name="generator" content="Help &amp; Manual" />
<meta name="keywords" content="API,menu,MGPickerMenu command" />
<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", "mgpickermenu.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>&nbsp;
<a href="mgpickerlink.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></a>
<a href="mgpickermenuitem.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">
<div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:middle; height:8px; padding:1px; border:none"><p><span style="font-family: 'Times New Roman',Times,Georgia,serif; font-weight: bold;">命令</span><span style="font-family: 'Times New Roman',Times,Georgia,serif;"> (MEL/Python)</span></p>
</td>
</tr>
<tr>
<td style="vertical-align:middle; height:48px; padding:1px; border:none"><h1 class="p_Heading1" style="margin: 19px 0 19px 0;"><span class="f_Heading1" style="font-size: 24pt; font-family: 'Times New Roman',Times,Georgia,serif;">MGPickerMenu</span></h1>
</td>
</tr>
</table>
</div>
<p class="p_Normal" style="margin: 14px 0 0 0;"><span style="font-family: 'Times New Roman',Times,Georgia,serif;">跳转到: </span><span style="font-size: 12pt; font-family: 'Times New Roman',Times,Georgia,serif;"><a href="mgpickermenu.htm#synopsis" class="topiclink">概要</a>. <a href="mgpickermenu.htm#examples" class="topiclink">MEL例子</a>. <a href="mgpickermenu.htm#pyexamples" class="topiclink">Python例子</a>.</span></p>
<p class="p_Normal" style="margin: 19px 0 0 0;"><a id="synopsis" class="hmanchor"></a><span style="font-size: 14pt; font-family: 'Times New Roman',Times,Georgia,serif; font-weight: bold;">概要</span></p>
<p class="p_Normal" style="margin: 19px 0 0 0;"><span style="font-family: 'Courier New',Courier,monospace;">MGPickerMenu (menuIDString, [<a href="mgpickermenu.htm#addmenuitem" class="topiclink">addMenuItem</a>=</span><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">(string, string, string, string, string)</span><span style="font-family: 'Courier New',Courier,monospace;">], [<a href="https://www.helpandmanual.com/order.html" class="topiclink">copyMenu</a>=</span><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">boolean</span><span style="font-family: 'Courier New',Courier,monospace;">], [<a href="mgpickermenu.htm#copypairedmenu" class="topiclink">copyPairedMenu</a>=</span><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">boolean</span><span style="font-family: 'Courier New',Courier,monospace;">], [<a href="mgpickermenu.htm#deleteallitems" class="topiclink">deleteAllItems</a>=</span><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">boolean</span><span style="font-family: 'Courier New',Courier,monospace;">], &nbsp;[<a href="mgpickermenu.htm#exist" class="topiclink">exist</a>=</span><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">boolean</span><span style="font-family: 'Courier New',Courier,monospace;">], [<a href="mgpickermenu.htm#itemarray" class="topiclink">itemArray</a>=</span><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">boolean</span><span style="font-family: 'Courier New',Courier,monospace;">], [<a href="mgpickermenu.htm#insertmenuitem" class="topiclink">insertMenuItem</a>=(int, </span><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">string, string, string, string, string)</span><span style="font-family: 'Courier New',Courier,monospace;">], [<a href="mgpickermenu.htm#mode" class="topiclink">mode</a>=</span><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">string</span><span style="font-family: 'Courier New',Courier,monospace;">], [<a href="mgpickermenu.htm#menuitem" class="topiclink">menuItem</a>=</span><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">int</span><span style="font-family: 'Courier New',Courier,monospace;">], [<a href="mgpickermenu.htm#markingmenu" class="topiclink">markingMenu</a>=</span><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">boolean</span><span style="font-family: 'Courier New',Courier,monospace;">],[<a href="mgpickermenu.htm#numberofitems" class="topiclink">numberOfItems</a>=</span><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">boolean</span><span style="font-family: 'Courier New',Courier,monospace;">],[<a href="mgpickermenu.htm#parent" class="topiclink">parent</a>=</span><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">string</span><span style="font-family: 'Courier New',Courier,monospace;">],[<a href="mgpickermenu.htm#popoutsidebbox" class="topiclink">popOutsideBBox</a>=</span><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">boolean</span><span style="font-family: 'Courier New',Courier,monospace;">], [<a href="mgpickermenu.htm#userightmenu" class="topiclink">useRightMenu</a>=</span><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">boolean</span><span style="font-family: 'Courier New',Courier,monospace;">], [<a href="mgpickermenu.htm#view" class="topiclink">view</a>=</span><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">string</span><span style="font-family: 'Courier New',Courier,monospace;">])</span></p>
<p class="p_Normal" style="margin: 14px 0 14px 0;"><span style="font-size: 12pt; font-family: 'Times New Roman',Times,Georgia,serif;">MGPickerMenu </span><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif; font-weight: bold;">不可撤消</span><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">, 可以查询且可以编辑</span><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;"></span></p>
<p style="line-height: 1.80;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">你不需要创建菜单因为对于每一个picker对象来讲已经有左键右键菜单只是初始是空的看起来像没有你需要做的只是查询和编辑它。</span></p>
<p style="line-height: 1.80;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">你仍可在创建模式下使用该命令不过它只是帮你获取相应的菜单id罢了。</span></p>
<p style="line-height: 1.80;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">在查询和编辑模式下一定要提供菜单id。菜单id的格式是这样的</span></p>
<p style="line-height: 1.80;"><span style="width:48px;display:inline-block">&nbsp;</span><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">commandButton1.rightmenu &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;//Picker按钮&quot;commandButton1&quot;的右键菜单的id.</span></p>
<p style="line-height: 1.80;"><span style="width:48px;display:inline-block">&nbsp;</span><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">selectButton1.leftmenu &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;//Picker按钮&quot;commandButton1&quot;的左键菜单的id.</span></p>
<p style="line-height: 1.38;"><span style="color: #000000;">&nbsp;</span></p>
<p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">在编辑模式下一些编辑性的flag会互相排斥只会执行第一个就返回结果。</span></p>
<p class="p_Normal">&nbsp;</p>
<div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:bottom; background-color:#CCCCCC; padding:1px; border:none"><p><span style="font-family: 'Times New Roman',Times,Georgia,serif; font-weight: bold;">长名 (短名)</span></p>
</td>
<td style="vertical-align:bottom; background-color:#CCCCCC; padding:1px; border:none"><p><span style="font-family: 'Times New Roman',Times,Georgia,serif; font-style: italic; font-weight: bold;">参数类型</span></p>
</td>
<td style="vertical-align:bottom; background-color:#CCCCCC; padding:1px; border:none"><p><span style="font-family: 'Times New Roman',Times,Georgia,serif; font-weight: bold;">属性</span></p>
</td>
</tr>
<tr>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><a id="addmenuitem" class="hmanchor"></a><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-addMenuItem</span><span style="font-family: 'Courier New',Courier,monospace;">(</span><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-ami</span><span style="font-family: 'Courier New',Courier,monospace;">)</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">string string string script string</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><img alt="create" title="create" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="create.gif"/><img alt="edit" title="edit" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="edit.gif"/></p>
</td>
</tr>
<tr>
<td colspan="3" style="vertical-align:middle; padding:1px; border:none"><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:top; width:40px; padding:1px; border:none"><br />
</td>
<td style="vertical-align:middle; width:943px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">只能用于编辑模式或创建模式,添加一个子菜单项。需要指定标签,图标路径,命令语言(&quot;mel&quot;&quot;python&quot;) 命令 及 marking菜单的方向 (&quot;N&quot;, &quot;NW&quot;, &quot;W&quot;, &quot;SW&quot;, &quot;S&quot;, &quot;SE&quot;, &quot;E&quot; or &quot;NE&quot;).</span></p>
<p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">* 要注意的是即使该标签被用在创建模式它返回的也是新加入的子菜单的id而不是菜单本身的id。</span></p>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><a id="copymenu" class="hmanchor"></a><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-copyMenu</span><span style="font-family: 'Courier New',Courier,monospace;">(</span><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-cm</span><span style="font-family: 'Courier New',Courier,monospace;">)</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">string</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><img alt="create" title="create" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="create.gif"/><img alt="edit" title="edit" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="edit.gif"/></p>
</td>
</tr>
<tr>
<td colspan="3" style="vertical-align:middle; padding:1px; border:none"><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:top; width:40px; padding:1px; border:none"><br />
</td>
<td style="vertical-align:middle; width:943px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">只能用于编辑模式用来从指定菜单id中复制所有内容到该菜单中。</span></p>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><a id="copypairedmenu" class="hmanchor"></a><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-copyPairedMenu</span><span style="font-family: 'Courier New',Courier,monospace;">(</span><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-cpm</span><span style="font-family: 'Courier New',Courier,monospace;">)</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><br />
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><img alt="create" title="create" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="create.gif"/><img alt="edit" title="edit" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="edit.gif"/></p>
</td>
</tr>
<tr>
<td colspan="3" style="vertical-align:middle; padding:1px; border:none"><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:top; width:40px; padding:1px; border:none"><br />
</td>
<td style="vertical-align:middle; width:943px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">只能用于编辑模式,用来从成对的菜单中复制所有内容到该菜单中。如从左键菜单复制内容到右键菜单,从右键菜单中复制内容到左键菜单。</span></p>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><a id="deleteallitems" class="hmanchor"></a><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-deleteAllItems</span><span style="font-family: 'Courier New',Courier,monospace;">(</span><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-dai</span><span style="font-family: 'Courier New',Courier,monospace;">)</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><br />
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><img alt="create" title="create" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="create.gif"/><img alt="edit" title="edit" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="edit.gif"/></p>
</td>
</tr>
<tr>
<td colspan="3" style="vertical-align:middle; padding:1px; border:none"><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:top; width:40px; padding:1px; border:none"><br />
</td>
<td style="vertical-align:middle; width:943px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">只能用于编辑模式,清空菜单的内容。</span></p>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><a id="exist" class="hmanchor"></a><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-exist</span><span style="font-family: 'Courier New',Courier,monospace;">(</span><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-ex</span><span style="font-family: 'Courier New',Courier,monospace;">)</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><br />
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><img alt="query" title="query" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="query.gif"/></p>
</td>
</tr>
<tr>
<td colspan="3" style="vertical-align:middle; padding:1px; border:none"><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:top; width:40px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="color: #000000;">&nbsp;</span></p>
</td>
<td style="vertical-align:middle; width:943px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">只能用于查询模式, 是否菜单id存在。</span></p>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><a id="itemarray" class="hmanchor"></a><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-itemArray</span><span style="font-family: 'Courier New',Courier,monospace;">(</span><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-ia</span><span style="font-family: 'Courier New',Courier,monospace;">)</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><br />
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><img alt="query" title="query" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="query.gif"/></p>
</td>
</tr>
<tr>
<td colspan="3" style="vertical-align:middle; padding:1px; border:none"><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:top; width:40px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="color: #000000;">&nbsp;</span></p>
</td>
<td style="vertical-align:middle; width:943px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">只能用于查询模式, 返回所有子菜单的id字符窜数组。</span></p>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><a id="insertmenuitem" class="hmanchor"></a><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-insertMenuItem</span><span style="font-family: 'Courier New',Courier,monospace;">(</span><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-imi</span><span style="font-family: 'Courier New',Courier,monospace;">)</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">int string string string script string</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><img alt="create" title="create" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="create.gif"/><img alt="edit" title="edit" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="edit.gif"/></p>
</td>
</tr>
<tr>
<td colspan="3" style="vertical-align:middle; padding:1px; border:none"><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:top; width:40px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="color: #000000;">&nbsp;</span></p>
</td>
<td style="vertical-align:middle; width:943px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">只能用于编辑模式或创建模式,用来在特定的索引处插入一个子菜单项。需要指定索引,标签,图标路径,命令语言(&quot;mel&quot;&quot;python&quot;) 命令 及 marking菜单的方向 (&quot;N&quot;, &quot;NW&quot;, &quot;W&quot;, &quot;SW&quot;, &quot;S&quot;, &quot;SE&quot;, &quot;E&quot; or &quot;NE&quot;).</span></p>
<p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">* 要注意的是即使该标签被用在创建模式它返回的也是新加入的子菜单的id而不是菜单本身的id。</span></p>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><a id="mode" class="hmanchor"></a><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-mode</span><span style="font-family: 'Courier New',Courier,monospace;">(</span><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-m</span><span style="font-family: 'Courier New',Courier,monospace;">)</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p class="p_Normal"><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">string</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><img alt="create" title="create" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="create.gif"/><img alt="query" title="query" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="query.gif"/></p>
</td>
</tr>
<tr>
<td colspan="3" style="vertical-align:middle; padding:1px; border:none"><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:top; width:40px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="color: #000000;">&nbsp;</span></p>
</td>
<td style="vertical-align:middle; width:943px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">在查询模式下返回该菜单id属性右键还是左键菜单。在创建模式下这个标签是必须的用来指定你要获取的是右键的还是左键菜单id。创建模式下-parent标签也是必须的</span></p>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><a id="menuitem" class="hmanchor"></a><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-menuItem</span><span style="font-family: 'Courier New',Courier,monospace;">(</span><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-mi</span><span style="font-family: 'Courier New',Courier,monospace;">)</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">int</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><img alt="query" title="query" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="query.gif"/></p>
</td>
</tr>
<tr>
<td colspan="3" style="vertical-align:middle; padding:1px; border:none"><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:top; width:40px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="color: #000000;">&nbsp;</span></p>
</td>
<td style="vertical-align:middle; width:943px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">只能用于查询模式, 返回在特定索引值的子菜单的id字符窜。</span></p>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><a id="markingmenu" class="hmanchor"></a><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-markingMenu</span><span style="font-family: 'Courier New',Courier,monospace;">(</span><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-mm</span><span style="font-family: 'Courier New',Courier,monospace;">)</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">boolean</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><img alt="create" title="create" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="create.gif"/><img alt="query" title="query" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="query.gif"/><img alt="edit" title="edit" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="edit.gif"/></p>
</td>
</tr>
<tr>
<td colspan="3" style="vertical-align:middle; padding:1px; border:none"><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:top; width:40px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="color: #000000;">&nbsp;</span></p>
</td>
<td style="vertical-align:middle; width:942px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">查询或编辑菜单是否是一个marking menu。</span></p>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><a id="numberofitems" class="hmanchor"></a><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-numberOfItems</span><span style="font-family: 'Courier New',Courier,monospace;">(</span><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-ni</span><span style="font-family: 'Courier New',Courier,monospace;">)</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><span style="color: #000000;">&nbsp;</span></p>
</td>
</tr>
</table>
</div>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><img alt="query" title="query" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="query.gif"/></p>
</td>
</tr>
<tr>
<td colspan="3" style="vertical-align:middle; padding:1px; border:none"><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:top; width:40px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="color: #000000;">&nbsp;</span></p>
</td>
<td style="vertical-align:middle; width:943px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">查询子菜单的数目。</span></p>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><a id="parent" class="hmanchor"></a><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-parent</span><span style="font-family: 'Courier New',Courier,monospace;">(</span><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-p</span><span style="font-family: 'Courier New',Courier,monospace;">)</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">string</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><img alt="create" title="create" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="create.gif"/><img alt="query" title="query" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="query.gif"/></p>
</td>
</tr>
<tr>
<td colspan="3" style="vertical-align:middle; padding:1px; border:none"><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:top; width:40px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="color: #000000;">&nbsp;</span></p>
</td>
<td style="vertical-align:middle; width:943px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">在查询模式下返回该菜单所属的picker对象id。在创建模式下这个标签是必须的用来指定你要获取的是哪个picker对象的菜单id。创建模式下-mode 标签也是必须的)</span></p>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><a id="popoutsidebbox" class="hmanchor"></a><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-popOutsideBBox</span><span style="font-family: 'Courier New',Courier,monospace;">(</span><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-pob</span><span style="font-family: 'Courier New',Courier,monospace;">) </span><img alt="v2_transparent" width="34" height="12" style="margin:0;width:34px;height:12px;border:none" src="v2_transparent.png"/></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">boolean</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><img alt="create" title="create" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="create.gif"/><img alt="query" title="query" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="query.gif"/><img alt="edit" title="edit" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="edit.gif"/></p>
</td>
</tr>
<tr>
<td colspan="3" style="vertical-align:middle; padding:1px; border:none"><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:top; width:40px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="color: #000000;">&nbsp;</span></p>
</td>
<td style="vertical-align:middle; width:943px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">决定菜单是在鼠标点击处弹出,还是在对象的形状矩形框外弹出。比如你把一个命令按钮作为菜单栏的菜单,点击时你会希望菜单在命令按钮下方弹出而不是在鼠标点击处。</span></p>
<p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">默认值为False, 即在鼠标点击处弹出菜单。</span></p>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><a id="userightmenu" class="hmanchor"></a><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-useRightMenu</span><span style="font-family: 'Courier New',Courier,monospace;">(</span><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-urm</span><span style="font-family: 'Courier New',Courier,monospace;">)</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">boolean</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><img alt="create" title="create" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="create.gif"/><img alt="query" title="query" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="query.gif"/><img alt="edit" title="edit" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="edit.gif"/></p>
</td>
</tr>
<tr>
<td colspan="3" style="vertical-align:middle; padding:1px; border:none"><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:top; width:40px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="color: #000000;">&nbsp;</span></p>
</td>
<td style="vertical-align:middle; width:943px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">决定是否左键菜单要完全使用右键菜单的内容。对于本来就是右键菜单则编辑无效因为右键菜单的这个值永远是true。</span></p>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><a id="view" class="hmanchor"></a><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-view</span><span style="font-family: 'Courier New',Courier,monospace;">(</span><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-v</span><span style="font-family: 'Courier New',Courier,monospace;">)</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">string</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><img alt="create" title="create" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="create.gif"/><img alt="query" title="query" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="query.gif"/><img alt="edit" title="edit" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="edit.gif"/></p>
</td>
</tr>
<tr>
<td colspan="3" style="vertical-align:middle; padding:1px; border:none"><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:top; width:40px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="color: #000000;">&nbsp;</span></p>
</td>
<td style="vertical-align:middle; width:943px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">决定你要查询哪个picker视图的菜单。要指定一个合法的视图id。</span></p>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td style="vertical-align:top; padding:1px; border:none"><br />
</td>
<td style="vertical-align:top; padding:1px; border:none"><br />
</td>
<td style="vertical-align:top; padding:1px; border:none"><br />
</td>
</tr>
<tr>
<td style="vertical-align:top; padding:1px; border:none"><br />
</td>
<td style="vertical-align:top; padding:1px; border:none"><br />
</td>
<td style="vertical-align:top; padding:1px; border:none"><br />
</td>
</tr>
</table>
</div>
<hr style="height:2px; color:#CCCCCC; border-width:0; background-color:#cccccc;" /><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 10px 0 0 0;"><table style="background-color:#eeeeee; border:none; border-spacing:1px;">
<tr>
<td style="vertical-align:top; padding:4px; border:none"><p><img alt="create" width="13" height="16" style="margin:0;width:13px;height:16px;border:none" src="create.gif"/><span class="f_ImageCaption"> </span><span style="font-size: 11pt; font-family: 宋体;">标签可以在创建模式中使用</span></p>
</td>
<td style="vertical-align:top; padding:4px; border:none"><p><img alt="edit" width="13" height="16" style="margin:0;width:13px;height:16px;border:none" src="edit.gif"/><span class="f_ImageCaption"> </span><span style="font-size: 11pt; font-family: 宋体;">标签可以在编辑模式中使用</span></p>
</td>
</tr>
<tr>
<td style="vertical-align:top; padding:4px; border:none"><p><img alt="query" width="13" height="16" style="margin:0;width:13px;height:16px;border:none" src="query.gif"/><span class="f_ImageCaption"> </span><span style="font-size: 11pt; font-family: 宋体;">标签可以在查询模式中使用</span></p>
</td>
<td style="vertical-align:top; padding:4px; border:none"><p><img alt="multiuse" width="13" height="16" style="margin:0;width:13px;height:16px;border:none" src="multiuse.gif"/><span class="f_ImageCaption"> </span><span style="font-size: 11pt; font-family: 宋体;">标签可以在一条命令中多次使用</span></p>
</td>
</tr>
</table>
</div>
<p style="margin: 19px 0 0 0;"><a id="examples" class="hmanchor"></a><span style="font-size: 14pt; font-family: 'Times New Roman',Times,Georgia,serif; font-weight: bold;">MEL</span><span style="font-size: 14pt; font-family: 宋体; font-weight: bold;">例子</span></p>
<p class="p_Normal" style="line-height: 1.0; white-space: nowrap; margin: 19px 0 0 0;"><span style="font-family: 'Courier New',Courier,monospace;">//&nbsp;You&nbsp;must&nbsp;make&nbsp;sure&nbsp;the&nbsp;picker&nbsp;item:&nbsp;commandButton1&nbsp;is&nbsp;already&nbsp;in&nbsp;scene&nbsp;in&nbsp;order&nbsp;to&nbsp;test&nbsp;these&nbsp;codes.</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">//&nbsp;To&nbsp;form&nbsp;a&nbsp;picker&nbsp;menu&nbsp;id,&nbsp;use&nbsp;pickerItemId.leftmenu&nbsp;/&nbsp;pickerItemId.rightmenu</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">string&nbsp;$cmdButton&nbsp;=&nbsp;&quot;commandButton1&quot;;</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">string&nbsp;$rightMenu&nbsp;=&nbsp;`MGPickerMenu&nbsp;-p&nbsp;$cmdButton&nbsp;-m&nbsp;&quot;rightmenu&quot;`; &nbsp; &nbsp; &nbsp; &nbsp;//This&nbsp;just&nbsp;retrieves&nbsp;the&nbsp;id&nbsp;&quot;commandButton1.rightmenu&quot;&nbsp;instead&nbsp;of&nbsp;creating&nbsp;it.</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">&nbsp;</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">//&nbsp;Add&nbsp;/&nbsp;Insert&nbsp;a&nbsp;menu&nbsp;item:</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">string&nbsp;$menuItem1&nbsp;=&nbsp;`MGPickerMenu&nbsp;-e&nbsp;-addMenuItem&nbsp;&quot;First&nbsp;Menu&nbsp;Item&quot;&nbsp;&quot;/path/to/icon0.png&quot;&nbsp;&quot;mel&quot;&nbsp;&quot;print&nbsp;\&quot;It&nbsp;works!\&quot;&quot;&nbsp;&quot;N&quot;&nbsp;$rightMenu`;</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">string&nbsp;$menuItem3&nbsp;=&nbsp;`MGPickerMenu&nbsp;-e&nbsp;-addMenuItem&nbsp;&quot;Third&nbsp;Menu&nbsp;Item&quot;&nbsp;&quot;/path/to/icon2.png&quot;&nbsp;&quot;python&quot;&nbsp;&quot;print&nbsp;'It&nbsp;works!'&quot;&nbsp;&quot;S&quot;&nbsp;$rightMenu`;</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">string&nbsp;$menuItem2&nbsp;=&nbsp;`MGPickerMenu&nbsp;-e&nbsp;-insertMenuItem&nbsp;1&nbsp;&quot;Second&nbsp;Menu&nbsp;Item&quot;&nbsp;&quot;/path/to/icon1.png&quot;&nbsp;&quot;python&quot;&nbsp;&quot;print&nbsp;'It&nbsp;inserts!'&quot;&nbsp;&quot;E&quot;&nbsp;$rightMenu`;</span></p>
<p class="p_Normal" style="line-height: 1.0; white-space: nowrap; margin: 19px 0 0 0;"><span style="font-family: 'Courier New',Courier,monospace;">//&nbsp;Now&nbsp;you&nbsp;can&nbsp;test&nbsp;right&nbsp;click&nbsp;on&nbsp;commandButton1&nbsp;using&nbsp;preview&nbsp;tool,&nbsp;see&nbsp;menu&nbsp;pops&nbsp;up!</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">&nbsp;</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">//&nbsp;Let's&nbsp;continue&nbsp;to&nbsp;toggle&nbsp;on&nbsp;the&nbsp;marking&nbsp;menu&nbsp;state&nbsp;of&nbsp;the&nbsp;menu.</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">MGPickerMenu&nbsp;-e&nbsp;-markingMenu&nbsp;1&nbsp;$rightMenu;</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">//&nbsp;Now&nbsp;you&nbsp;can&nbsp;test&nbsp;right&nbsp;click&nbsp;on&nbsp;commandButton1&nbsp;using&nbsp;preview&nbsp;tool,&nbsp;see&nbsp;marking&nbsp;menu&nbsp;pops&nbsp;up!</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">&nbsp;</span></p>
<p style="margin: 19px 0 0 0;"><a id="pyexamples" class="hmanchor"></a><span style="font-size: 14pt; font-family: 'Times New Roman',Times,Georgia,serif; font-weight: bold;">Python例子</span></p>
<p style="margin: 19px 0 0 0;"><span style="font-family: 'Courier New',Courier,monospace;">from mgpicker import mgp</span></p>
<p class="p_Normal" style="line-height: 1.0; white-space: nowrap; margin: 19px 0 0 0;"><span style="font-family: 'Courier New',Courier,monospace;">#&nbsp;You&nbsp;must&nbsp;make&nbsp;sure&nbsp;the&nbsp;picker&nbsp;item:&nbsp;commandButton1&nbsp;is&nbsp;already&nbsp;in&nbsp;scene&nbsp;in&nbsp;order&nbsp;to&nbsp;test&nbsp;these&nbsp;codes.</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">#&nbsp;To&nbsp;form&nbsp;a&nbsp;picker&nbsp;menu&nbsp;id,&nbsp;use&nbsp;pickerItemId.leftmenu&nbsp;/&nbsp;pickerItemId.rightmenu</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">cmdButton&nbsp;=&nbsp;'commandButton1'</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">rightMenu&nbsp;=&nbsp;mgp.MGPickerMenu(p=cmdButton,&nbsp;mode='rightmenu')&nbsp;#&nbsp;This&nbsp;just&nbsp;retrieves&nbsp;the&nbsp;id&nbsp;&quot;commandButton1.rightmenu&quot;&nbsp;instead&nbsp;of&nbsp;creating&nbsp;it.</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">&nbsp;</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">#&nbsp;&nbsp;Add&nbsp;/&nbsp;Insert&nbsp;a&nbsp;menu&nbsp;item:</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">menuItem1&nbsp;=&nbsp;mgp.MGPickerMenu(rightMenu,&nbsp;e=True,&nbsp;addMenuItem=('First&nbsp;Menu&nbsp;Item',&nbsp;'/path/to/icon0.png',&nbsp;'mel',&nbsp;'print&nbsp;&quot;It&nbsp;works!&quot;',&nbsp;'N'))</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">menuItem3&nbsp;=&nbsp;mgp.MGPickerMenu(rightMenu,&nbsp;e=True,&nbsp;addMenuItem=('Third&nbsp;Menu&nbsp;Item',&nbsp;'/path/to/icon2.png',&nbsp;'python',&nbsp;'print&nbsp;&quot;It&nbsp;works!&quot;',&nbsp;'S'))</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">menuItem2&nbsp;=&nbsp;mgp.MGPickerMenu(rightMenu,&nbsp;e=True,&nbsp;insertMenuItem=(1,&nbsp;'Second&nbsp;Menu&nbsp;Item',&nbsp;'/path/to/icon1.png',&nbsp;'python',&nbsp;'print&nbsp;&quot;It&nbsp;inserts!&quot;',&nbsp;'E'))</span></p>
<p class="p_Normal" style="line-height: 1.0; white-space: nowrap; margin: 19px 0 0 0;"><span style="font-family: 'Courier New',Courier,monospace;">#&nbsp;Now&nbsp;you&nbsp;can&nbsp;test&nbsp;right&nbsp;click&nbsp;on&nbsp;commandButton1&nbsp;using&nbsp;preview&nbsp;tool,&nbsp;see&nbsp;menu&nbsp;pops&nbsp;up!</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">&nbsp;</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">#&nbsp;Let's&nbsp;continue&nbsp;to&nbsp;toggle&nbsp;on&nbsp;the&nbsp;marking&nbsp;menu&nbsp;state&nbsp;of&nbsp;the&nbsp;menu.</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">mgp.MGPickerMenu(rightMenu,&nbsp;e=True,&nbsp;markingMenu=True&nbsp;)</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">#&nbsp;Now&nbsp;you&nbsp;can&nbsp;test&nbsp;right&nbsp;click&nbsp;on&nbsp;commandButton1&nbsp;using&nbsp;preview&nbsp;tool,&nbsp;see&nbsp;marking&nbsp;menu&nbsp;pops&nbsp;up!</span></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="mgpickerlink.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></a>
<a href="mgpickermenuitem.htm"><img border="0" src="../common/images/MGtoolsHelp_next.gif" width="34" height="22" alt="Next" /></a></td>
</tr>
</table>
</body>
</html>

View File

@@ -0,0 +1,556 @@
<!DOCTYPE html>
<html>
<head>
<title>MGPickerMenuItem Command</title>
<meta name="generator" content="Help &amp; Manual" />
<meta name="keywords" content="API,menu,menuItem,MGPickerMenuItem &nbsp;command" />
<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", "mgpickermenuitem.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>&nbsp;
<a href="mgpickermenu.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></a>
<a href="mgsvgimport.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">
<div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:middle; height:8px; padding:1px; border:none"><p><span style="font-family: 'Times New Roman',Times,Georgia,serif; font-weight: bold;">命令</span><span style="font-family: 'Times New Roman',Times,Georgia,serif;"> (MEL/Python)</span></p>
</td>
</tr>
<tr>
<td style="vertical-align:middle; height:48px; padding:1px; border:none"><h1 class="p_Heading1" style="margin: 19px 0 19px 0;"><span class="f_Heading1" style="font-size: 24pt; font-family: 'Times New Roman',Times,Georgia,serif;">MGPickerMenuItem</span></h1>
</td>
</tr>
</table>
</div>
<p class="p_Normal" style="margin: 14px 0 0 0;"><span style="font-family: 'Times New Roman',Times,Georgia,serif;">跳转到: </span><span style="font-size: 12pt; font-family: 'Times New Roman',Times,Georgia,serif;"><a href="mgpickermenuitem.htm#synopsis" class="topiclink">概要</a>. <a href="mgpickermenuitem.htm#examples" class="topiclink">MEL例子</a>. <a href="mgpickermenuitem.htm#pyexamples" class="topiclink">Python例子</a>.</span></p>
<p class="p_Normal" style="margin: 19px 0 0 0;"><a id="synopsis" class="hmanchor"></a><span style="font-size: 14pt; font-family: 'Times New Roman',Times,Georgia,serif; font-weight: bold;">概要</span></p>
<p class="p_Normal" style="margin: 19px 0 0 0;"><span style="font-family: 'Courier New',Courier,monospace;">MGPickerMenuItem (menuItemIDString, [<a href="mgpickermenuitem.htm#addsubmenuitem" class="topiclink">addSubMenuItem</a>=</span><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">(string, string, string, string, string)</span><span style="font-family: 'Courier New',Courier,monospace;">], [<a href="mgpickermenuitem.htm#command" class="topiclink">command</a>=</span><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">boolean</span><span style="font-family: 'Courier New',Courier,monospace;">], [<a href="mgpickermenuitem.htm#commandtype" class="topiclink">commandType</a>=</span><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">string</span><span style="font-family: 'Courier New',Courier,monospace;">], [<a href="mgpickermenuitem.htm#divider" class="topiclink">divider</a>=</span><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">boolean</span><span style="font-family: 'Courier New',Courier,monospace;">], [<a href="mgpickermenuitem.htm#dividerlabel" class="topiclink">dividerLabel</a>=</span><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">string</span><span style="font-family: 'Courier New',Courier,monospace;">], [<a href="mgpickermenuitem.htm#exist" class="topiclink">exist</a>=</span><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">boolean</span><span style="font-family: 'Courier New',Courier,monospace;">], [<a href="mgpickermenuitem.htm#image" class="topiclink">image</a>=</span><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">string</span><span style="font-family: 'Courier New',Courier,monospace;">], [<a href="mgpickermenuitem.htm#insertsubmenuitem" class="topiclink">insertSubMenuItem</a>=(int, </span><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">string, string, string, string, string)</span><span style="font-family: 'Courier New',Courier,monospace;">], [<a href="mgpickermenuitem.htm#label" class="topiclink">label</a>=</span><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">string</span><span style="font-family: 'Courier New',Courier,monospace;">], [<a href="mgpickermenuitem.htm#longdivider" class="topiclink">longDivider</a>=</span><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">boolean</span><span style="font-family: 'Courier New',Courier,monospace;">], [<a href="mgpickermenuitem.htm#numberofsubitems" class="topiclink">numberOfSubItems</a>=</span><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">boolean</span><span style="font-family: 'Courier New',Courier,monospace;">],[<a href="mgpickermenuitem.htm#parent" class="topiclink">parent</a>=</span><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">string</span><span style="font-family: 'Courier New',Courier,monospace;">],[<a href="https://www.helpandmanual.com/order.html" class="topiclink">radialPosition</a>=</span><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">string</span><span style="font-family: 'Courier New',Courier,monospace;">], [<a href="https://www.helpandmanual.com/order.html" class="topiclink">subItemArray</a>=</span><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">boolean</span><span style="font-family: 'Courier New',Courier,monospace;">], [<a href="mgpickermenuitem.htm#submenu" class="topiclink">subMenu</a>=</span><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">boolean</span><span style="font-family: 'Courier New',Courier,monospace;">], [<a href="mgpickermenuitem.htm#submenuitem" class="topiclink">subMenuItem</a>=int], [<a href="mgpickermenuitem.htm#view" class="topiclink">view</a>=</span><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">string</span><span style="font-family: 'Courier New',Courier,monospace;">])</span></p>
<p class="p_Normal" style="line-height: 1.38; margin: 14px 0 14px 0;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">MGPickerMenuItem </span><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif; font-weight: bold;">不可撤消</span><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">, 可以查询且可以编辑</span><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;"></span></p>
<p style="line-height: 1.80;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">该命令可以创建,查询,编辑子菜单项。</span></p>
<p style="line-height: 1.80;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">在查询和编辑模式下你需要指定一个合法的菜单项id。</span></p>
<p style="line-height: 1.80;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">在创建模式下,不需要指定,但需要-parent标签指定该菜单项属于哪个菜单。</span></p>
<p style="line-height: 1.80;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">菜单项的id格式是</span></p>
<p style="line-height: 1.80;"><span style="width:48px;display:inline-block">&nbsp;</span><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">commandButton1.rightmenu[0] &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;//Picker按钮&quot;commandButton1&quot;的右键菜单里第1个菜单项的id.</span></p>
<p style="line-height: 1.80;"><span style="width:48px;display:inline-block">&nbsp;</span><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">selectButton1.leftmenu[1][3] &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;//Picker按钮&quot;commandButton1&quot;的左键菜单的第2个菜单项的第4个子菜单项的id.</span></p>
<p style="line-height: 1.80;"><span style="color: #000000;">&nbsp;</span></p>
<p style="line-height: 1.80;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">目前Picker只支持最多一层的子菜单为避免菜单被设计地太复杂。</span></p>
<p class="p_Normal">&nbsp;</p>
<div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:bottom; background-color:#CCCCCC; padding:1px; border:none"><p><span style="font-family: 'Times New Roman',Times,Georgia,serif; font-weight: bold;">长名 (短名)</span></p>
</td>
<td style="vertical-align:bottom; background-color:#CCCCCC; padding:1px; border:none"><p><span style="font-family: 'Times New Roman',Times,Georgia,serif; font-style: italic; font-weight: bold;">参数类型</span></p>
</td>
<td style="vertical-align:bottom; background-color:#CCCCCC; padding:1px; border:none"><p><span style="font-family: 'Times New Roman',Times,Georgia,serif; font-weight: bold;">属性</span></p>
</td>
</tr>
<tr>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><a id="addsubmenuitem" class="hmanchor"></a><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-addSubMenuItem</span><span style="font-family: 'Courier New',Courier,monospace;">(</span><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-asi</span><span style="font-family: 'Courier New',Courier,monospace;">)</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">string string string script string</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><img alt="create" title="create" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="create.gif"/><img alt="edit" title="edit" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="edit.gif"/></p>
</td>
</tr>
<tr>
<td colspan="3" style="vertical-align:middle; padding:1px; border:none"><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:top; width:40px; padding:1px; border:none"><br />
</td>
<td style="vertical-align:middle; width:943px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">只能用于编辑模式或创建模式,添加一个子菜单项。需要指定标签,图标路径,命令语言(&quot;mel&quot;&quot;python&quot;) 命令 及 marking菜单的方向 (&quot;N&quot;, &quot;NW&quot;, &quot;W&quot;, &quot;SW&quot;, &quot;S&quot;, &quot;SE&quot;, &quot;E&quot; or &quot;NE&quot;).</span></p>
<p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">* 要注意的是即使该标签被用在创建模式它返回的也是新加入的子菜单的id而不是该菜单项本身的id。</span></p>
<p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">* 另外如果目前菜单项已经是二级子菜单则该标签只会返回空id因为不能再创建三级子菜单。</span></p>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><a id="command" class="hmanchor"></a><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-command</span><span style="font-family: 'Courier New',Courier,monospace;">(</span><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-c</span><span style="font-family: 'Courier New',Courier,monospace;">)</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">string</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><img alt="create" title="create" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="create.gif"/><img alt="query" title="query" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="query.gif"/><img alt="edit" title="edit" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="edit.gif"/></p>
</td>
</tr>
<tr>
<td colspan="3" style="vertical-align:middle; padding:1px; border:none"><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:top; width:40px; padding:1px; border:none"><br />
</td>
<td style="vertical-align:middle; width:943px; padding:1px; border:none"><p class="p_Normal"><span style="font-size: 12pt; font-family: 'Times New Roman',Times,Georgia,serif;">菜单项的命令。</span></p>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><a id="commandtype" class="hmanchor"></a><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-commandType</span><span style="font-family: 'Courier New',Courier,monospace;">(</span><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-ct</span><span style="font-family: 'Courier New',Courier,monospace;">)</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">string</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><img alt="create" title="create" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="create.gif"/><img alt="query" title="query" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="query.gif"/><img alt="edit" title="edit" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="edit.gif"/></p>
</td>
</tr>
<tr>
<td colspan="3" style="vertical-align:middle; padding:1px; border:none"><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:top; width:40px; padding:1px; border:none"><br />
</td>
<td style="vertical-align:middle; width:943px; padding:1px; border:none"><p class="p_Normal"><span style="font-size: 12pt; font-family: 'Times New Roman',Times,Georgia,serif;">菜单项的命令语言类型:&quot;mel&quot; or &nbsp;&quot;python&quot;.</span></p>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><a id="divider" class="hmanchor"></a><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-divider</span><span style="font-family: 'Courier New',Courier,monospace;">(</span><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-d</span><span style="font-family: 'Courier New',Courier,monospace;">)</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">boolean</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><img alt="create" title="create" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="create.gif"/><img alt="query" title="query" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="query.gif"/><img alt="edit" title="edit" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="edit.gif"/></p>
</td>
</tr>
<tr>
<td colspan="3" style="vertical-align:middle; padding:1px; border:none"><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:top; width:40px; padding:1px; border:none"><br />
</td>
<td style="vertical-align:middle; width:943px; padding:1px; border:none"><p class="p_Normal"><span style="font-size: 12pt; font-family: 'Times New Roman',Times,Georgia,serif;">菜单项是否是一个分隔线。</span></p>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><a id="deleteallsubitems" class="hmanchor"></a><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-deleteAllSubItems</span><span style="font-family: 'Courier New',Courier,monospace;">(</span><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-dai</span><span style="font-family: 'Courier New',Courier,monospace;">)</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><span style="color: #000000;">&nbsp;</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><img alt="create" title="create" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="create.gif"/><img alt="edit" title="edit" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="edit.gif"/></p>
</td>
</tr>
<tr>
<td colspan="3" style="vertical-align:middle; padding:1px; border:none"><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:top; width:40px; padding:1px; border:none"><br />
</td>
<td style="vertical-align:middle; width:943px; padding:1px; border:none"><p class="p_Normal"><span style="font-size: 12pt; font-family: 'Times New Roman',Times,Georgia,serif;">删除所有子菜单项。</span></p>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><a id="dividerlabel" class="hmanchor"></a><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-dividerLabel</span><span style="font-family: 'Courier New',Courier,monospace;">(</span><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-dl</span><span style="font-family: 'Courier New',Courier,monospace;">)</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">boolean</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><img alt="create" title="create" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="create.gif"/><img alt="query" title="query" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="query.gif"/><img alt="edit" title="edit" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="edit.gif"/></p>
</td>
</tr>
<tr>
<td colspan="3" style="vertical-align:middle; padding:1px; border:none"><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:top; width:40px; padding:1px; border:none"><br />
</td>
<td style="vertical-align:middle; width:943px; padding:1px; border:none"><p class="p_Normal"><span style="font-size: 12pt; font-family: 'Times New Roman',Times,Georgia,serif;">分隔线标签,只有当菜单项是一个分隔线时才有效 (dividier=True).</span></p>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><a id="exist" class="hmanchor"></a><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-exist</span><span style="font-family: 'Courier New',Courier,monospace;">(</span><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-ex</span><span style="font-family: 'Courier New',Courier,monospace;">)</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><br />
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><img alt="query" title="query" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="query.gif"/></p>
</td>
</tr>
<tr>
<td colspan="3" style="vertical-align:middle; padding:1px; border:none"><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:top; width:40px; padding:1px; border:none"><br />
</td>
<td style="vertical-align:middle; width:943px; padding:1px; border:none"><p class="p_Normal"><span style="font-size: 12pt; font-family: 'Times New Roman',Times,Georgia,serif;">查询菜单项是否存在。</span></p>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><a id="image" class="hmanchor"></a><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-image</span><span style="font-family: 'Courier New',Courier,monospace;">(</span><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-i</span><span style="font-family: 'Courier New',Courier,monospace;">)</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p class="p_Normal"><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">string</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><img alt="create" title="create" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="create.gif"/><img alt="query" title="query" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="query.gif"/><img alt="edit" title="edit" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="edit.gif"/></p>
</td>
</tr>
<tr>
<td colspan="3" style="vertical-align:middle; padding:1px; border:none"><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:top; width:40px; padding:1px; border:none"><br />
</td>
<td style="vertical-align:middle; width:943px; padding:1px; border:none"><p class="p_Normal"><span style="font-size: 12pt; font-family: 'Times New Roman',Times,Georgia,serif;">菜单项的图标路径。</span></p>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><a id="insertsubmenuitem" class="hmanchor"></a><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-insertSubMenuItem</span><span style="font-family: 'Courier New',Courier,monospace;">(</span><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-isi</span><span style="font-family: 'Courier New',Courier,monospace;">)</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">int string string string script string</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><img alt="create" title="create" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="create.gif"/><img alt="edit" title="edit" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="edit.gif"/></p>
</td>
</tr>
<tr>
<td colspan="3" style="vertical-align:middle; padding:1px; border:none"><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:top; width:40px; padding:1px; border:none"><br />
</td>
<td style="vertical-align:middle; width:943px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">只能用于编辑模式或创建模式,在特定索引处插入一个子菜单项。需要指定索引值,标签,图标路径,命令语言(&quot;mel&quot;&quot;python&quot;) 命令 及 marking菜单的方向 (&quot;N&quot;, &quot;NW&quot;, &quot;W&quot;, &quot;SW&quot;, &quot;S&quot;, &quot;SE&quot;, &quot;E&quot; or &quot;NE&quot;).</span></p>
<p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">* 要注意的是即使该标签被用在创建模式它返回的也是新插入的子菜单的id而不是该菜单项本身的id。</span></p>
<p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">* 另外如果目前菜单项已经是二级子菜单则该标签只会返回空id因为不能再创建三级子菜单。</span></p>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><a id="label" class="hmanchor"></a><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-label</span><span style="font-family: 'Courier New',Courier,monospace;">(</span><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-l</span><span style="font-family: 'Courier New',Courier,monospace;">)</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p class="p_Normal"><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">string</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><img alt="create" title="create" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="create.gif"/><img alt="query" title="query" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="query.gif"/><img alt="edit" title="edit" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="edit.gif"/></p>
</td>
</tr>
<tr>
<td colspan="3" style="vertical-align:middle; padding:1px; border:none"><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:top; width:40px; padding:1px; border:none"><br />
</td>
<td style="vertical-align:middle; width:943px; padding:1px; border:none"><p class="p_Normal"><span style="font-size: 12pt; font-family: 'Times New Roman',Times,Georgia,serif;">菜单项的标签。</span></p>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><a id="longdivider" class="hmanchor"></a><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-longDivider</span><span style="font-family: 'Courier New',Courier,monospace;">(</span><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-ld</span><span style="font-family: 'Courier New',Courier,monospace;">)</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">boolean</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><img alt="create" title="create" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="create.gif"/><img alt="query" title="query" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="query.gif"/><img alt="edit" title="edit" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="edit.gif"/></p>
</td>
</tr>
<tr>
<td colspan="3" style="vertical-align:middle; padding:1px; border:none"><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:top; width:40px; padding:1px; border:none"><br />
</td>
<td style="vertical-align:middle; width:943px; padding:1px; border:none"><p class="p_Normal"><span style="font-size: 12pt; font-family: 'Times New Roman',Times,Georgia,serif;">是否是长分隔线,只有当菜单项是一个分隔线时才有效 (dividier=True).</span></p>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><a id="numberofsubitems" class="hmanchor"></a><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-numberOfSubItems</span><span style="font-family: 'Courier New',Courier,monospace;">(</span><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-nsi</span><span style="font-family: 'Courier New',Courier,monospace;">)</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><span style="color: #000000;">&nbsp;</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><img alt="query" title="query" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="query.gif"/></p>
</td>
</tr>
<tr>
<td colspan="3" style="vertical-align:middle; padding:1px; border:none"><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:top; width:40px; padding:1px; border:none"><br />
</td>
<td style="vertical-align:middle; width:942px; padding:1px; border:none"><p><span style="font-size: 12pt; font-family: 'Times New Roman',Times,Georgia,serif;">子菜单项的数目。</span></p>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><a id="parent" class="hmanchor"></a><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-parent</span><span style="font-family: 'Courier New',Courier,monospace;">(</span><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-p</span><span style="font-family: 'Courier New',Courier,monospace;">)</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p class="p_Normal"><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">string</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><img alt="create" title="create" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="create.gif"/><img alt="query" title="query" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="query.gif"/></p>
</td>
</tr>
<tr>
<td colspan="3" style="vertical-align:middle; padding:1px; border:none"><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:top; width:40px; padding:1px; border:none"><br />
</td>
<td style="vertical-align:middle; width:943px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">在查询模式下返回该菜单所属的picker菜单id或父菜单项的id。在创建模式下这个标签是必须的用来指定你要添加到的是哪个picker菜单或父菜单项。</span></p>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><a id="radialposition" class="hmanchor"></a><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-radialPosition</span><span style="font-family: 'Courier New',Courier,monospace;">(</span><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-rp</span><span style="font-family: 'Courier New',Courier,monospace;">)</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">string</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><img alt="create" title="create" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="create.gif"/><img alt="query" title="query" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="query.gif"/><img alt="edit" title="edit" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="edit.gif"/></p>
</td>
</tr>
<tr>
<td colspan="3" style="vertical-align:middle; padding:1px; border:none"><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:top; width:40px; padding:1px; border:none"><br />
</td>
<td style="vertical-align:middle; width:943px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="font-size: 12pt; font-family: 'Times New Roman',Times,Georgia,serif;">菜单项的marking menu方向: &quot;N&quot;, &quot;NW&quot;, &quot;W&quot;, &quot;SW&quot;, &quot;S&quot;, &quot;SE&quot;, &quot;E&quot; or &quot;NE&quot;。注意您需要指定父菜单的markingMenu标签为true才能起效。</span></p>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><a id="subitemarray" class="hmanchor"></a><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-subItemArray</span><span style="font-family: 'Courier New',Courier,monospace;">(</span><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-sia</span><span style="font-family: 'Courier New',Courier,monospace;">)</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><span style="color: #000000;">&nbsp;</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><img alt="query" title="query" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="query.gif"/></p>
</td>
</tr>
<tr>
<td colspan="3" style="vertical-align:middle; padding:1px; border:none"><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:top; width:40px; padding:1px; border:none"><br />
</td>
<td style="vertical-align:middle; width:943px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">只能用于查询模式, 返回所有子菜单项的id字符窜数组。</span></p>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><a id="submenu" class="hmanchor"></a><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-subMenu</span><span style="font-family: 'Courier New',Courier,monospace;">(</span><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-sm</span><span style="font-family: 'Courier New',Courier,monospace;">)</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">boolean</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><img alt="create" title="create" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="create.gif"/><img alt="query" title="query" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="query.gif"/><img alt="edit" title="edit" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="edit.gif"/></p>
</td>
</tr>
<tr>
<td colspan="3" style="vertical-align:middle; padding:1px; border:none"><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:top; width:40px; padding:1px; border:none"><br />
</td>
<td style="vertical-align:middle; width:943px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">该菜单项是否可以成为子菜单项的父菜单。</span></p>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><a id="submenuitem" class="hmanchor"></a><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-subMenuItem</span><span style="font-family: 'Courier New',Courier,monospace;">(</span><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-smi</span><span style="font-family: 'Courier New',Courier,monospace;">)</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">int</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><img alt="query" title="query" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="query.gif"/></p>
</td>
</tr>
<tr>
<td colspan="3" style="vertical-align:middle; padding:1px; border:none"><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:top; width:40px; padding:1px; border:none"><br />
</td>
<td style="vertical-align:middle; width:943px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">只能用于查询模式, 返回在特定索引值的子菜单项的id字符窜。</span></p>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><a id="view" class="hmanchor"></a><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-view</span><span style="font-family: 'Courier New',Courier,monospace;">(</span><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-v</span><span style="font-family: 'Courier New',Courier,monospace;">)</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">string</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><img alt="create" title="create" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="create.gif"/><img alt="query" title="query" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="query.gif"/><img alt="edit" title="edit" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="edit.gif"/></p>
</td>
</tr>
<tr>
<td colspan="3" style="vertical-align:middle; padding:1px; border:none"><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:top; width:40px; padding:1px; border:none"><br />
</td>
<td style="vertical-align:middle; width:943px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">决定你要查询哪个picker视图的菜单。要指定一个合法的视图id。</span></p>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td style="vertical-align:top; padding:1px; border:none"><br />
</td>
<td style="vertical-align:top; padding:1px; border:none"><br />
</td>
<td style="vertical-align:top; padding:1px; border:none"><br />
</td>
</tr>
<tr>
<td style="vertical-align:top; padding:1px; border:none"><br />
</td>
<td style="vertical-align:top; padding:1px; border:none"><br />
</td>
<td style="vertical-align:top; padding:1px; border:none"><br />
</td>
</tr>
<tr>
<td style="vertical-align:top; padding:1px; border:none"><br />
</td>
<td style="vertical-align:top; padding:1px; border:none"><br />
</td>
<td style="vertical-align:top; padding:1px; border:none"><br />
</td>
</tr>
<tr>
<td style="vertical-align:top; padding:1px; border:none"><br />
</td>
<td style="vertical-align:top; padding:1px; border:none"><br />
</td>
<td style="vertical-align:top; padding:1px; border:none"><br />
</td>
</tr>
</table>
</div>
<hr style="height:2px; color:#CCCCCC; border-width:0; background-color:#cccccc;" /><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 10px 0 0 0;"><table style="background-color:#eeeeee; border:none; border-spacing:1px;">
<tr>
<td style="vertical-align:top; padding:4px; border:none"><p><img alt="create" width="13" height="16" style="margin:0;width:13px;height:16px;border:none" src="create.gif"/><span class="f_ImageCaption"> </span><span style="font-size: 11pt; font-family: 宋体;">标签可以在创建模式中使用</span></p>
</td>
<td style="vertical-align:top; padding:4px; border:none"><p><img alt="edit" width="13" height="16" style="margin:0;width:13px;height:16px;border:none" src="edit.gif"/><span class="f_ImageCaption"> </span><span style="font-size: 11pt; font-family: 宋体;">标签可以在编辑模式中使用</span></p>
</td>
</tr>
<tr>
<td style="vertical-align:top; padding:4px; border:none"><p><img alt="query" width="13" height="16" style="margin:0;width:13px;height:16px;border:none" src="query.gif"/><span class="f_ImageCaption"> </span><span style="font-size: 11pt; font-family: 宋体;">标签可以在查询模式中使用</span></p>
</td>
<td style="vertical-align:top; padding:4px; border:none"><p><img alt="multiuse" width="13" height="16" style="margin:0;width:13px;height:16px;border:none" src="multiuse.gif"/><span class="f_ImageCaption"> </span><span style="font-size: 11pt; font-family: 宋体;">标签可以在一条命令中多次使用</span></p>
</td>
</tr>
</table>
</div>
<p style="margin: 19px 0 0 0;"><a id="examples" class="hmanchor"></a><span style="font-size: 14pt; font-family: 'Times New Roman',Times,Georgia,serif; font-weight: bold;">MEL</span><span style="font-size: 14pt; font-family: 宋体; font-weight: bold;">例子</span></p>
<p class="p_Normal" style="line-height: 1.0; white-space: nowrap; margin: 19px 0 0 0;"><span style="font-family: 'Courier New',Courier,monospace;">//&nbsp;You&nbsp;must&nbsp;make&nbsp;sure&nbsp;the&nbsp;picker&nbsp;item:&nbsp;commandButton1&nbsp;is&nbsp;already&nbsp;in&nbsp;scene&nbsp;in&nbsp;order&nbsp;to&nbsp;test&nbsp;these&nbsp;codes.</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">//&nbsp;To&nbsp;form&nbsp;a&nbsp;picker&nbsp;menu&nbsp;id,&nbsp;use&nbsp;pickerItemId.leftmenu&nbsp;/&nbsp;pickerItemId.rightmenu</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">string&nbsp;$cmdButton&nbsp;=&nbsp;&quot;commandButton1&quot;;</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">string&nbsp;$rightMenu&nbsp;=&nbsp;`MGPickerMenu&nbsp;-p&nbsp;$cmdButton&nbsp;-m&nbsp;&quot;rightmenu&quot;`; &nbsp; &nbsp; &nbsp; &nbsp;//This&nbsp;just&nbsp;retrieves&nbsp;the&nbsp;id&nbsp;&quot;commandButton1.rightmenu&quot;&nbsp;instead&nbsp;of&nbsp;creating&nbsp;it.</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">&nbsp;</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">//&nbsp;We&nbsp;get&nbsp;a&nbsp;menu&nbsp;item&nbsp;id&nbsp;via&nbsp;-addMenuItem&nbsp;or&nbsp;-insertMenuItem&nbsp;flag&nbsp;of&nbsp;MGPickerMenu&nbsp;command:</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">string&nbsp;$menuItem0&nbsp;=&nbsp;`MGPickerMenu&nbsp;-e&nbsp;-addMenuItem&nbsp;&quot;First&nbsp;Menu&nbsp;Item&quot;&nbsp;&quot;/path/to/icon0.png&quot;&nbsp;&quot;mel&quot;&nbsp;&quot;print&nbsp;\&quot;It&nbsp;works!\&quot;&quot;&nbsp;&quot;N&quot;&nbsp;$rightMenu`;</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">&nbsp;</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">//&nbsp;We&nbsp;can&nbsp;add&nbsp;a&nbsp;menu&nbsp;item&nbsp;using&nbsp;MGPickerMenuItem&nbsp;command:</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">string&nbsp;$menuItem1&nbsp;=&nbsp;`MGPickerMenuItem&nbsp;-parent&nbsp;$rightMenu&nbsp;</span><br />
<span style="width:48px;display:inline-block">&nbsp;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="font-family: 'Courier New',Courier,monospace;">&nbsp;&nbsp;-label&nbsp;&quot;Second&nbsp;Menu&nbsp;Item&quot;&nbsp;</span><br />
<span style="width:48px;display:inline-block">&nbsp;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="font-family: 'Courier New',Courier,monospace;">&nbsp;&nbsp;-image&nbsp;&quot;/path/to/icon1.png&quot;&nbsp;</span><br />
<span style="width:48px;display:inline-block">&nbsp;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="font-family: 'Courier New',Courier,monospace;">&nbsp;&nbsp;-commandType&nbsp;&quot;mel&quot;&nbsp;</span><br />
<span style="width:48px;display:inline-block">&nbsp;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="font-family: 'Courier New',Courier,monospace;">&nbsp;&nbsp;-command&nbsp;&quot;print&nbsp;\&quot;The&nbsp;MGPickerMenuItem&nbsp;in&nbsp;create&nbsp;mode&nbsp;works&nbsp;!\&quot;&quot;&nbsp;</span><br />
<span style="width:48px;display:inline-block">&nbsp;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="font-family: 'Courier New',Courier,monospace;">&nbsp;&nbsp;-radialPosition&nbsp;&quot;N&quot;`;</span></p>
<p class="p_Normal" style="line-height: 1.0; white-space: nowrap; margin: 19px 0 0 0;"><span style="font-family: 'Courier New',Courier,monospace;">//&nbsp;We&nbsp;can&nbsp;also&nbsp;make&nbsp;a&nbsp;menu&nbsp;item&nbsp;a&nbsp;sub&nbsp;menu:</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">MGPickerMenuItem&nbsp;-e&nbsp;-subMenu&nbsp;1&nbsp;$menuItem0;</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">&nbsp;</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">//&nbsp;Like&nbsp;we&nbsp;did&nbsp;above,&nbsp;add&nbsp;submenu&nbsp;items:</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">string&nbsp;$subMenuItem1&nbsp;=&nbsp;`MGPickerMenuItem&nbsp;-e&nbsp;-addSubMenuItem&nbsp;&quot;First&nbsp;SubMenu&nbsp;Item&quot;&nbsp;&quot;/path/to/icon.png&quot;&nbsp;&quot;python&quot;&nbsp;&quot;print&nbsp;'Sub&nbsp;menu&nbsp;item&nbsp;works!'&quot;&nbsp;&quot;&quot;&nbsp;$menuItem0`;</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">&nbsp;</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">//&nbsp;We&nbsp;can&nbsp;also&nbsp;add&nbsp;a&nbsp;sub-menu&nbsp;item&nbsp;using&nbsp;MGPickerMenuItem&nbsp;command:</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">string&nbsp;$subMenuItem2&nbsp;=&nbsp;`MGPickerMenuItem&nbsp;-parent&nbsp;$menuItem0&nbsp;</span><br />
<span style="width:48px;display:inline-block">&nbsp;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="font-family: 'Courier New',Courier,monospace;">&nbsp;&nbsp;-label&nbsp;&quot;Second&nbsp;SubMenu&nbsp;Item&quot;&nbsp;</span><br />
<span style="width:48px;display:inline-block">&nbsp;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="font-family: 'Courier New',Courier,monospace;">&nbsp;&nbsp;-image&nbsp;&quot;/path/to/icon.png&quot;&nbsp;</span><br />
<span style="width:48px;display:inline-block">&nbsp;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="font-family: 'Courier New',Courier,monospace;">&nbsp;&nbsp;-commandType&nbsp;&quot;python&quot;&nbsp;</span><br />
<span style="width:48px;display:inline-block">&nbsp;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="font-family: 'Courier New',Courier,monospace;">&nbsp;&nbsp;-command&nbsp;&quot;print&nbsp;'The&nbsp;MGPickerMenuItem&nbsp;in&nbsp;create&nbsp;mode&nbsp;also&nbsp;works&nbsp;for&nbsp;submenu&nbsp;item!'&quot;`;</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">&nbsp;</span></p>
<p style="margin: 19px 0 0 0;"><a id="pyexamples" class="hmanchor"></a><span style="font-size: 14pt; font-family: 'Times New Roman',Times,Georgia,serif; font-weight: bold;">Python</span><span style="font-size: 14pt; font-family: 宋体; font-weight: bold;">例子</span></p>
<p style="margin: 19px 0 0 0;"><span style="font-family: 'Courier New',Courier,monospace;">from mgpicker import mgp</span></p>
<p class="p_Normal" style="line-height: 1.0; white-space: nowrap; margin: 19px 0 0 0;"><span style="font-family: 'Courier New',Courier,monospace;">#&nbsp;You&nbsp;must&nbsp;make&nbsp;sure&nbsp;the&nbsp;picker&nbsp;item:&nbsp;commandButton1&nbsp;is&nbsp;already&nbsp;in&nbsp;scene&nbsp;in&nbsp;order&nbsp;to&nbsp;test&nbsp;these&nbsp;codes.</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">#&nbsp;To&nbsp;form&nbsp;a&nbsp;picker&nbsp;menu&nbsp;id,&nbsp;use&nbsp;pickerItemId.leftmenu&nbsp;/&nbsp;pickerItemId.rightmenu</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">cmdButton&nbsp;=&nbsp;'commandButton1'</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">rightMenu&nbsp;=&nbsp;mgp.MGPickerMenu(p=cmdButton,&nbsp;mode='rightmenu')&nbsp;#&nbsp;This&nbsp;just&nbsp;retrieves&nbsp;the&nbsp;id&nbsp;&quot;commandButton1.rightmenu&quot;&nbsp;instead&nbsp;of&nbsp;creating&nbsp;it.</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">&nbsp;</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">#&nbsp;&nbsp;We&nbsp;get&nbsp;a&nbsp;menu&nbsp;item&nbsp;id&nbsp;via&nbsp;-addMenuItem&nbsp;or&nbsp;-insertMenuItem&nbsp;flag&nbsp;of&nbsp;MGPickerMenu&nbsp;command:</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">menuItem0&nbsp;=&nbsp;mgp.MGPickerMenu(rightMenu,&nbsp;e=True,&nbsp;addMenuItem=('First&nbsp;Menu&nbsp;Item',&nbsp;'/path/to/icon0.png',&nbsp;'mel',&nbsp;'print&nbsp;&quot;It&nbsp;works!&quot;',&nbsp;'N'))</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">#&nbsp;We&nbsp;can&nbsp;add&nbsp;a&nbsp;menu&nbsp;item&nbsp;using&nbsp;MGPickerMenuItem&nbsp;command:</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">menuItem1&nbsp;=&nbsp;mgp.MGPickerMenuItem(parent=rightMenu,&nbsp;</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;label='Second&nbsp;Menu&nbsp;Item',&nbsp;&nbsp;</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;image='/path/to/icon1.png',&nbsp;</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;commandType='mel',&nbsp;&nbsp;</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;command='print&nbsp;&quot;The&nbsp;MGPickerMenuItem&nbsp;in&nbsp;create&nbsp;mode&nbsp;works&nbsp;!&quot;')</span></p>
<p class="p_Normal" style="line-height: 1.0; white-space: nowrap; margin: 19px 0 0 0;"><span style="font-family: 'Courier New',Courier,monospace;">#&nbsp;We&nbsp;can&nbsp;also&nbsp;make&nbsp;a&nbsp;menu&nbsp;item&nbsp;a&nbsp;sub&nbsp;menu:</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">mgp.MGPickerMenuItem(menuItem0,&nbsp;e=True,&nbsp;subMenu=True)</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">&nbsp;</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">#&nbsp;Like&nbsp;we&nbsp;did&nbsp;above,&nbsp;add&nbsp;submenu&nbsp;items:</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">subMenuItem1&nbsp;=&nbsp;mgp.MGPickerMenuItem(menuItem0,&nbsp;e=True,&nbsp;addSubMenuItem=('First&nbsp;SubMenu&nbsp;Item',&nbsp;'/path/to/icon0.png',&nbsp;'mel',&nbsp;'print&nbsp;&quot;Sub&nbsp;menu&nbsp;works!&quot;',&nbsp;''))</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">&nbsp;</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">#&nbsp;We&nbsp;can&nbsp;also&nbsp;add&nbsp;a&nbsp;sub-menu&nbsp;item&nbsp;using&nbsp;MGPickerMenuItem&nbsp;command:</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">subMenuItem2&nbsp;=&nbsp;mgp.MGPickerMenuItem(parent=menuItem0,&nbsp;</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;label='Second&nbsp;SubMenu&nbsp;Item',&nbsp;</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;image='/path/to/icon.png',&nbsp;</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;commandType='python',&nbsp;</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;command=&quot;print&nbsp;'The&nbsp;MGPickerMenuItem&nbsp;in&nbsp;create&nbsp;mode&nbsp;also&nbsp;works&nbsp;for&nbsp;submenu&nbsp;item!'&quot;)</span></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="mgpickermenu.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></a>
<a href="mgsvgimport.htm"><img border="0" src="../common/images/MGtoolsHelp_next.gif" width="34" height="22" alt="Next" /></a></td>
</tr>
</table>
</body>
</html>

View File

@@ -0,0 +1,367 @@
<!DOCTYPE html>
<html>
<head>
<title>MGPickerService Command</title>
<meta name="generator" content="Help &amp; Manual" />
<meta name="keywords" content="API,MGPickerService command" />
<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", "mgpickerservice.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>&nbsp;
<a href="mgsvgimport.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></a>
<a href="mgpickerlicence.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">
<div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:middle; height:8px; padding:1px; border:none"><p><span style="font-family: 'Times New Roman',Times,Georgia,serif; font-weight: bold;">命令</span><span style="font-family: 'Times New Roman',Times,Georgia,serif;"> (MEL/Python)</span></p>
</td>
</tr>
<tr>
<td style="vertical-align:middle; height:5px; padding:1px; border:none"><h1 class="p_Heading1" style="margin: 19px 0 19px 0;"><span class="f_Heading1" style="font-size: 24pt; font-family: 'Times New Roman',Times,Georgia,serif;">MGPickerService</span></h1>
</td>
</tr>
</table>
</div>
<p class="p_Normal" style="margin: 14px 0 0 0;"><span style="font-family: 'Times New Roman',Times,Georgia,serif;">跳转到: </span><span style="font-size: 12pt; font-family: 'Times New Roman',Times,Georgia,serif;"><a href="mgpicker.htm#synopsis" class="topiclink">概要</a>. <a href="mgpicker.htm#examples" class="topiclink">MEL例子</a>. <a href="mgpickeritem.htm#pyexamples" class="topiclink">Python例子</a>.</span></p>
<p class="p_Normal" style="margin: 19px 0 0 0;"><a id="synopsis" class="hmanchor"></a> <span style="font-size: 14pt; font-family: 'Times New Roman',Times,Georgia,serif; font-weight: bold;">概要</span></p>
<p class="p_Normal" style="margin: 19px 0 0 0;"><span style="font-family: 'Courier New',Courier,monospace;">MGPickerService (string, [<a href="mgpickerservice.htm#cleannamespacemix" class="topiclink">cleanNamespaceMix</a>=</span><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">[string]</span><span style="font-family: 'Courier New',Courier,monospace;">],[<a href="mgpickerservice.htm#getviewcoordinate" class="topiclink">getViewCoordinate</a>=</span><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">[string, float, float, float]</span><span style="font-family: 'Courier New',Courier,monospace;">], [<a href="mgpickerservice.htm#modeleditorsize" class="topiclink">modelEditorSize</a>=</span><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">string</span><span style="font-family: 'Courier New',Courier,monospace;">], [<a href="https://www.helpandmanual.com/order.html" class="topiclink">namespaceFromSelection</a>=</span><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">boolean</span><span style="font-family: 'Courier New',Courier,monospace;">], [<a href="mgpickerservice.htm#namespace" class="topiclink">namespace</a>=</span><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">string</span><span style="font-family: 'Courier New',Courier,monospace;">], [<a href="https://www.helpandmanual.com/order.html" class="topiclink">osLanguage</a>=</span><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">boolean</span><span style="font-family: 'Courier New',Courier,monospace;">],[<a href="mgpickerservice.htm#resolvepath" class="topiclink">resolvePath</a>=</span><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">string</span><span style="font-family: 'Courier New',Courier,monospace;">], [<a href="mgpickerservice.htm#translate" class="topiclink">translate</a>=</span><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">string</span><span style="font-family: 'Courier New',Courier,monospace;">], [<a href="mgpickerservice.htm#translate1" class="topiclink">translate1</a>=</span><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">[string, string]</span><span style="font-family: 'Courier New',Courier,monospace;">], [<a href="mgpickerservice.htm#translate2" class="topiclink">translate2</a>=</span><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">[string, string, string]</span><span style="font-family: 'Courier New',Courier,monospace;">], [<a href="mgpickerservice.htm#unzip" class="topiclink">unzip</a>=</span><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">string</span><span style="font-family: 'Courier New',Courier,monospace;">], [<a href="mgpickerservice.htm#zipfilefolder" class="topiclink">zipFileFolder</a>=</span><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">string</span><span style="font-family: 'Courier New',Courier,monospace;">])</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">&nbsp;</span></p>
<p class="p_Normal" style="margin: 0 0 14px 0;"><span style="font-size: 9pt; font-family: 'Times New Roman',Times,Georgia,serif; font-style: italic;">备注: Strings在使用zip相关标签时代表zip文件完整路径, 而参数则必须以逗号分隔。这是在概要里没有说明的。</span></p>
<p class="p_Normal" style="margin: 14px 0 14px 0;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">MGPickerService</span><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif; font-weight: bold;">不可撤消</span><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">, 可以查询且可以编辑</span><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;"></span></p>
<p><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">这个命令用来提供压缩及解压zip包翻译坐标转换等服务主要供工具内部使用。</span></p>
<p class="p_Normal">&nbsp;</p>
<div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:bottom; background-color:#CCCCCC; padding:1px; border:none"><p><span style="font-family: 'Times New Roman',Times,Georgia,serif; font-weight: bold;">长名 (短名)</span></p>
</td>
<td style="vertical-align:bottom; background-color:#CCCCCC; padding:1px; border:none"><p><span style="font-family: 'Times New Roman',Times,Georgia,serif; font-style: italic; font-weight: bold;">参数类型</span></p>
</td>
<td style="vertical-align:bottom; background-color:#CCCCCC; padding:1px; border:none"><p><span style="font-family: 'Times New Roman',Times,Georgia,serif; font-weight: bold;">属性</span></p>
</td>
</tr>
<tr>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><a id="cleannamespacemix" class="hmanchor"></a><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-cleanNamespaceMix</span><span style="font-family: 'Courier New',Courier,monospace;">(</span><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-cnm</span><span style="font-family: 'Courier New',Courier,monospace;">)</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">string</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><img alt="query" title="query" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="query.gif"/></p>
</td>
</tr>
<tr>
<td colspan="3" style="vertical-align:middle; padding:1px; border:none"><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:top; width:40px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="color: #000000;">&nbsp;</span></p>
</td>
<td style="vertical-align:middle; width:946px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">去除dag路径中没有带namespace的开头部分</span></p>
<p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">|path|to|myChar:control|myChar:subControl将变成myChar:control|myChar:subControl</span></p>
<p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">而myChar:control|myChar:subControl|the|control将维持不变</span></p>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><a id="getviewcoordinate" class="hmanchor"></a><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-getViewCoordinate</span><span style="font-family: 'Courier New',Courier,monospace;">(</span><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-gvc</span><span style="font-family: 'Courier New',Courier,monospace;">)</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">string float float float</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><img alt="query" title="query" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="query.gif"/></p>
</td>
</tr>
<tr>
<td colspan="3" style="vertical-align:middle; padding:1px; border:none"><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:top; width:40px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="color: #000000;">&nbsp;</span></p>
</td>
<td style="vertical-align:middle; width:946px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">这个标签只能用于查询模式用来获取指定世界坐标的屏幕坐标。您需要指定modelEditor名称及x,y,z世界坐标。</span></p>
<p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">这个标签将返回一个整数数组第一个元素是0或1, 代表坐标是否在modelEditor的屏幕范围内其它两个整数元素分别是屏幕x, y坐标值。</span></p>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><a id="modeleditorsize" class="hmanchor"></a><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-modelEditorSize</span><span style="font-family: 'Courier New',Courier,monospace;">(</span><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-mes</span><span style="font-family: 'Courier New',Courier,monospace;">)</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">string</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><img alt="query" title="query" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="query.gif"/></p>
</td>
</tr>
<tr>
<td colspan="3" style="vertical-align:middle; padding:1px; border:none"><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:top; width:40px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="color: #000000;">&nbsp;</span></p>
</td>
<td style="vertical-align:middle; width:946px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">这个标签只能用于查询模式来获取指定modelEditor的长宽。</span></p>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><a id="namespacefromselection" class="hmanchor"></a><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-namespaceFromSelection</span><span style="font-family: 'Courier New',Courier,monospace;">(</span><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-nfs</span><span style="font-family: 'Courier New',Courier,monospace;">)</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">boolean</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><img alt="query" title="query" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="query.gif"/></p>
</td>
</tr>
<tr>
<td colspan="3" style="vertical-align:middle; padding:1px; border:none"><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:top; width:40px; padding:1px; border:none"><br />
</td>
<td style="vertical-align:middle; width:946px; padding:1px; border:none"><p class="p_Normal"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">从所选对象中获取其命名空间指定True代表即使第一个所选物体没有包含命名空间则往下找第二个指定False则代表不管第一个有没有都返回.</span></p>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><a id="namespace" class="hmanchor"></a><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-namespace</span><span style="font-family: 'Courier New',Courier,monospace;">(</span><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-ns</span><span style="font-family: 'Courier New',Courier,monospace;">)</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">string</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><img alt="query" title="query" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="query.gif"/></p>
</td>
</tr>
<tr>
<td colspan="3" style="vertical-align:middle; padding:1px; border:none"><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:top; width:40px; padding:1px; border:none"><br />
</td>
<td style="vertical-align:middle; width:946px; padding:1px; border:none"><p class="p_Normal"><span style="font-size: 12pt; font-family: 'Times New Roman',Times,Georgia,serif;">从字符窜里获取命名空间.</span></p>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><a id="oslanguage" class="hmanchor"></a><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-osLanguage</span><span style="font-family: 'Courier New',Courier,monospace;">(</span><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-osl</span><span style="font-family: 'Courier New',Courier,monospace;">)</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><span style="color: #000000;">&nbsp;</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><img alt="query" title="query" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="query.gif"/></p>
</td>
</tr>
<tr>
<td colspan="3" style="vertical-align:middle; padding:1px; border:none"><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:top; width:40px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="color: #000000;">&nbsp;</span></p>
</td>
<td style="vertical-align:middle; width:942px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">这个标签只能用于查询模式,来获取当前操作系统偏向使用的语言名称。</span></p>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><a id="resolvepath" class="hmanchor"></a><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-resolvePath</span><span style="font-family: 'Courier New',Courier,monospace;">(</span><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-rp</span><span style="font-family: 'Courier New',Courier,monospace;">)</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">string</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><img alt="query" title="query" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="query.gif"/></p>
</td>
</tr>
<tr>
<td colspan="3" style="vertical-align:middle; padding:1px; border:none"><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:top; width:40px; padding:1px; border:none"><br />
</td>
<td style="vertical-align:middle; width:942px; padding:1px; border:none"><p class="p_Normal"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">将带环境变量的路径解析成实际的路径。环境变量由$或${}表示。</span></p>
<p class="p_Normal"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">第一个参数需要指定要解析的路径第二个参数是要解析的picker节点这个是可选的一般指定为空字符窜只有当路径中含有</span><span style="font-size: 12pt; font-family: 'Times New Roman',Times,Georgia,serif;"> ${M_CURRENT_ASSET_DIR} 时需要指定。</span></p>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><a id="translate" class="hmanchor"></a><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-translate</span><span style="font-family: 'Courier New',Courier,monospace;">(</span><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-tr</span><span style="font-family: 'Courier New',Courier,monospace;">)</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">string</span></p>
</td>
</tr>
</table>
</div>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><img alt="query" title="query" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="query.gif"/></p>
</td>
</tr>
<tr>
<td colspan="3" style="vertical-align:middle; padding:1px; border:none"><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:top; width:40px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="color: #000000;">&nbsp;</span></p>
</td>
<td style="vertical-align:middle; width:946px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">仅供内部使用只能用于查询模式来获取指定字符窜id的翻译结果。</span></p>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><a id="translate1" class="hmanchor"></a><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-translate1</span><span style="font-family: 'Courier New',Courier,monospace;">(</span><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-tr1</span><span style="font-family: 'Courier New',Courier,monospace;">)</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">string string</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><img alt="query" title="query" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="query.gif"/></p>
</td>
</tr>
<tr>
<td colspan="3" style="vertical-align:middle; padding:1px; border:none"><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:top; width:40px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="color: #000000;">&nbsp;</span></p>
</td>
<td style="vertical-align:middle; width:946px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">仅供内部使用只能用于查询模式来获取指定字符窜id及替换字符窜的翻译结果。</span></p>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><a id="translate2" class="hmanchor"></a><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-translate2</span><span style="font-family: 'Courier New',Courier,monospace;">(</span><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-tr2</span><span style="font-family: 'Courier New',Courier,monospace;">)</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">string string string</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><img alt="query" title="query" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="query.gif"/></p>
</td>
</tr>
<tr>
<td colspan="3" style="vertical-align:middle; padding:1px; border:none"><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:top; width:40px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="color: #000000;">&nbsp;</span></p>
</td>
<td style="vertical-align:middle; width:946px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">仅供内部使用只能用于查询模式来获取指定字符窜id及2个替换字符窜的翻译结果。</span></p>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><a id="unzip" class="hmanchor"></a><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-unzip</span><span style="font-family: 'Courier New',Courier,monospace;">(</span><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-uzp</span><span style="font-family: 'Courier New',Courier,monospace;">)</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">string</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><img alt="create" width="13" height="16" style="margin:0;width:13px;height:16px;border:none" src="create.gif"/></p>
</td>
</tr>
<tr>
<td colspan="3" style="vertical-align:middle; padding:1px; border:none"><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:top; width:40px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="color: #000000;">&nbsp;</span></p>
</td>
<td style="vertical-align:middle; width:946px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">将目标zip包解压到指定目标目录。</span></p>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><a id="zipfilefolder" class="hmanchor"></a><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-zipFileFolder</span><span style="font-family: 'Courier New',Courier,monospace;">(</span><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-zip</span><span style="font-family: 'Courier New',Courier,monospace;">)</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">string</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p><img alt="create" width="13" height="16" style="margin:0;width:13px;height:16px;border:none" src="create.gif"/><img alt="query" title="query" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="query.gif"/></p>
</td>
</tr>
<tr>
<td colspan="3" style="vertical-align:middle; height:42px; padding:1px; border:none"><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:top; width:40px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="color: #000000;">&nbsp;</span></p>
</td>
<td style="vertical-align:middle; width:946px; padding:1px; border:none"><p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">在查询模式下这个标签将列出目标zip包里所有的文件及文件夹。</span></p>
<p style="line-height: 1.38;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">在创建模式下这个标签用于将指定目录或文件压缩成目标的zip档。</span></p>
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</div>
<p class="p_Normal">&nbsp;</p>
<hr style="height:2px; color:#CCCCCC; border-width:0; background-color:#cccccc;" /><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 10px 0 0 0;"><table style="background-color:#eeeeee; border:none; border-spacing:1px;">
<tr>
<td style="vertical-align:top; padding:4px; border:none"><p><img alt="create" width="13" height="16" style="margin:0;width:13px;height:16px;border:none" src="create.gif"/><span class="f_ImageCaption"> </span><span style="font-family: 'Times New Roman',Times,Georgia,serif;">标签可以在创建模式中使用</span></p>
</td>
<td style="vertical-align:top; padding:4px; border:none"><p><img alt="edit" width="13" height="16" style="margin:0;width:13px;height:16px;border:none" src="edit.gif"/><span class="f_ImageCaption"> </span><span style="font-family: 'Times New Roman',Times,Georgia,serif;">标签可以在编辑模式中使用</span></p>
</td>
</tr>
<tr>
<td style="vertical-align:top; padding:4px; border:none"><p><img alt="query" width="13" height="16" style="margin:0;width:13px;height:16px;border:none" src="query.gif"/><span class="f_ImageCaption"> </span><span style="font-family: 'Times New Roman',Times,Georgia,serif;">标签可以在查询模式中使用</span></p>
</td>
<td style="vertical-align:top; padding:4px; border:none"><p><img alt="multiuse" width="13" height="16" style="margin:0;width:13px;height:16px;border:none" src="multiuse.gif"/><span class="f_ImageCaption"> </span><span style="font-family: 'Times New Roman',Times,Georgia,serif;">标签可以在一条命令中多次使用</span></p>
</td>
</tr>
</table>
</div>
<p style="margin: 19px 0 0 0;"><a id="examples" class="hmanchor"></a><span style="font-size: 14pt; font-family: 'Times New Roman',Times,Georgia,serif; font-weight: bold;">MEL例子</span></p>
<p class="p_Normal" style="line-height: 1.0; white-space: nowrap; margin: 19px 0 0 0;"><span style="font-family: 'Courier New',Courier,monospace;">//zip&nbsp;the&nbsp;folder&nbsp;into&nbsp;a&nbsp;zip&nbsp;package:</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">MGPickerService&nbsp;-zipFileFolder&nbsp;&quot;D:/test&quot;&nbsp;&quot;D:/test.zip&quot;;</span></p>
<p class="p_Normal" style="line-height: 1.0; white-space: nowrap; margin: 19px 0 0 0;"><span style="font-family: 'Courier New',Courier,monospace;">//list&nbsp;out&nbsp;the&nbsp;zip&nbsp;package&nbsp;content:</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">print&nbsp;&quot;The&nbsp;contents&nbsp;in&nbsp;test.zip:\n&quot;;</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">print&nbsp;`MGPickerService&nbsp;-q&nbsp;-zip&nbsp;&quot;D:/test.zip&quot;`;</span></p>
<p class="p_Normal" style="line-height: 1.0; white-space: nowrap; margin: 19px 0 0 0;"><span style="font-family: 'Courier New',Courier,monospace;">//unzip&nbsp;to&nbsp;another&nbsp;directory:</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">MGPickerService&nbsp;-unzip&nbsp;&quot;D:/test/unzipped/&quot;&nbsp;&quot;D:/test.zip&quot;;</span></p>
<p style="margin: 19px 0 0 0;"><a id="pyexamples" class="hmanchor"></a><span style="font-size: 14pt; font-family: 'Times New Roman',Times,Georgia,serif; font-weight: bold;">Python例子</span></p>
<p style="margin: 19px 0 0 0;"><span style="font-family: 'Courier New',Courier,monospace;">from maya import cmds</span></p>
<p style="margin: 19px 0 0 0;"><span style="font-family: 'Courier New',Courier,monospace;">cmds.MGPickerService(&quot;D:/test.zip&quot;, zipFileFolder=&quot;D:/test&quot;)</span></p>
<p class="p_Normal" style="line-height: 1.0; white-space: nowrap; margin: 19px 0 0 0;"><span style="font-family: 'Courier New',Courier,monospace;">#list&nbsp;out&nbsp;the&nbsp;zip&nbsp;package&nbsp;content:</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">print&nbsp;(&quot;The&nbsp;contents&nbsp;in&nbsp;test.zip:\n&quot;)</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">print&nbsp;(cmds.MGPickerService(&quot;D:/test.zip&quot;,&nbsp;q=True,zip=True))</span></p>
<p class="p_Normal" style="line-height: 1.0; white-space: nowrap; margin: 19px 0 0 0;"><span style="font-family: 'Courier New',Courier,monospace;">#unzip&nbsp;to&nbsp;another&nbsp;directory:</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">cmds.MGPickerService(&quot;D:/test.zip&quot;,&nbsp;unzip=&quot;D:/test/unzipped/&quot;)</span></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="mgsvgimport.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></a>
<a href="mgpickerlicence.htm"><img border="0" src="../common/images/MGtoolsHelp_next.gif" width="34" height="22" alt="Next" /></a></td>
</tr>
</table>
</body>
</html>

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,59 @@
<!DOCTYPE html>
<html>
<head>
<title>MG-选择辅助器</title>
<meta name="generator" content="Help &amp; Manual" />
<meta name="keywords" content="MG-select helper" />
<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", "mgselecthelper.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>&nbsp;
<a href="simpleediting.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></a>
<a href="hotkeys_anim.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_Normal" style="font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';display:inline-block;width:13px;margin-left:-13px">&#9642;</span><span style="font-weight: bold;">MG-选择辅助器:</span></p><p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span style="font-size: 9pt;">它是用来存储暂时选择的地方,辅助您的选择。你可以同时打开无限制个数的选择辅助器实例。有下面两种方式来打开选择辅助器:</span></p>
<p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 24px; margin: 0 0 0 24px;"><span class="f_ImageCaption" style="font-size:9pt;display:inline-block;width:24px;margin-left:-24px">1.</span><span class="f_ImageCaption" style="font-size: 9pt; font-weight: normal;">鼠标左键点击右上角更多功能按钮</span><span style="font-size: 9pt;"> </span><img alt="moreFeaturesBtn" width="20" height="20" style="margin:0;width:20px;height:20px;border:none" src="morefeaturesbtn.gif"/><span class="f_ImageCaption" style="font-size: 9pt;"> </span><span class="f_ImageCaption" style="font-size: 9pt; font-weight: normal;">并选择&quot;新选择辅助窗口&quot;</span></p><p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 24px; margin: 0 0 0 24px;"><span class="f_ImageCaption" style="font-size:9pt;display:inline-block;width:24px;margin-left:-24px">2.</span><span class="f_ImageCaption" style="font-size: 9pt; font-weight: normal;">CTRL / SHIFT 鼠标右键一个选择按钮,会弹出成员视图,点击其右上的按钮把它变成选择辅助器。</span></p><p class="p_Normal" style="text-indent: -24px; line-height: 1.80; margin: 0 0 0 48px;"><img alt="selectionHelper_ch" width="276" height="250" style="margin:0;width:276px;height:250px;border:none" src="selectionhelper_ch.gif"/></p>
<p class="p_Normal" style="text-indent: -24px; line-height: 1.80; margin: 0 0 0 48px;"><span style="font-size: 9pt;">使用&quot;=&quot;按钮来替换视图内容为当前Maya所选节点 &quot;+&quot; 按钮来添加Maya选择到内容 &quot;-&quot; 按钮来从内容中移除当前Maya选择节点。</span></p>
<p class="p_Normal" style="text-indent: -24px; line-height: 1.80; margin: 0 0 0 48px;"><span style="font-size: 9pt;">点击&quot;选择全部&quot;按钮来选择视图中全部的选择按钮的成员。Ctrl点击该按钮则是去选Ctrl+Shift则是加选Shift来反选。</span></p>
<p class="p_Normal" style="text-indent: -24px; line-height: 1.80; margin: 0 0 0 48px;"><span style="font-size: 9pt;">开关&quot;N&quot;按钮来开关视图里按钮的Namespace的显示。</span></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="simpleediting.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></a>
<a href="hotkeys_anim.htm"><img border="0" src="../common/images/MGtoolsHelp_next.gif" width="34" height="22" alt="Next" /></a></td>
</tr>
</table>
</body>
</html>

View File

@@ -0,0 +1,461 @@
<!DOCTYPE html>
<html>
<head>
<title>MGSvgImport命令</title>
<meta name="generator" content="Help &amp; Manual" />
<meta name="keywords" content="API,MGSvgImport,SVG" />
<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", "mgsvgimport.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>&nbsp;
<a href="mgpickermenuitem.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></a>
<a href="mgpickerservice.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">
<div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 0;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:middle; height:8px; padding:1px; border:none"><p><span style="font-family: 'Times New Roman',Times,Georgia,serif; font-weight: bold;">command</span><span style="font-family: 'Times New Roman',Times,Georgia,serif;"> (MEL/Python)</span></p>
</td>
</tr>
<tr>
<td style="vertical-align:middle; height:48px; padding:1px; border:none"><h1 class="p_Heading1" style="margin: 19px 0 19px 0;"><span class="f_Heading1" style="font-size: 24pt; font-family: 'Times New Roman',Times,Georgia,serif;">MGSvgImport </span><img alt="v2_transparent" width="34" height="12" style="margin:0;width:34px;height:12px;border:none" src="v2_transparent.png"/></h1>
</td>
</tr>
</table>
</div>
<p class="p_Normal" style="margin: 14px 0 0 0;"><span style="font-family: 'Times New Roman',Times,Georgia,serif;">跳转到: </span><span style="font-size: 12pt; font-family: 'Times New Roman',Times,Georgia,serif;"><a href="mgsvgimport.htm#synopsis" class="topiclink">概要</a>. <a href="https://www.helpandmanual.com/order.html" class="topiclink">MEL例子</a>. <a href="mgpickermenuitem.htm#pyexamples" class="topiclink">Python例子</a>.</span></p>
<p class="p_Normal" style="margin: 19px 0 0 0;"><a id="synopsis" class="hmanchor"></a><span style="font-size: 14pt; font-family: 'Times New Roman',Times,Georgia,serif; font-weight: bold;">概要</span></p>
<p class="p_Normal" style="margin: 19px 0 0 0;"><span style="font-family: 'Courier New',Courier,monospace;">MGSvgImport ([<a href="mgsvgimport.htm#conformed" class="topiclink">conformed</a>=</span><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">boolean</span><span style="font-family: 'Courier New',Courier,monospace;">], [<a href="mgsvgimport.htm#elements" class="topiclink">elements</a>=</span><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">boolean</span><span style="font-family: 'Courier New',Courier,monospace;">], [<a href="mgsvgimport.htm#elementtypemap" class="topiclink">elementTypeMap</a>=[(</span><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">string, string),..</span><span style="font-family: 'Courier New',Courier,monospace;">]], [<a href="mgsvgimport.htm#fitmode" class="topiclink">fitMode</a>=</span><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">UnsignedInt</span><span style="font-family: 'Courier New',Courier,monospace;">], [<a href="mgsvgimport.htm#highlightimage" class="topiclink">highlightImage</a>=</span><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">string</span><span style="font-family: 'Courier New',Courier,monospace;">], [<a href="https://www.helpandmanual.com/order.html" class="topiclink">hoverImage</a>=</span><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">string</span><span style="font-family: 'Courier New',Courier,monospace;">], [<a href="mgsvgimport.htm#image" class="topiclink">image</a>=</span><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">string</span><span style="font-family: 'Courier New',Courier,monospace;">], [<a href="mgsvgimport.htm#idasmember" class="topiclink">idAsMember</a>=</span><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">boolean</span><span style="font-family: 'Courier New',Courier,monospace;">], [<a href="mgsvgimport.htm#newgroup" class="topiclink">newGroup</a>=</span><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">boolean</span><span style="font-family: 'Courier New',Courier,monospace;">], [<a href="mgsvgimport.htm#parentgroup" class="topiclink">parentGroup</a>=</span><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">boolean</span><span style="font-family: 'Courier New',Courier,monospace;">], [<a href="mgsvgimport.htm#pressedimage" class="topiclink">pressedImage</a>=</span><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">string</span><span style="font-family: 'Courier New',Courier,monospace;">],[<a href="mgsvgimport.htm#setnewgroupbg" class="topiclink">setNewGroupBG</a>=(</span><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">boolean, string)</span><span style="font-family: 'Courier New',Courier,monospace;">],[<a href="mgsvgimport.htm#setparentbg" class="topiclink">setParentBG</a>=(</span><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">boolean, string)</span><span style="font-family: 'Courier New',Courier,monospace;">], [<a href="mgsvgimport.htm#size" class="topiclink">size</a>=</span><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">boolean</span><span style="font-family: 'Courier New',Courier,monospace;">], [<a href="mgsvgimport.htm#view" class="topiclink">view</a>=</span><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">string</span><span style="font-family: 'Courier New',Courier,monospace;">])</span></p>
<p class="p_Normal" style="margin: 14px 0 14px 0;"><span style="font-size: 12pt; font-family: 'Times New Roman',Times,Georgia,serif;">MGSvgImport</span><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;"> </span><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif; font-weight: bold;">不可撤消</span><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">, 可以查询且可以创建或编辑</span><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;"></span></p>
<p style="line-height: 1.80;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">该命令主要用来批量导入SVG图片为Picker按钮或者查询SVG图片的一些基本信息。</span></p>
<p><span style="color: #000000;">&nbsp;</span></p>
<p class="p_Normal">&nbsp;</p>
<div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 13px;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:bottom; background-color:#CCCCCC; padding:1px; border:none"><p><span style="font-family: 'Times New Roman',Times,Georgia,serif; font-weight: bold;">长名 (短名</span></p>
</td>
<td style="vertical-align:bottom; background-color:#CCCCCC; padding:1px; border:none"><p><span style="font-family: 'Times New Roman',Times,Georgia,serif; font-style: italic; font-weight: bold;">参数类型</span></p>
</td>
<td style="vertical-align:bottom; background-color:#CCCCCC; padding:1px; border:none"><p><span style="font-family: 'Times New Roman',Times,Georgia,serif; font-weight: bold;">属性</span></p>
</td>
</tr>
<tr>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p style="margin: 0 0 0 13px;"><a id="conformed" class="hmanchor"></a><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-conformed</span><span style="font-family: 'Courier New',Courier,monospace;">(</span><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-cfd</span><span style="font-family: 'Courier New',Courier,monospace;">) </span><img alt="v2_transparent" width="34" height="12" style="margin:0;width:34px;height:12px;border:none" src="v2_transparent.png"/></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p style="margin: 0 0 0 13px;"><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">boolean</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p style="margin: 0 0 0 13px;"><img alt="query" title="query" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="query.gif"/></p>
</td>
</tr>
<tr>
<td colspan="3" style="vertical-align:middle; padding:1px; border:none"><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 13px;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:top; width:40px; padding:1px; border:none"><p class="p_Normal" style="margin: 0 0 0 13px;">&nbsp;</p>
</td>
<td style="vertical-align:middle; width:943px; padding:1px; border:none"><p class="p_Normal" style="margin: 0 0 0 13px;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">仅用于查询,与-elements 标签一起使用来查询SVG文件里的所有元素的ID。</span><br />
<span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">返回结果将是处理过的易于ID因为SVG标准的关系很多字符不允许被用做ID一些向量软件会将这部分非法字符替换成一些特殊的合法字符组合 用这个标签后将会把这些特殊字符组合变回原来在向量软件里显示的字符。在实际导入时你要用的是实际的ID而不是这些易于阅读的ID。</span></p>
<p class="p_Normal" style="margin: 0 0 0 13px;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">不指定情况下这个值是false.</span></p>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p style="margin: 0 0 0 13px;"><a id="elements" class="hmanchor"></a><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-elements</span><span style="font-family: 'Courier New',Courier,monospace;">(</span><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-ems</span><span style="font-family: 'Courier New',Courier,monospace;">)</span><img alt="v2_transparent" width="34" height="12" style="margin:0;width:34px;height:12px;border:none" src="v2_transparent.png"/></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p style="margin: 0 0 0 13px;"><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">boolean</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p style="margin: 0 0 0 13px;"><img alt="query" title="query" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="query.gif"/></p>
</td>
</tr>
<tr>
<td colspan="3" style="vertical-align:middle; padding:1px; border:none"><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 13px;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:top; width:40px; padding:1px; border:none"><p class="p_Normal" style="margin: 0 0 0 13px;">&nbsp;</p>
</td>
<td style="vertical-align:middle; width:943px; padding:1px; border:none"><p class="p_Normal" style="margin: 0 0 0 13px;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">仅用于查询,需要与-image标签一起使用来查询SVG文件里的所有元素的ID。</span><br />
<span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">也可以配合-conformed标签来返回比较方便阅读或处理的ID。</span></p>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p style="margin: 0 0 0 13px;"><a id="elementtypemap" class="hmanchor"></a><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-</span><span style="font-size: 12pt; font-family: 'Times New Roman',Times,Georgia,serif;">elementTypeMap</span><span style="font-family: 'Courier New',Courier,monospace;">(</span><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-etm</span><span style="font-family: 'Courier New',Courier,monospace;">)</span><img alt="v2_transparent" width="34" height="12" style="margin:0;width:34px;height:12px;border:none" src="v2_transparent.png"/></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p style="margin: 0 0 0 13px;"><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">string string</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p style="margin: 0 0 0 13px;"><img alt="create" title="create" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="create.gif"/><img alt="edit" title="edit" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="edit.gif"/><img alt="multiuse" width="13" height="16" style="margin:0;width:13px;height:16px;border:none" src="multiuse.gif"/></p>
</td>
</tr>
<tr>
<td colspan="3" style="vertical-align:middle; padding:1px; border:none"><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 13px;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:top; width:40px; padding:1px; border:none"><p class="p_Normal" style="margin: 0 0 0 13px;">&nbsp;</p>
</td>
<td style="vertical-align:middle; width:943px; padding:1px; border:none"><p class="p_Normal" style="margin: 0 0 0 13px;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">指定每个元素要创建什么按钮,格式是(元素ID, 按钮类型)。未指定的元素将不会被导入。</span></p>
<p class="p_Normal" style="margin: 0 0 0 13px;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">元素ID必须是实际的SVG元素ID而支持的按钮类型是&quot;selectButton&quot;, &quot;commandButton&quot;, &quot;graphicItem&quot;</span></p>
<p class="p_Normal" style="margin: 0 0 0 13px;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">例子:</span></p>
<p class="p_Normal" style="margin: 0 0 0 13px;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">MGSvgImport(elementTypeMap=[(ementId1, &quot;selectButton&quot;), (ementId1, &quot;commandButton&quot;), ], ...)</span></p>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p style="margin: 0 0 0 13px;"><a id="fitmode" class="hmanchor"></a><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-fitMode</span><span style="font-family: 'Courier New',Courier,monospace;">(</span><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-fm</span><span style="font-family: 'Courier New',Courier,monospace;">)</span><img alt="v2_transparent" width="34" height="12" style="margin:0;width:34px;height:12px;border:none" src="v2_transparent.png"/></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p style="margin: 0 0 0 13px;"><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">UnsignedInt</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p style="margin: 0 0 0 13px;"><img alt="create" title="create" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="create.gif"/><img alt="edit" title="edit" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="edit.gif"/></p>
</td>
</tr>
<tr>
<td colspan="3" style="vertical-align:middle; padding:1px; border:none"><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 13px;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:top; width:40px; padding:1px; border:none"><p class="p_Normal" style="margin: 0 0 0 13px;">&nbsp;</p>
</td>
<td style="vertical-align:middle; width:943px; padding:1px; border:none"><p class="p_Normal" style="margin: 0 0 0 13px;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">导入的按钮的图片缩放模式0是指原图大小不缩放1是指缩放到父组或面板的大小但不保持长宽比2 是指缩放适配父组或面板的大小并且保持长宽比。</span></p>
<p class="p_Normal" style="margin: 0 0 0 13px;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">默认情况下这个值是0。</span></p>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p style="margin: 0 0 0 13px;"><a id="highlightimage" class="hmanchor"></a><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-highlightImage</span><span style="font-family: 'Courier New',Courier,monospace;">(</span><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-hi</span><span style="font-family: 'Courier New',Courier,monospace;">)</span><img alt="v2_transparent" width="34" height="12" style="margin:0;width:34px;height:12px;border:none" src="v2_transparent.png"/></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p style="margin: 0 0 0 13px;"><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">string</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p style="margin: 0 0 0 13px;"><img alt="create" title="create" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="create.gif"/><img alt="edit" title="edit" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="edit.gif"/></p>
</td>
</tr>
<tr>
<td colspan="3" style="vertical-align:middle; padding:1px; border:none"><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 13px;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:top; width:40px; padding:1px; border:none"><p class="p_Normal" style="margin: 0 0 0 13px;">&nbsp;</p>
</td>
<td style="vertical-align:middle; width:943px; padding:1px; border:none"><p class="p_Normal" style="margin: 0 0 0 13px;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">导入的按钮的高亮显示图片路径。</span></p>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p style="margin: 0 0 0 13px;"><a id="hoverimage" class="hmanchor"></a><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-hoverImage</span><span style="font-family: 'Courier New',Courier,monospace;">(</span><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-hvi</span><span style="font-family: 'Courier New',Courier,monospace;">)</span><img alt="v2_transparent" width="34" height="12" style="margin:0;width:34px;height:12px;border:none" src="v2_transparent.png"/></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p style="margin: 0 0 0 13px;"><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">string</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p style="margin: 0 0 0 13px;"><img alt="create" title="create" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="create.gif"/><img alt="edit" title="edit" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="edit.gif"/></p>
</td>
</tr>
<tr>
<td colspan="3" style="vertical-align:middle; padding:1px; border:none"><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 13px;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:top; width:40px; padding:1px; border:none"><p class="p_Normal" style="margin: 0 0 0 13px;">&nbsp;</p>
</td>
<td style="vertical-align:middle; width:943px; padding:1px; border:none"><p class="p_Normal" style="margin: 0 0 0 13px;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">导入的按钮的鼠标经过图片路径。</span></p>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p style="margin: 0 0 0 13px;"><a id="image" class="hmanchor"></a><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-image</span><span style="font-family: 'Courier New',Courier,monospace;">(</span><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-i</span><span style="font-family: 'Courier New',Courier,monospace;">)</span><img alt="v2_transparent" width="34" height="12" style="margin:0;width:34px;height:12px;border:none" src="v2_transparent.png"/></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p style="margin: 0 0 0 13px;"><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">string</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p style="margin: 0 0 0 13px;"><img alt="create" title="create" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="create.gif"/><img alt="edit" title="edit" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="edit.gif"/></p>
</td>
</tr>
<tr>
<td colspan="3" style="vertical-align:middle; padding:1px; border:none"><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 13px;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:top; width:40px; padding:1px; border:none"><p class="p_Normal" style="margin: 0 0 0 13px;">&nbsp;</p>
</td>
<td style="vertical-align:middle; width:943px; padding:1px; border:none"><p class="p_Normal" style="margin: 0 0 0 13px;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">导入的按钮的图片路径。这个标签是必须的。</span></p>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p style="margin: 0 0 0 13px;"><a id="idasmember" class="hmanchor"></a><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-idAsMember</span><span style="font-family: 'Courier New',Courier,monospace;">(</span><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-iam</span><span style="font-family: 'Courier New',Courier,monospace;">)</span><img alt="v2_transparent" width="34" height="12" style="margin:0;width:34px;height:12px;border:none" src="v2_transparent.png"/></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p style="margin: 0 0 0 13px;"><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">boolean</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p style="margin: 0 0 0 13px;"><img alt="create" title="create" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="create.gif"/><img alt="edit" title="edit" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="edit.gif"/></p>
</td>
</tr>
<tr>
<td colspan="3" style="vertical-align:middle; padding:1px; border:none"><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 13px;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:top; width:40px; padding:1px; border:none"><p class="p_Normal" style="margin: 0 0 0 13px;">&nbsp;</p>
</td>
<td style="vertical-align:middle; width:943px; padding:1px; border:none"><p class="p_Normal" style="margin: 0 0 0 13px;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">如果导入为选择按钮是否将元素ID作为选择按钮的成员。默认情况下这个值是True。</span></p>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p style="margin: 0 0 0 13px;"><a id="newgroup" class="hmanchor"></a><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-newGroup</span><span style="font-family: 'Courier New',Courier,monospace;">(</span><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-ng</span><span style="font-family: 'Courier New',Courier,monospace;">)</span><img alt="v2_transparent" width="34" height="12" style="margin:0;width:34px;height:12px;border:none" src="v2_transparent.png"/></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p style="margin: 0 0 0 13px;"><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">boolean</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p style="margin: 0 0 0 13px;"><img alt="create" title="create" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="create.gif"/><img alt="edit" title="edit" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="edit.gif"/></p>
</td>
</tr>
<tr>
<td colspan="3" style="vertical-align:middle; padding:1px; border:none"><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 13px;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:top; width:40px; padding:1px; border:none"><p class="p_Normal" style="margin: 0 0 0 13px;">&nbsp;</p>
</td>
<td style="vertical-align:middle; width:943px; padding:1px; border:none"><p class="p_Normal" style="margin: 0 0 0 13px;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">是否创建一个新的组来包含所有其它创建的按钮。默认情况下这个值是False。</span></p>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p style="margin: 0 0 0 13px;"><a id="parentgroup" class="hmanchor"></a><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-parentGroup</span><span style="font-family: 'Courier New',Courier,monospace;">(</span><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-pg</span><span style="font-family: 'Courier New',Courier,monospace;">)</span><img alt="v2_transparent" width="34" height="12" style="margin:0;width:34px;height:12px;border:none" src="v2_transparent.png"/></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p class="p_Normal" style="margin: 0 0 0 13px;"><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">string</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p style="margin: 0 0 0 13px;"><img alt="create" title="create" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="create.gif"/><img alt="edit" title="edit" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="edit.gif"/></p>
</td>
</tr>
<tr>
<td colspan="3" style="vertical-align:middle; padding:1px; border:none"><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 13px;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:top; width:40px; padding:1px; border:none"><p class="p_Normal" style="margin: 0 0 0 13px;">&nbsp;</p>
</td>
<td style="vertical-align:middle; width:943px; padding:1px; border:none"><p class="p_Normal" style="margin: 0 0 0 13px;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">指定一个组或面板来包含所有创建的按钮,包括由-newGroup创建的新组。</span></p>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p style="margin: 0 0 0 13px;"><a id="pressedimage" class="hmanchor"></a><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-pressedImage</span><span style="font-family: 'Courier New',Courier,monospace;">(</span><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-pi</span><span style="font-family: 'Courier New',Courier,monospace;">)</span><img alt="v2_transparent" width="34" height="12" style="margin:0;width:34px;height:12px;border:none" src="v2_transparent.png"/></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p class="p_Normal" style="margin: 0 0 0 13px;"><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">string</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p style="margin: 0 0 0 13px;"><img alt="create" title="create" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="create.gif"/><img alt="edit" title="edit" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="edit.gif"/></p>
</td>
</tr>
<tr>
<td colspan="3" style="vertical-align:middle; padding:1px; border:none"><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 13px;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:top; width:40px; padding:1px; border:none"><p class="p_Normal" style="margin: 0 0 0 13px;">&nbsp;</p>
</td>
<td style="vertical-align:middle; width:943px; padding:1px; border:none"><p class="p_Normal" style="margin: 0 0 0 13px;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">导入的按钮的鼠标按下图片路径。</span></p>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p style="margin: 0 0 0 13px;"><a id="setnewgroupbg" class="hmanchor"></a><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-setNewGroupBG</span><span style="font-family: 'Courier New',Courier,monospace;">(</span><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-snb</span><span style="font-family: 'Courier New',Courier,monospace;">)</span><img alt="v2_transparent" width="34" height="12" style="margin:0;width:34px;height:12px;border:none" src="v2_transparent.png"/></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p style="margin: 0 0 0 13px;"><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">boolean string</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p style="margin: 0 0 0 13px;"><img alt="create" title="create" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="create.gif"/><img alt="edit" title="edit" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="edit.gif"/></p>
</td>
</tr>
<tr>
<td colspan="3" style="vertical-align:middle; padding:1px; border:none"><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 13px;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:top; width:40px; padding:1px; border:none"><p class="p_Normal" style="margin: 0 0 0 13px;">&nbsp;</p>
</td>
<td style="vertical-align:middle; width:942px; padding:1px; border:none"><p style="margin: 0 0 0 13px;"><span style="font-size: 12pt; font-family: 'Times New Roman',Times,Georgia,serif;">如果选择创建新组则这个标签的第一个布尔值决定是否设置这个新组的背景图片第二个字符窜指定使用的元素ID。空元素ID意味整个SVG图片。</span></p>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p style="margin: 0 0 0 13px;"><a id="setparentbg" class="hmanchor"></a><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-setParentBG</span><span style="font-family: 'Courier New',Courier,monospace;">(</span><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-spb</span><span style="font-family: 'Courier New',Courier,monospace;">)</span><img alt="v2_transparent" width="34" height="12" style="margin:0;width:34px;height:12px;border:none" src="v2_transparent.png"/></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p style="margin: 0 0 0 13px;"><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">boolean string</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p style="margin: 0 0 0 13px;"><img alt="create" title="create" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="create.gif"/><img alt="edit" title="edit" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="edit.gif"/></p>
</td>
</tr>
<tr>
<td colspan="3" style="vertical-align:middle; padding:1px; border:none"><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 13px;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:top; width:40px; padding:1px; border:none"><p class="p_Normal" style="margin: 0 0 0 13px;">&nbsp;</p>
</td>
<td style="vertical-align:middle; width:943px; padding:1px; border:none"><p style="margin: 0 0 0 13px;"><span style="font-size: 12pt; font-family: 'Times New Roman',Times,Georgia,serif;">这个标签的第一个布尔值决定是否设置父组或父面板的背景图片第二个字符窜指定使用的元素ID。空元素ID意味整个SVG图片。</span></p>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p style="margin: 0 0 0 13px;"><a id="size" class="hmanchor"></a><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-size</span><span style="font-family: 'Courier New',Courier,monospace;">(</span><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-sz</span><span style="font-family: 'Courier New',Courier,monospace;">)</span><img alt="v2_transparent" width="34" height="12" style="margin:0;width:34px;height:12px;border:none" src="v2_transparent.png"/></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p style="margin: 0 0 0 13px;"><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">boolean</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p style="margin: 0 0 0 13px;"><img alt="query" title="query" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="query.gif"/></p>
</td>
</tr>
<tr>
<td colspan="3" style="vertical-align:middle; padding:1px; border:none"><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 13px;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:top; width:40px; padding:1px; border:none"><p class="p_Normal" style="margin: 0 0 0 13px;">&nbsp;</p>
</td>
<td style="vertical-align:middle; width:943px; padding:1px; border:none"><p class="p_Normal" style="margin: 0 0 0 13px;"><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;">仅用于查询,需要与-image标签一直使用来查询SVG图片长宽</span><span style="font-size: 12pt; font-family: 'Times New Roman',Times,Georgia,serif;">大小</span><span style="font-size: 11pt; font-family: 'Times New Roman',Times,Georgia,serif;"></span></p>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p style="margin: 0 0 0 13px;"><a id="view" class="hmanchor"></a><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-view</span><span style="font-family: 'Courier New',Courier,monospace;">(</span><span style="font-family: 'Courier New',Courier,monospace; font-weight: bold;">-v</span><span style="font-family: 'Courier New',Courier,monospace;">)</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p style="margin: 0 0 0 13px;"><span style="font-family: 'Courier New',Courier,monospace; font-style: italic;">string</span></p>
</td>
<td style="vertical-align:top; background-color:#EEEEEE; padding:1px; border:none"><p style="margin: 0 0 0 13px;"><img alt="create" title="create" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="create.gif"/><img alt="edit" title="edit" width="13" height="16" style="margin:2px 2px 2px 2px;width:13px;height:16px;border:none" src="edit.gif"/></p>
</td>
</tr>
<tr>
<td colspan="3" style="vertical-align:middle; padding:1px; border:none"><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 0 0 0 13px;"><table style="width:100%; border:none; border-spacing:2px;">
<tr>
<td style="vertical-align:top; width:40px; padding:1px; border:none"><p class="p_Normal" style="margin: 0 0 0 13px;">&nbsp;</p>
</td>
<td style="vertical-align:middle; width:943px; padding:1px; border:none"><p style="line-height: 1.38; margin: 0 0 0 13px;"><span style="font-size: 12pt; font-family: 'Times New Roman',Times,Georgia,serif;">在哪个视图进行批量导入,如果不指定,则是在当前激活的视图。</span></p>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td colspan="3" style="vertical-align:top; padding:1px; border:none"><br />
</td>
</tr>
</table>
</div>
<hr style="height:2px; color:#CCCCCC; border-width:0; background-color:#cccccc;" /><div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 10px 0 0 0;"><table style="background-color:#eeeeee; border:none; border-spacing:1px;">
<tr>
<td style="vertical-align:top; padding:4px; border:none"><p><img alt="create" width="13" height="16" style="margin:0;width:13px;height:16px;border:none" src="create.gif"/><span class="f_ImageCaption"> </span><span style="font-size: 12pt; font-family: 'Times New Roman',Times,Georgia,serif;">Flag can appear in Create mode of command</span></p>
</td>
<td style="vertical-align:top; padding:4px; border:none"><p><img alt="edit" width="13" height="16" style="margin:0;width:13px;height:16px;border:none" src="edit.gif"/><span class="f_ImageCaption"> </span><span style="font-size: 12pt; font-family: 'Times New Roman',Times,Georgia,serif;">Flag can appear in Edit mode of command</span></p>
</td>
</tr>
<tr>
<td style="vertical-align:top; padding:4px; border:none"><p><img alt="query" width="13" height="16" style="margin:0;width:13px;height:16px;border:none" src="query.gif"/><span class="f_ImageCaption"> </span><span style="font-size: 12pt; font-family: 'Times New Roman',Times,Georgia,serif;">Flag can appear in Query mode of command</span></p>
</td>
<td style="vertical-align:top; padding:4px; border:none"><p><img alt="multiuse" width="13" height="16" style="margin:0;width:13px;height:16px;border:none" src="multiuse.gif"/><span class="f_ImageCaption"> </span><span style="font-size: 12pt; font-family: 'Times New Roman',Times,Georgia,serif;">Flag can be used more than once in a command.</span></p>
</td>
</tr>
</table>
</div>
<p style="margin: 19px 0 0 0;"><a id="examples" class="hmanchor"></a><span style="font-size: 14pt; font-family: 'Times New Roman',Times,Georgia,serif; font-weight: bold;">MEL</span><span style="font-size: 14pt; font-family: 宋体; font-weight: bold;">例子</span></p>
<p class="p_Normal" style="line-height: 1.0; white-space: nowrap; margin: 19px 0 0 0;"><span style="font-family: 'Courier New',Courier,monospace;">string&nbsp;$svgFile&nbsp;=&nbsp;&quot;path/to/svgFile.svg&quot;;</span></p>
<p class="p_Normal" style="line-height: 1.0; white-space: nowrap; margin: 19px 0 0 0;"><span style="font-family: 'Courier New',Courier,monospace;">//&nbsp;Query&nbsp;the&nbsp;size&nbsp;of&nbsp;SVG&nbsp;file:</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">int&nbsp;$sizes[]&nbsp;=&nbsp;`MGSvgImport&nbsp;-q&nbsp;-size&nbsp;-image&nbsp;$svgFile`;</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">print(&quot;size&nbsp;of&nbsp;SVG&nbsp;file:&nbsp;&quot;&nbsp;+&nbsp;$sizes[0]&nbsp;+&nbsp;&quot;,&nbsp;&quot;&nbsp;+&nbsp;$sizes[1]+&quot;\n&quot;);</span></p>
<p class="p_Normal" style="line-height: 1.0; white-space: nowrap; margin: 19px 0 0 0;"><span style="font-family: 'Courier New',Courier,monospace;">//&nbsp;Query&nbsp;the&nbsp;actual&nbsp;element&nbsp;IDs&nbsp;of&nbsp;SVG&nbsp;file:</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">string&nbsp;$elements[]&nbsp;=&nbsp;`MGSvgImport&nbsp;-q&nbsp;-elements&nbsp;-image&nbsp;$svgFile`;</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">string&nbsp;$elementStr&nbsp;=&nbsp;`stringArrayToString&nbsp;$elements&nbsp;&quot;,&nbsp;&quot;`;</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">print(&quot;Actual&nbsp;elements:&nbsp;&quot;&nbsp;+&nbsp;$elementStr+&quot;\n&quot;);</span></p>
<p class="p_Normal" style="line-height: 1.0; white-space: nowrap; margin: 19px 0 0 0;"><span style="font-family: 'Courier New',Courier,monospace;">//&nbsp;Query&nbsp;the&nbsp;conformed&nbsp;element&nbsp;IDs&nbsp;of&nbsp;SVG&nbsp;file:</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">string&nbsp;$coformedElements[]&nbsp;=&nbsp;`MGSvgImport&nbsp;-q&nbsp;-elements&nbsp;-image&nbsp;$svgFile&nbsp;-conformed`;</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">string&nbsp;$coformedElementStr&nbsp;=&nbsp;`stringArrayToString&nbsp;$coformedElements&nbsp;&quot;,&nbsp;&quot;`;</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">print(&quot;Conformed&nbsp;UI-friendly&nbsp;elements:&nbsp;&quot;&nbsp;+&nbsp;$coformedElementStr+&quot;\n&quot;);</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">&nbsp;</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">//&nbsp;now&nbsp;do&nbsp;your&nbsp;own&nbsp;mapping&nbsp;for&nbsp;element&nbsp;and&nbsp;the&nbsp;desired&nbsp;picker&nbsp;buttons.</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">//&nbsp;Now&nbsp;we&nbsp;do&nbsp;the&nbsp;batch&nbsp;import,&nbsp;you&nbsp;can&nbsp;use&nbsp;either&nbsp;create&nbsp;/&nbsp;edit&nbsp;mode.&nbsp;Specify&nbsp;view&nbsp;argument&nbsp;if&nbsp;you&nbsp;want&nbsp;to&nbsp;import&nbsp;to&nbsp;a&nbsp;inactive&nbsp;view:</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">string&nbsp;$importedButtons[]&nbsp;=&nbsp;`MGSvgImport</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;-parentGroup&nbsp;&quot;panel1&quot;</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;-image&nbsp;$svgFile</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;-fitMode&nbsp;2</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;-idAsMember&nbsp;true</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;-newGroup&nbsp;true</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;-setParentBG&nbsp;1&nbsp;&quot;backgroundElementId&quot;</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;-elementTypeMap&nbsp;&quot;element1&quot;&nbsp;&quot;selectButton&quot;</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;-elementTypeMap&nbsp;&quot;element2&quot;&nbsp;&quot;selectButton&quot;</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;-elementTypeMap&nbsp;&quot;element3&quot;&nbsp;&quot;commandButton&quot;`;</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">&nbsp;</span></p>
<p style="margin: 19px 0 0 0;"><a id="pyexamples" class="hmanchor"></a><span style="font-size: 14pt; font-family: 'Times New Roman',Times,Georgia,serif; font-weight: bold;">Python</span><span style="font-size: 14pt; font-family: 宋体; font-weight: bold;">例子</span></p>
<p style="margin: 19px 0 0 0;"><span style="font-family: 'Courier New',Courier,monospace;">from mgpicker import mgp</span></p>
<p style="margin: 19px 0 0 0;"><span style="font-family: 'Courier New',Courier,monospace;">svgFile = &quot;path/to/svgFile.svg&quot;</span></p>
<p class="p_Normal" style="line-height: 1.0; white-space: nowrap; margin: 19px 0 0 0;"><span style="font-family: 'Courier New',Courier,monospace;">#&nbsp;Query&nbsp;the&nbsp;size&nbsp;of&nbsp;SVG&nbsp;file:</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">print(&quot;size&nbsp;of&nbsp;SVG&nbsp;file&quot;,&nbsp;mgp.MGSvgImport(q=True,&nbsp;size=True,&nbsp;image=svgFile))</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">elements&nbsp;=&nbsp;mgp.MGSvgImport(q=True,&nbsp;elements=True,&nbsp;image=svgFile,&nbsp;conformed=False)</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">print(&quot;Actual&nbsp;elements&nbsp;of&nbsp;SVG&nbsp;file&quot;,&nbsp;elements)</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">conformedElements&nbsp;=&nbsp;mgp.MGSvgImport(q=True,&nbsp;elements=True,&nbsp;image=svgFile,&nbsp;conformed=True)</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">print(&quot;Conformed&nbsp;UI-friendly&nbsp;elements&nbsp;of&nbsp;SVG&nbsp;file&quot;,&nbsp;conformedElements)</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">&nbsp;</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">#&nbsp;construct&nbsp;a&nbsp;map&nbsp;between&nbsp;original&nbsp;and&nbsp;conformed&nbsp;element&nbsp;IDS,&nbsp;if&nbsp;you&nbsp;need&nbsp;it:</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">elementMap&nbsp;=&nbsp;{element&nbsp;:&nbsp;conformed&nbsp;for&nbsp;element,&nbsp;conformed&nbsp;in&nbsp;zip(elements,&nbsp;conformedElements)}</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">&nbsp;</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">#&nbsp;now&nbsp;do&nbsp;your&nbsp;own&nbsp;mapping&nbsp;for&nbsp;element&nbsp;and&nbsp;the&nbsp;desired&nbsp;picker&nbsp;buttons.</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">elementTypeMap&nbsp;=&nbsp;[(&quot;element1&quot;,&nbsp;&quot;selectButton&quot;),&nbsp;(&quot;element2&quot;,&nbsp;&quot;selectButton&quot;),&nbsp;(&quot;element3&quot;,&nbsp;&quot;commandButton&quot;)]</span></p>
<p class="p_Normal" style="line-height: 1.0; white-space: nowrap; margin: 19px 0 0 0;"><span style="font-family: 'Courier New',Courier,monospace;">#&nbsp;Now&nbsp;we&nbsp;do&nbsp;the&nbsp;batch&nbsp;import,&nbsp;you&nbsp;can&nbsp;use&nbsp;either&nbsp;create&nbsp;/&nbsp;edit&nbsp;mode.&nbsp;Specify&nbsp;view&nbsp;argument&nbsp;if&nbsp;you&nbsp;want&nbsp;to&nbsp;import&nbsp;to&nbsp;a&nbsp;inactive&nbsp;view:</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">importedButtons&nbsp;=&nbsp;mgp.MGSvgImport(</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;parentGroup=&quot;panel1&quot;,</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;image=svgFile,</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;fitMode=2,&nbsp;&nbsp;#&nbsp;scale&nbsp;to&nbsp;fit&nbsp;panel1,&nbsp;but&nbsp;also&nbsp;keep&nbsp;the&nbsp;image&nbsp;ratio.</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;elementTypeMap=elementTypeMap,</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;idAsMember=True,</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;newGroup=False,</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;setParentBG=(True,&nbsp;&quot;backgroundElementId&quot;),</span><br />
<span style="font-family: 'Courier New',Courier,monospace;">)</span></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="mgpickermenuitem.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></a>
<a href="mgpickerservice.htm"><img border="0" src="../common/images/MGtoolsHelp_next.gif" width="34" height="22" alt="Next" /></a></td>
</tr>
</table>
</body>
</html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 810 B

View File

@@ -0,0 +1,57 @@
<!DOCTYPE html>
<html>
<head>
<title>更多资源</title>
<meta name="generator" content="Help &amp; Manual" />
<meta name="keywords" content="download pickers,tutorials,video tutorials" />
<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", "more_resource.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>&nbsp;
<a href="more_resource_2.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></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">&#9642;</span><span class="f_Heading1" style="font-size: 10pt;">针对流行Maya rig的免费picker下载</span></p><p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span class="f_Heading1" style="font-size: 10pt; font-weight: normal;"><a href="http://mgland.com/MGPicker_ch.html?url=Download" target="_blank" class="weblink">http://mgland.com/MGPicker_ch.html?url=Download</a></span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;">&nbsp;</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">&#9642;</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: 10pt; font-weight: normal;"><a href="http://mgland.com/MGPicker_ch.html?url=Features" target="_blank" class="weblink">http://mgland.com/MGPicker_ch.html?url=Features</a></span></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="more_resource_2.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></a>
</td>
</tr>
</table>
</body>
</html>

View File

@@ -0,0 +1,81 @@
<!DOCTYPE html>
<html>
<head>
<title>More Resources_2</title>
<meta name="generator" content="Help &amp; Manual" />
<meta name="keywords" content="download pickers,tutorials,video tutorials" />
<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", "more_resource_2.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>&nbsp;
<a href="user_configuration.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></a>
<a href="more_resource.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="line-height: 1.80;"><span class="f_Heading1" style="font-size: 10pt; font-weight: normal;">MG-Picker Studio uses the <a href="http://www.qt.io/" target="_blank" class="weblink">Qt Toolkit</a> under the terms of the GNU Lesser General Public License v. 3 and the GNU Lesser General Public License v. 2.1 (both jointly &quot;<a href="http://www.qt.io/qt-licensing-terms" target="_blank" class="weblink">LGPL</a>&quot;). In compliance with LGPL, this document collects the relevant information about downloading, installing, and building the Qt Toolkit from sources. The main source of the information and most of the web links provided here come from the <a href="http://www.qt.io/" target="_blank" class="weblink">Qt Company's</a> website.</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 5px;"><img alt="Warning" width="16" height="16" style="margin:0;width:16px;height:16px;border:none" src="warning.gif"/><span style="font-size: 9pt; color: #ff0000;"> </span><span class="f_Heading1" style="font-size: 10pt; font-weight: normal;">The Qt Toolkit is copyright by The <a href="http://www.qt.io/" target="_blank" class="weblink">Qt Company</a> and/or its subsidiary(-ies) and other contributors.</span></p>
<p class="p_Normal" style="line-height: 1.80;">&nbsp;</p>
<p class="p_Normal" style="line-height: 1.80;"><span class="f_Heading1" style="font-size: 10pt;">LGPL License Text</span></p>
<p class="p_Normal" style="line-height: 1.80;"><span class="f_Heading1" style="font-size: 10pt; font-weight: normal;">The first step in compliance with LGPL is that every recipient of the MG-Picker Studio receives also the full text of the LGPL licenses used (with MGPicker_Program/Terms/Qt). &nbsp;MG-Picker Studio complies with this requirement by including the full text of the LGPL licenses (lgpl-2.1.txt and lgpl-3.txt) in every MG-Picker Studio distribution. The full text of the LGPL licenses can also be obtained in this documentation by clicking on the links below:</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 13px;"><span class="f_Heading1" style="font-size: 10pt; font-weight: normal;"><a href="https://www.gnu.org/licenses/lgpl-2.1.txt" target="_blank" class="weblink">LGPL v2.1</a></span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 13px;"><span class="f_Heading1" style="font-size: 10pt; font-weight: normal;"><a href="https://www.gnu.org/licenses/lgpl-3.0.txt" target="_blank" class="weblink">LGPL v3</a></span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 13px;">&nbsp;</p>
<p class="p_Normal" style="line-height: 1.80;"><span class="f_Heading1" style="font-size: 10pt;">How MG-Picker Studio Uses Qt</span></p>
<p class="p_Normal" style="line-height: 1.80;"><span class="f_Heading1" style="font-size: 10pt;">Dynamic Linking</span></p>
<p class="p_Normal" style="line-height: 1.80;"><span class="f_Heading1" style="font-size: 10pt; font-weight: normal;">For standalone mode, on each supported platform (Windows, Linux, and macOS), MG-Picker Studio dynamically links to the unmodified Qt libraries, as provided by the Qt Company in the pre-compiled binary format; &nbsp;For Maya-plugin mode, on each supported platform (Windows, Linux, and macOS), the MG-Picker Studio dynamically links to the Autodesk-modified Qt libraries, as provided by the Autodesk in the pre-compiled binary format. To download the Autodesk-modified Qt source, please visit <a href="https://www.helpandmanual.com/order.html" class="weblink">here</a>; The Autodesk-modified Qt libraries can be found in each Maya distribution or can be built from their source codes.</span></p>
<p class="p_Normal" style="line-height: 1.80;">&nbsp;</p>
<p class="p_Normal" style="line-height: 1.80;"><span class="f_Heading1" style="font-size: 10pt; font-weight: normal;">Also, in compliance with LGPL, the &quot;About MG-Picker Studio&quot; dialog box prominently states that this program uses the Qt Toolkit under the terms of LGPL.</span></p>
<p class="p_Normal" style="line-height: 1.80;"><img alt="qtInAboutDlg" width="688" height="434" style="margin:0;width:688px;height:434px;border:none" src="qtinaboutdlg.jpg"/></p>
<p class="p_Normal" style="line-height: 1.80;">&nbsp;</p>
<p class="p_Normal" style="line-height: 1.80;"><span class="f_Heading1" style="font-size: 10pt;">Qt Version Information</span></p>
<p class="p_Normal" style="line-height: 1.80;"><span class="f_Heading1" style="font-size: 10pt; font-weight: normal;">Additionally, the MG-Picker Studio Help Menu includes the standard &quot;About Qt&quot; dialog box, which informs the user about the exact version of Qt and explains the Qt licensing terms.</span></p>
<p class="p_Normal" style="line-height: 1.80;"><img alt="aboutqt" width="730" height="538" style="margin:0;width:730px;height:538px;border:none" src="aboutqt.jpg"/></p>
<p class="p_Normal" style="line-height: 1.80;"><span class="f_Heading1" style="font-size: 10pt; font-weight: normal;">Note that, for different versions of MG-Picker Studio Maya-Plugins, the dialog will show different Qt versions.</span></p>
<p class="p_Normal" style="line-height: 1.80;">&nbsp;</p>
<p class="p_Normal" style="line-height: 1.80;"><span class="f_Heading1" style="font-size: 10pt;">Qt Library Source Code</span></p>
<p class="p_Normal" style="line-height: 1.80;"><span class="f_Heading1" style="font-size: 10pt; font-weight: normal;">The MG-Picker Studio has used several Qt versions. </span></p>
<p class="p_Normal" style="line-height: 1.80;"><span class="f_Heading1" style="font-size: 10pt; font-weight: normal;">Standalone Mode: <a href="https://download.qt.io/archive/qt/5.12/5.12.12/" target="_blank" class="weblink">https://download.qt.io/archive/qt/5.12/5.12.12/</a></span></p>
<p class="p_Normal" style="line-height: 1.80;"><span class="f_Heading1" style="font-size: 10pt; font-weight: normal;">Maya Plug-in Mode: <a href="https://www.autodesk.com/company/legal-notices-trademarks/open-source-distribution" target="_blank" class="weblink">Autodesk Open Source Distribution</a></span></p>
<p class="p_Normal" style="line-height: 1.80;">&nbsp;</p>
<p class="p_Normal" style="line-height: 1.80;"><span class="f_Heading1" style="font-size: 10pt;">Written Offer to Provide Source Code</span></p>
<p class="p_Normal" style="line-height: 1.80;"><span class="f_Heading1" style="font-size: 10pt; font-weight: normal;">In case you have any trouble downloading the Qt Source Code from the official links provided above, you can make a Qt source code request, send email to the following address: mgpickerstudio@gmail.com. Please indicate which specific MG-Picker studio version you are using.</span></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="user_configuration.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></a>
<a href="more_resource.htm"><img border="0" src="../common/images/MGtoolsHelp_next.gif" width="34" height="22" alt="Next" /></a></td>
</tr>
</table>
</body>
</html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 161 B

View File

@@ -0,0 +1,64 @@
<!DOCTYPE html>
<html>
<head>
<title>命名空间</title>
<meta name="generator" content="Help &amp; Manual" />
<meta name="keywords" content="" />
<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", "namespace.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>&nbsp;
<a href="designprinciple.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></a>
<a href="itemtypes.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_Normal" style="font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';display:inline-block;width:13px;margin-left:-13px">&#9642;</span><span style="font-weight: bold;"> 设置当前picker的命名空间</span></p><p class="p_Normal" style="text-indent: -24px; line-height: 1.80; margin: 0 0 0 48px;"><span style="font-size: 9pt;">Namespace是当前Picker的命令空间即前缀名。改变这个前缀名使你可以将Picker在所有其它命名类似的角色上使用。</span></p>
<p class="p_Normal" style="text-indent: -24px; line-height: 1.80; margin: 0 0 0 48px;"><span style="font-size: 9pt; font-weight: bold;">-在设计师模式下设置命名空间的两种方式:</span></p>
<p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 24px; margin: 0 0 0 24px;"><span class="f_Normal" style="font-size:9pt;display:inline-block;width:24px;margin-left:-24px">1.</span><span style="font-size: 9pt;">选择reference角色的任一部分按Ctrl+Alt+Shift+S快捷键打开命名空间设置窗口并设置。 </span></p><p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 24px; margin: 0 0 0 24px;"><span class="f_Normal" style="font-size:9pt;display:inline-block;width:24px;margin-left:-24px">2.</span><span style="font-size: 9pt;">选择参考角色的任一部分点击命名空间设置对话框右边的一个左箭头按钮来从Maya节点获取命名空间。</span></p><p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;">&nbsp;</p>
<p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 13px; margin-left: 0;"><span class="f_Normal" style="font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';display:inline-block;width:13px;margin-left:-13px">&#9642;</span><span style="font-weight: bold;">Sub-Namespace(次命名空间):</span></p><p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span style="font-size: 9pt;">大部分类型的picker对象都支持一个叫sub-namespace(次命名空间)的属性,(具体是这些类型: 选择按钮,命令按钮,属性按钮,滑条)</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span style="font-size: 9pt;">sub-namespace是对picker所用命令空间的追加。比如您的picker namespace被设置为&quot;myCharacter&quot;, 有一个选择按钮的sub-namespace设置为&quot;bodyRig:chestRig&quot;, 这个选择按钮含有一个成员控制器叫&quot;chest_ctl&quot;,那么这个控制器最终将被解释成:</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span style="width:24px;display:inline-block">&nbsp;</span><span style="color: #ff0000;">myCharacter:bodyRig:chestRig:chest_ctl;</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span style="font-size: 9pt;">这意味着在动画师模式下您点击这个选择按钮它将试图在您的Maya场景里选择一个叫&quot;myCharacter:bodyRig:chestRig:chest_ctl&quot;的物体.</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span style="font-size: 9pt;">这个属性主要是用来支持基于reference的rigging架构因为在这种rig里可能已经包含reference。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span style="font-size: 9pt;">这样所有这些不同的命名空间的物件仍然可以被设计在一个picker文件/节点里使用。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;">&nbsp;</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="designprinciple.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></a>
<a href="itemtypes.htm"><img border="0" src="../common/images/MGtoolsHelp_next.gif" width="34" height="22" alt="Next" /></a></td>
</tr>
</table>
</body>
</html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 940 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@@ -0,0 +1,69 @@
<!DOCTYPE html>
<html>
<head>
<title>大纲视图</title>
<meta name="generator" content="Help &amp; Manual" />
<meta name="keywords" content="attribute link,links,parent link" />
<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", "outliner.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>&nbsp;
<a href="relationshipview.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></a>
<a href="pickermenu.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_ImageCaption" style="font-size:10pt; font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';display:inline-block;width:13px;margin-left:-13px">&#9642;</span><span class="f_ImageCaption" style="font-size: 10pt;">大纲视图给你一个场景内所有按钮的概览,包含被隐藏掉的。</span></p><p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 11px;"><span class="f_Heading1" style="font-size: 9pt;">界面概览:</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><img alt="outliner_ch" width="233" height="256" style="margin:0;width:233px;height:256px;border:none" src="outliner_ch.gif"/><br />
<span class="f_ImageCaption">&nbsp;</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 22px;"><span class="f_Heading1" style="font-size: 9pt; font-weight: normal;">操作方式上很类似于Maya的大纲视图。灰色的部分是在场景不可见的。当你在大纲里选择了一些对象其它的一些对象有可能变紫色代表是所选对象的镜像对象。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 22px;"><span class="f_Heading1" style="font-size: 9pt; font-weight: normal;">不像Maya大纲视图在这个大纲里并不支持拖放来编辑父子关系。不过你可以选择后按P及Shift+P来成为父子关系或解除父子关系。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 22px;"><span class="f_Heading1" style="font-size: 9pt; font-weight: normal;">按Ctrl+G来打组。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 22px;"><span class="f_Heading1" style="font-size: 9pt; font-weight: normal;">按F2来重命名对象。对象ID是不可重命名的这里的名字是其名字属性。同一名字可以用于多个对象以便在编程时方便抓取这些对象的ID。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 22px;"><span class="f_Heading1" style="font-size: 9pt; font-weight: normal;">在 [ ] 里显示的是可被编程的名字外面的是不可变的ID</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 22px;"><img alt="namingInOutliner" width="194" height="174" style="margin:0;width:194px;height:174px;border:none" src="naminginoutliner.gif"/></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 22px;">&nbsp;</p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 22px;"><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 22px;"><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 22px;"><img alt="statsInOutliner_ch" width="291" height="185" style="margin:0;width:291px;height:185px;border:none" src="statsinoutliner_ch.gif"/></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;">&nbsp;</p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 22px;"><span class="f_Heading1" style="font-size: 9pt; font-weight: normal;"> <img alt="lightbulb" width="16" height="16" style="margin:0;width:16px;height:16px;border:none" src="lightbulb.png"/> &nbsp; 在大纲视图里大部分Picker快捷键可用因为它只处理它能处理的小部分快捷键其它委托给Picker视图来响应快捷键。</span></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="relationshipview.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></a>
<a href="pickermenu.htm"><img border="0" src="../common/images/MGtoolsHelp_next.gif" width="34" height="22" alt="Next" /></a></td>
</tr>
</table>
</body>
</html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

View File

@@ -0,0 +1,65 @@
<!DOCTYPE html>
<html>
<head>
<title>Picker菜单</title>
<meta name="generator" content="Help &amp; Manual" />
<meta name="keywords" content="menu,menu design" />
<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", "pickermenu.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>&nbsp;
<a href="outliner.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></a>
<a href="editing.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">&#9642;</span><span class="f_Heading1" style="font-size: 10pt;">每个picker对象都可以内置一个左键或右键菜单 。</span></p><p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span class="f_Heading1" style="font-size: 10pt;">- </span><span class="f_Heading1" style="font-size: 9pt;">要为picker对象设置左、右键菜单:</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;"><span style="font-size: 9pt;">选择picker对象来到菜单编辑器。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;"><span style="font-size: 9pt;">创建、编辑菜单的基本流程如下图:</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;"><img alt="menuEditor_ch" width="503" height="590" style="margin:0;width:503px;height:590px;border:none" src="menueditor_ch.jpg"/></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;">&nbsp;</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="lightbulb" width="16" height="16" style="margin:0;width:16px;height:16px;border:none" src="lightbulb.png"/><span style="font-size: 9pt;"> </span><span class="f_Heading1" style="font-size: 9pt; font-weight: normal;">你可以按&quot;Ctrl+C&quot;, &quot;Ctrl+X&quot;, &quot;Ctrl+V&quot; 来复制剪切粘贴菜单项。</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="lightbulb" width="16" height="16" style="margin:0;width:16px;height:16px;border:none" src="lightbulb.png"/><span style="font-size: 9pt;"> </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;"><span class="f_Heading1" style="font-size: 9pt; font-weight: normal;"> </span><img alt="lightbulb" width="16" height="16" style="margin:0;width:16px;height:16px;border:none" src="lightbulb.png"/><span style="font-size: 9pt;"> 你可以在上方的预览测试区左键或右键单击来测试您设计的菜单 。</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="lightbulb" width="16" height="16" style="margin:0;width:16px;height:16px;border:none" src="lightbulb.png"/><span style="font-size: 9pt;"> 你可以针对左右键设计不同的菜单,如果要左右键总是使用相同的菜单,则在编辑左键菜单时勾上&quot;使用右键菜单&quot;的选项。</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="lightbulb" width="16" height="16" style="margin:0;width:16px;height:16px;border:none" src="lightbulb.png"/><span style="font-size: 9pt;"> 你可以同时指定、编辑多个picker对象的菜单编辑或创建的菜单将内置于所有选中的picker对象。</span><br />
<span style="font-size: 9pt;">&nbsp;</span></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="outliner.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></a>
<a href="editing.htm"><img border="0" src="../common/images/MGtoolsHelp_next.gif" width="34" height="22" alt="Next" /></a></td>
</tr>
</table>
</body>
</html>

View File

@@ -0,0 +1,95 @@
<!DOCTYPE html>
<html>
<head>
<title>整合Picker工具</title>
<meta name="generator" content="Help &amp; Manual" />
<meta name="keywords" content="distribute picker,pipeline" />
<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", "pickertoolintergration.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>&nbsp;
<a href="distributeinpipeline.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></a>
<a href="publishinternet.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_Normal" style="font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';display:inline-block;width:13px;margin-left:-13px">&#9642;</span><span style="font-weight: bold;">关于MG-Picker工作室版本控制的建议:</span></p><p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 24px; margin: 0 0 0 24px;"><span class="f_Normal" style="font-size:9pt; font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';display:inline-block;width:24px;margin-left:-24px">&#9642;</span><span style="font-size: 9pt; font-weight: bold;">为什么需要版本控制:</span><br />
<span style="font-size: 9pt;">大公司往往有自己的软件包的打包及管理系统及版本管理系统。他们需要在这些系统里作一些设置以使用更新的Picker工具或回卷使用旧的工具版本。</span></p><p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 24px; margin: 0 0 0 24px;"><span class="f_Normal" style="font-size:9pt; font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';display:inline-block;width:24px;margin-left:-24px">&#9642;</span><span style="font-size: 9pt; font-weight: bold;">面临的问题:</span><br />
<span style="font-size: 9pt;">目前在Maya 2017+的版本, MG-Picker工作室使用Maya的workspace control来实现随Maya加载自动加载。</span><br />
<span style="font-size: 9pt;">问题是对于workspace control, 它是硬写一个固定的mel路径加载这个路径的mel并呼叫相应的函数来加载界面。</span><br />
<span style="font-size: 9pt;">这意味着下次启动Maya自动加载的工具如果上次Maya你没有关闭picker窗口仍是指向旧版本的如果这时想要打开新版本的工具有可能会出错。</span></p><p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 24px; margin: 0 0 0 24px;"><span class="f_Normal" style="font-size:9pt; font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';display:inline-block;width:24px;margin-left:-24px">&#9642;</span><span style="font-size: 9pt; font-weight: bold;">如何解决:</span><br />
<span style="font-size: 9pt;">从MG-Picker工作室 v1.83开始,你可以设置一个环境: &nbsp;MGPICKER_PROGRAM_FILE_DIR , </span><br />
<span style="font-size: 9pt;">将其值设为指向MGPicker_Program的目录及picker工具的程序目录这个目录下直接包含了叫&quot;MGPicker_WrittenByMiguel.mel&quot;的mel文件。</span><br />
<span style="font-size: 9pt;">MG-Picker工作室使用Maya的workspace control的ui脚本就包含了这个环境变量的检测如果环境变量被设置则会调用环境变量里的mel。 </span><br />
<span style="font-size: 9pt;">下面是设置环境变量的示例python代码你可以用其它任意方式或语言来设置:</span><br />
<span style="font-size: 9pt; color: #748c43;">import os</span><br />
<span style="font-size: 9pt; color: #748c43;">os.environ[&quot;MGPICKER_PROGRAM_FILE_DIR&quot;] = '/path/to/MGPicker_Program'</span><br />
<span style="font-size: 9pt;">* 对于Maya 2016或更早版本这个功能不被支持只有重新安装工具。</span></p><p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 24px; margin: 0 0 0 24px;"><span class="f_Normal" style="font-size:9pt; font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';display:inline-block;width:24px;margin-left:-24px">&#9642;</span><span style="font-size: 9pt;">实际用来启动工具的MEL代码Python代码类似</span></p><div style="text-align: left; line-height: 1.80; padding: 0 0 0 0; margin: 0 0 0 48px;"><table style="border:none; border-spacing:0;">
<tr>
<td style="vertical-align:top; padding:0; border:none"><p class="p_Normal"><span style="font-size: 9pt; color: #748c43;">string $mgpicker_programDir = `getenv &quot;MGPICKER_PROGRAM_FILE_DIR&quot;`;</span></p>
<p class="p_Normal"><span style="font-size: 9pt; color: #748c43;">if(`filetest -d $mgpicker_programDir`)</span></p>
<p class="p_Normal"><span style="font-size: 9pt; color: #748c43;">{</span></p>
<p class="p_Normal"><span style="font-size: 9pt; color: #748c43;"> &nbsp; &nbsp;eval (&quot;source \&quot;&quot;+$mgpicker_programDir+&quot;/MGPicker_WrittenByMiguel.mel&quot;+&quot;\&quot;&quot;);</span></p>
<p class="p_Normal"><span style="font-size: 9pt; color: #748c43;">}</span></p>
<p class="p_Normal"><span style="font-size: 9pt; color: #748c43;">else</span></p>
<p class="p_Normal"><span style="font-size: 9pt; color: #748c43;">{ </span></p>
<p class="p_Normal"><span style="font-size: 9pt; color: #748c43;"> &nbsp; &nbsp;eval (&quot;source \&quot;/thePathTo/MGPicker_Program/MGPicker_WrittenByMiguel.mel\&quot;&quot;); &nbsp; &nbsp;// 改为实际的路径,这是备用路径!</span></p>
<p class="p_Normal"><span style="font-size: 9pt; color: #748c43;">}</span></p>
<p class="p_Normal"><span style="font-size: 9pt; color: #748c43;">MG_PickerStudio 1; &nbsp; &nbsp; // 使用 MG_PickerStudio 0 来启动设计师模式!</span></p>
</td>
</tr>
</table>
</div>
<p class="p_Normal" style="text-indent: -24px; line-height: 1.80; margin: 0 0 0 48px;">&nbsp;</p>
<p class="p_Normal" style="text-indent: -24px; line-height: 1.80; margin: 0 0 0 48px;">&nbsp;</p>
<p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: -11px; margin: 0 0 0 24px;"><span class="f_Normal" style="font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';display:inline-block;width:13px;margin-left:-13px">&#9642;</span><span class="f_Heading1" style="font-size: 10pt;">如何设置配置档根目录:</span><br />
<span style="font-size: 9pt;">从MG-Picker工作室 v1.83开始,你可以设置一个环境: &nbsp;MGPICKER_USER_CONFIG_DIR , &nbsp;来决定MG-Picker工作室的配置档根目录在哪里。</span><br />
<span style="font-size: 9pt;">同时你也可以通过MGPicker_Program/ServerConfig/UserConfig_Position.txt这个文本设置文件进行设置不过通过环境变量直接设置配置档根目录具有更高的优先级。</span><br />
<span style="font-size: 9pt;">可能值是:</span><br />
<span style="font-size: 9pt;"> &nbsp; &nbsp; &nbsp; &nbsp;任何绝对路径</span><br />
<span style="font-size: 9pt;"> &nbsp; &nbsp; &nbsp; &nbsp;$UserAppDir / ${UserAppDir} &nbsp;/ __UserAppDir__ : 如&quot;My Documents/maya/MG_PickerUserConfig&quot;它对所有本地Maya版本起作用</span><br />
<span style="font-size: 9pt;"> &nbsp; &nbsp; &nbsp; &nbsp;$UserScriptDir / ${UserScriptDir} / __UserScriptDir__ : 如&quot;My Documents/maya/2016/scripts/MG-PickerStudio/MGPicker_UserConfig&quot;如例中所示的它只对本地Maya 2016版本起作用</span><br />
<span style="font-size: 9pt;"> &nbsp; &nbsp; &nbsp; &nbsp;空值 则默认是MGPicker_Program/MGPicker_UserConfig这个目录。在MG-Picker工作室的程序安装目录里。</span><br />
<span style="font-size: 9pt;">* 你需要重启Maya以便设置生效。</span></p><p class="p_Normal" style="text-indent: -24px; line-height: 1.80; margin: 0 0 0 48px;">&nbsp;</p>
<p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: -11px; margin: 0 0 0 24px;"><span class="f_Normal" style="font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';display:inline-block;width:13px;margin-left:-13px">&#9642;</span><span class="f_Heading1" style="font-size: 10pt;">如何设置浮动授权连接器所在目录:</span><br />
<span style="font-size: 9pt;">从MG-Picker工作室 v1.83开始,你可以设置一个环境: &nbsp;MGPICKER_FLOAT_LIC_CONNECTOR_DIR , 来决定工具要从哪个目录里寻找MG-LicenceConnector以便加载浮动授权连接器。 &nbsp;</span><br />
<span style="font-size: 9pt;">同时你也可以通过MGPicker_Program/ServerConfig/MG_LicenceConnector.txt这个文本设置文件进行设置不过通过环境变量直接设置配置档根目录具有更高的优先级。</span><br />
<span style="font-size: 9pt;">* 你需要重启Maya以便设置生效。</span></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="distributeinpipeline.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></a>
<a href="publishinternet.htm"><img border="0" src="../common/images/MGtoolsHelp_next.gif" width="34" height="22" alt="Next" /></a></td>
</tr>
</table>
</body>
</html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 92 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 890 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 868 B

View File

@@ -0,0 +1,104 @@
<!DOCTYPE html>
<html>
<head>
<title>程序员帮助</title>
<meta name="generator" content="Help &amp; Manual" />
<meta name="keywords" content="coding,programming" />
<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", "programmer.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>&nbsp;
<a href="tipsfordesigner.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></a>
<a href="mgpicker.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">&#9642;</span><span class="f_Heading1" style="font-size: 10pt;">MG-Picker工作室尽全力让您设计强大的picker在不用敲任何代码的情况下。</span></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">&#9642;</span><span class="f_Heading1" style="font-size: 10pt;">不过如果您有一些MEL/Python脚本开发经验那么您设计的Picker可以变得更加强大。</span></p><p class="p_Normal" style="line-height: 1.80;">&nbsp;</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">&#9642;</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><span class="f_Heading1" style="font-size: 9pt;">Picker里可编程的属性. </span><span class="f_Heading1" style="font-size: 9pt; font-weight: normal;">所有这些属性都支持mel或python语言。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;"><span class="f_Heading1" style="font-size: 9pt; color: #ff0000;">Picker的加载后命令命名空间已改变命令 及鼠标已进入命令,:</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 57px;"><span class="f_Heading1" style="font-size: 9pt; font-weight: normal;">加载后命令: 当picker被加载打开后完成读取后这个命令会立即被执行。比较推荐的作法是在这个命令script里你编写声明所有picker功能支持的mel及python函数因为它们在picker加载后立即被source而可用这样具体的picker按钮里的命令则只需要调用这边声明的函数即可。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 57px;"><span class="f_Heading1" style="font-size: 9pt; font-weight: normal;">命名空间已改变命令每次Picker的命名空间改变了不管是手动还是程序API命令改变这个命令会被 执行。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 57px;"><span class="f_Heading1" style="font-size: 9pt; font-weight: normal;">鼠标已进入命令每当鼠标进入picker区域都会执行这个命令。 查看 <a href="syncvaluewithmaya.htm" class="topiclink">跟Maya同步</a> 章节来了解更多。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;"><span style="width:48px;display:inline-block">&nbsp;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 57px;"><span class="f_Heading1" style="font-size: 9pt;">编辑这些Picker命令的三种方式:</span></p>
<p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 20px; margin: 0 0 0 57px;"><span class="f_Heading1" style="font-size:9pt;display:inline-block;width:20px;margin-left:-20px">1.</span><span class="f_Heading1" style="font-size: 9pt; font-weight: normal;">点击&quot;Picker&quot;菜单并选择&quot;设置Picker属性..&quot;;</span> &nbsp; &nbsp; &nbsp; &nbsp;</p><p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 20px; margin: 0 0 0 57px;"><span class="f_Heading1" style="font-size:9pt;display:inline-block;width:20px;margin-left:-20px">2.</span><span class="f_Heading1" style="font-size: 9pt; font-weight: normal;">激活编辑工具,右键空白处,在菜单里先把&quot;设置Picker属性..&quot;</span></p><p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 20px; margin: 0 0 0 57px;"><span class="f_Heading1" style="font-size:9pt;display:inline-block;width:20px;margin-left:-20px">3.</span><span class="f_Heading1" style="font-size: 9pt; font-weight: normal;">直接访问&quot;Picker&quot;界面面板。</span></p><p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;">&nbsp;</p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;"><span class="f_Heading1" style="font-size: 9pt; color: #ff0000;">命令按钮命令:</span><span class="f_Heading1" style="font-size: 9pt; font-weight: normal; color: #ff0000;"> </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 48px;"><span style="width:48px;display:inline-block">&nbsp;</span> &nbsp; &nbsp; &nbsp; &nbsp;</p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;"><span class="f_Heading1" style="font-size: 9pt; color: #ff0000;">属性按钮的属性值 改变前后命令:</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 57px;"><span class="f_Heading1" style="font-size: 9pt;">属性值 改变前:</span><span class="f_Heading1" style="font-size: 9pt; font-weight: normal;"> 该命令在属性值被改变前被执行。主要用来在属性值改变之前获取并记录一些状态通常用在ik/fk切换前记录一些信息。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 57px;"><span class="f_Heading1" style="font-size: 9pt;">属性值 改变后:</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 55px;"><img alt="Warning" width="16" height="16" style="margin:0;width:16px;height:16px;border:none" src="warning.gif"/><span style="font-size: 9pt; color: #ff0000;"> </span><span style="font-size: 9pt; color: #ff0000;">要小心属性值 改变前后命令可能会造成死循环,比如:</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 55px;"><span style="font-size: 9pt; color: #ff0000;">attrButton1: 在 属性值 改变前命令里编辑了attrButton2的属性值。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 55px;"><span style="font-size: 9pt; color: #ff0000;">attrButton2: 在 属性值 改变后命令里编辑了attrButton1的属性值。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 55px;"><span style="font-size: 9pt; color: #ff0000;">这样就造成死循环可能导致Maya崩掉。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;">&nbsp;</p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;"><span class="f_Heading1" style="font-size: 9pt; color: #ff0000;">滑条的属性值 改变命令</span><span class="f_Heading1" style="font-size: 9pt; font-weight: normal; color: #ff0000;">:</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 48px;">&nbsp;</p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;"><span class="f_Heading1" style="font-size: 9pt; color: #ff0000;">Picker对象的菜单:</span><span class="f_Heading1" style="font-size: 9pt; font-weight: normal;">  每个picker对象都可以带有一个菜单或marking menu。要编辑对象的菜单选择那个picker对象然后在菜单编辑器里编辑。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;">&nbsp;</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: 9pt;">其它类型picker到MG-Picker的转换器</span><span class="f_Heading1" style="font-size: 9pt; font-weight: normal;">。目前已自带有abxPicker 及nickPicker的转换器。带有这些类型的picker节点的场景其picker节点将会自动转换为mgpicker并显示。</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: 9pt;">命令按钮预设</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;"><span class="f_Heading1" style="font-size: 9pt; font-weight: normal;">- 编写</span><span class="f_Heading1" style="font-size: 9pt;">代码片段</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;"><span class="f_Heading1" style="font-size: 9pt; font-weight: normal;">- 编写</span><span class="f_Heading1" style="font-size: 9pt;">自动加载的脚本</span><span class="f_Heading1" style="font-size: 9pt; font-weight: normal;">,将它们放到&quot;Maya/版本/scripts/MG-PickerStudio/MGPicker_UserConfig/AutoSourced/&quot; 里使它跟随MG-Picker工作室加载时而被自动加载。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;"><span class="f_Heading1" style="font-size: 9pt; font-weight: normal;">这个机制将使您可以保证一些脚本在您的picker打开时已被加载以支持到您的picker里的一些命令功能。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;">&nbsp;</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">&#9642;</span><span class="f_Heading1" style="font-size: 10pt;">MG-Picker工作室提供的MEL&amp;Python API主要是这三个命令</span></p><p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span class="f_Heading1" style="font-size: 10pt; font-weight: normal;"><a href="mgpicker.htm" class="topiclink">MGPicker</a></span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span class="f_Heading1" style="font-size: 10pt; font-weight: normal;"><a href="mgpickerview.htm" class="topiclink">MGPickerView</a></span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span class="f_Heading1" style="font-size: 10pt; font-weight: normal;"><a href="mgpickeritem.htm" class="topiclink">MGPickerItem</a></span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span class="f_Heading1" style="font-size: 10pt; font-weight: normal;"><a href="mgpickerlink.htm" class="topiclink">MGPickerLink</a></span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span class="f_Heading1" style="font-size: 10pt; font-weight: normal;"><a href="mgpickermenu.htm" class="topiclink">MGPickerMenu</a></span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span class="f_Heading1" style="font-size: 10pt; font-weight: normal;"><a href="mgpickermenuitem.htm" class="topiclink">MGPickerMenuItem</a></span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;">&nbsp;</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 style="font-size: 9pt;"><a href="mgpickerservice.htm" class="topiclink">MGPickerService</a></span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span style="font-size: 9pt;"><a href="mgimageprocesser.htm" class="topiclink">MGImageProcesser</a></span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span style="font-size: 9pt;">* MGPickerValue: 这个命令则纯粹供内部使用用来支持picker对象在动画师交互时的undo/redo.</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span style="font-size: 9pt;">* MGPickerAttrSyncer: 这个命令则纯粹供内部使用. 用来同步Maya场景及picker的状态.</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span style="font-size: 9pt;">* MGPGuiTest: 这个命令则纯粹供内部使用. 用来编辑界面的单元测试.</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span style="font-size: 9pt;">* MGPTest: 这个命令则纯粹供内部使用. 用来编辑单元测试.</span><br />
<span style="font-size: 9pt;">&nbsp;</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span style="font-size: 9pt;">其它开发相关帮助主题:</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span style="font-size: 9pt;"><a href="commandbuttonpresets.htm" class="topiclink">命令按钮预设</a></span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span style="font-size: 9pt;"><a href="converters.htm" class="topiclink">转换器</a></span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span style="font-size: 9pt;"><a href="codesnippets.htm" class="topiclink">代码片段</a></span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span style="font-size: 9pt;"><a href="https://www.helpandmanual.com/order.html" class="topiclink">跟Maya同步</a></span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span style="font-size: 9pt;"><a href="tipsforprogrammer.htm" class="topiclink">小提示</a></span></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="tipsfordesigner.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></a>
<a href="mgpicker.htm"><img border="0" src="../common/images/MGtoolsHelp_next.gif" width="34" height="22" alt="Next" /></a></td>
</tr>
</table>
</body>
</html>

View File

@@ -0,0 +1,11 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<title>MG-Picker Studio Manual</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script type="text/javascript">
window.location.href =('index.html?programmer.htm')
</script>
</head>
</html>

View File

@@ -0,0 +1,58 @@
<!DOCTYPE html>
<html>
<head>
<title>发布到网络</title>
<meta name="generator" content="Help &amp; Manual" />
<meta name="keywords" content="publish asset,publish picker,publish to internet,republish MG-Picker Studio" />
<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", "publishinternet.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>&nbsp;
<a href="pickertoolintergration.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></a>
<a href="hotkeys_designer.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">&#9642;</span><span class="f_Heading1" style="font-size: 10pt;">如果您是一个绑定师正想要将您的角色及其picker发布到网络上</span></p><p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span style="font-size: 9pt;">选择Picker菜单 / 发布当前Picker..</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span style="font-size: 9pt;">Picker发布对话框将弹出。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span style="font-size: 9pt;">您可以选择发布您当前的Maya场景发布picker为文件或节点甚至可以附上整个MG-Picker工作室程序然后整个将上面数据打包成zip包。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span style="font-size: 9pt;">然后你就可以选择将zip包发布到网格。</span></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="pickertoolintergration.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></a>
<a href="hotkeys_designer.htm"><img border="0" src="../common/images/MGtoolsHelp_next.gif" width="34" height="22" alt="Next" /></a></td>
</tr>
</table>
</body>
</html>

View File

@@ -0,0 +1,74 @@
<!DOCTYPE html>
<html>
<head>
<title>Q &amp; A</title>
<meta name="generator" content="Help &amp; Manual" />
<meta name="keywords" content="" />
<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", "q__a.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>&nbsp;
<a href="tipsforprogrammer.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></a>
<a href="user_configuration.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_Normal" style="font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';display:inline-block;width:13px;margin-left:-13px">&#9642;</span><span style="font-weight: bold;">你可以在 <a href="http://mgland.com/qa/ch/?qa=mg-pickerstudio" target="_blank" class="weblink">MG-Picker工作室问&amp;答版块</a> 上面问问题。</span></p><p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 13px; margin-left: 0;"><span class="f_Normal" style="font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';display:inline-block;width:13px;margin-left:-13px">&#9642;</span><span style="font-weight: bold;">Q: 如何避免硬写Picker对象的id?</span></p><p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span style="font-size: 9pt; font-weight: bold;">要获取当前正编辑或互动的Picker对象的id</span><span style="font-size: 9pt;">, 比如你在编写一个命令按钮的命令要获取这个命令按钮的id 下面是MEL代码Python方式类似 </span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;"><span style="font-size: 9pt; color: #008000;">string $currentCmdBtn = `MGPicker -q -currentItem`;</span></p>
<p class="p_Normal" style="line-height: 1.80;">&nbsp;</p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span style="font-size: 9pt; font-weight: bold;">要获取其它特定的按钮id</span><span style="font-size: 9pt;">, 仍然最好避免id硬写。因为id会被确保在一个picker里面是唯一的所以当一个按钮被复制粘贴到其它picker,它的按钮id很可能不一样。这样就有可能导致一些代码无法使用。为了让这些代码更健壮通用可以试着用名字属性来获取这些id。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span style="font-size: 9pt;">对于每一个picker对象都可以设置一个名字属性。这个属性是允许重复的所以即使你复制粘贴按钮到不同picker, 这些名字属性值也不会变化。这样你就可以用这个名字作为标识, 来获取id。比如说你的按钮的名字设置为&quot;targetButton&quot;, 这样有这个picker的任意位置您都可以使用下面mel代码来获取其id(python方式类似</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;"><span style="font-size: 9pt; color: #008000;">string $IDs[] =`MGPickerView -q -getIdFromName &quot;targetButton&quot;`;</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span style="font-size: 9pt;">它将返回所有名字为&quot;targetButton&quot;的picker对象的id数组。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span style="font-size: 9pt;">如果你只有一个对象名字叫&quot;targetButton&quot;,它仍将返回一个只包含一个id的数组你之后可以使用$IDs[0]来作为该对象的id.</span></p>
<p class="p_Normal" style="line-height: 1.80;">&nbsp;</p>
<p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 13px; margin-left: 0;"><span class="f_Normal" style="font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';display:inline-block;width:13px;margin-left:-13px">&#9642;</span><span style="font-weight: bold;">怎样遍历picker里所有的Picker对象?</span></p><p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span style="font-size: 9pt;">如果您想获取当前picker里所有的选择按钮:</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;"><span style="font-size: 9pt; color: #008000;">string $selectButtons[] = `MGPickerView -q -list &quot;selectButton&quot;`;</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span style="font-size: 9pt;">要列出所有类型的picker对象</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;"><span style="font-size: 9pt; color: #008000;">string $selectButtons[] = `MGPickerView -q -list &quot;&quot;`;</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span style="font-size: 9pt;">要列出所有类型的连接:</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;"><span style="font-size: 9pt; color: #008000;">string $allLinks[] = `MGPickerView -q -listLinks &quot;&quot;`;</span></p>
<p class="p_Normal" style="line-height: 1.38; margin: 0 0 0 24px;"><span style="font-size: 9pt;">要了解更多,请查询<a href="mgpicker.htm" class="topiclink">MGPicker命令参考</a></span></p>
<p class="p_Normal" style="line-height: 1.38; margin: 0 0 0 24px;">&nbsp;</p>
<p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 13px; margin-left: 0;"><span class="f_Normal" style="font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';display:inline-block;width:13px;margin-left:-13px">&#9642;</span><span style="font-weight: bold;">怎么查询或编辑Picker视图的信息而不用激活它?</span></p><p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span style="font-size: 9pt;">从1.6版本开始,你可以通过:</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;"><span style="font-size: 9pt; color: #008000;">string $currentViewId = `MGPicker -q -currentPickerView`; &nbsp; &nbsp; &nbsp; &nbsp;//这个currentPickerView只有在执行如picker加载后命令或鼠标进入命令期间才会被设置。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;"><span style="font-size: 9pt; color: #008000;">// 有了这个视图id,你就可以用这个新命令来编辑,查询: &nbsp; &nbsp;MGPickerView -q/-e ..$currentViewId;</span></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="tipsforprogrammer.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></a>
<a href="user_configuration.htm"><img border="0" src="../common/images/MGtoolsHelp_next.gif" width="34" height="22" alt="Next" /></a></td>
</tr>
</table>
</body>
</html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 159 B

View File

@@ -0,0 +1,88 @@
<!DOCTYPE html>
<html>
<head>
<title>快速流程</title>
<meta name="generator" content="Help &amp; Manual" />
<meta name="keywords" content="1-click create pose command button,1-click create select-button,1-click create slider,1-click snapshot,quick design workflow" />
<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", "quickworkflow.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>&nbsp;
<a href="designer.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></a>
<a href="quickworkflow_2.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_ImageCaption" style="font-size:10pt; font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';display:inline-block;width:13px;margin-left:-13px">&#9642;</span><span class="f_ImageCaption" style="font-size: 10pt;">Picker设置快速流程:</span></p><p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span style="font-weight: bold;">- </span><span style="font-size: 9pt; font-weight: bold;">创建流程 #1: 从已制作好的Picker模板来新建Picker:</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;"><span style="font-size: 9pt;">3种方式从Picker模板新建Picker:</span></p>
<p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 60px; margin-left: 0;"><span class="f_Normal" style="font-size:9pt;display:inline-block;width:20px;margin-left:-20px">i.</span><span style="font-size: 9pt;"> ALT+左键双击Picker文件标签区空白处如果当前没有打开任何Picker也可以同样方式Picker视图区。</span></p><p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 60px; margin-left: 0;"><span class="f_Normal" style="font-size:9pt;display:inline-block;width:20px;margin-left:-20px">ii.</span><span style="font-size: 9pt;">使用 &quot;CTRL + ALT + N&quot; 快捷键。</span></p><p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 60px; margin-left: 0;"><span class="f_Normal" style="font-size:9pt;display:inline-block;width:20px;margin-left:-20px">iii.</span><span style="font-size: 9pt;"> 选择Picker菜单 / 从模板新建Picker.. 选择一个picker模板输入picker名称再点&quot;OK&quot;按钮即可基于模板新建一个Picker.</span></p><p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;">&nbsp;</p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span style="font-size: 9pt; font-weight: bold;">- 创建流程 #2: 从零创建,不过用到很多一键创建功能:</span></p>
<p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 20px; margin: 0 0 0 48px;"><span class="f_Normal" style="font-weight:bold; font-size:9pt;display:inline-block;width:20px;margin-left:-20px">1.</span><span style="font-size: 9pt; font-weight: bold;">新建一个picker文件.</span><br />
<span style="font-size: 9pt;">&quot;CTRL + N&quot;或CTRL + 左键双击文件标签区空白处或选择Picker菜单/新建Picker..来创建一个新的Picker. 默认在新Picker里会自添加一个Picker面板。</span></p><p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 20px; margin: 0 0 0 48px;"><span class="f_Normal" style="font-weight:bold; font-size:9pt;display:inline-block;width:20px;margin-left:-20px">2.</span><span style="font-size: 9pt; font-weight: bold;"> 生成picker面板的背景图.</span><br />
<span style="font-size: 9pt;">确保当前在编辑工具: </span><img alt="editTool" width="26" height="29" style="margin:0;width:26px;height:29px;border:none" src="edittool.jpg"/><br />
<span style="font-size: 9pt;">鼠标左键点击面板右上方的三角形,在弹出菜单中选择 &quot;1. 准备截图&quot;</span><br />
<span style="font-size: 9pt;">这个动作将把3D视图的resolution gate设为正确的长宽比如果当前picker面板有内容还会把picker面板的内容截图作为3D视图的imageplane以便参考。</span><br />
<span style="font-size: 9pt;">调整3D视图准备为Picker面板制作背景图。基本上你会用前视图来截图。</span><br />
<span style="font-size: 9pt;">同样菜单下选择 &quot;2. 截图&quot; 来创建面板背景图。这个背景图会根据您选择的图像处理预设自动做一些图象处理。</span><br />
<img alt="snapshotBG_ch" width="638" height="376" style="margin:0;width:638px;height:376px;border:none" src="snapshotbg_ch.gif"/></p><p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 20px; margin: 0 0 0 48px;"><span class="f_Normal" style="font-weight:bold; font-size:9pt;display:inline-block;width:20px;margin-left:-20px">3.</span><span style="font-size: 9pt; font-weight: bold;">一键创建选择按钮.</span><br />
<span style="font-size: 9pt;">选择要创建选择按钮的角色的众多控制器, 鼠标左键点击面板右上角三角形,选择&quot;1. 准备3D视图&quot;, 基本上你需要的会是前视图。</span><br />
<span style="font-size: 9pt;">调整3D视图以使所有控制器位置在3D视图中可见基本它们的视觉位置就会是将来按钮在面板的位置。</span><br />
<span style="font-size: 9pt;">选择 &quot;2. 基于3D视图创建选择按钮&quot;来创建代表这些控制器的选择按钮。有时同轴心的控制器会重叠在一起,用鼠标将他们移开。</span><br />
<span style="font-size: 9pt;">选择你要标签的按钮,按&quot;CTRL + L&quot;来自动给这些按钮附上标签。</span></p><p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 20px; margin: 0 0 0 48px;"><span class="f_Normal" style="font-weight:bold; font-size:9pt;display:inline-block;width:20px;margin-left:-20px">4.</span><span style="font-size: 9pt; font-weight: bold;">将选择按钮连接起来并设置对称关系.</span><br />
<span style="font-size: 9pt;">使用 </span><img alt="linkTool" width="27" height="28" style="margin:0;width:27px;height:28px;border:none" src="linktool.jpg"/><span style="font-size: 9pt;"> 工具将选择按钮连接,连起来的即是“父子按钮”,将来动画师可以鼠标左键双击父按钮来同时选择子按钮的成员节点。</span><br />
<span style="font-size: 9pt;">使用 </span><img alt="mirrorTool" width="27" height="29" style="margin:0;width:27px;height:29px;border:none" src="mirrortool.jpg"/><span style="font-size: 9pt;"> </span><span style="font-size: 9pt;">工具来逐个</span><span style="font-size: 9pt;">点击每两个要成对的选择按钮,将他们标记成镜象关系。或者框选一边,然后右键点击所选对象,选“自动指定镜象关系”来更快地指定镜象关系。</span><br />
<span style="font-size: 9pt;">这些镜象关系将来会有很多的用途,比如在设计阶段,您可以随时应用对称变形关系,应用他们的对称属性,在动画师模式,可以镜象选择,可以对称地移动滑条滑杠等。</span></p><p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 20px; margin: 0 0 0 48px;"><span class="f_Normal" style="font-weight:bold; font-size:9pt;display:inline-block;width:20px;margin-left:-20px">5.</span><span style="font-size: 9pt; font-weight: bold;">添加命令按钮.</span><br />
<span style="font-size: 9pt;">在编辑工具 </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 style="font-size: 9pt;">或命令按钮工具 </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 style="font-size: 9pt;">状态下在picker视图上右键点击选择“添加命令按钮”, 然后接下来的命令预设菜单中选择一个预设来添加一个命令按钮。</span><br />
<span style="font-size: 9pt;">或者右键选择“命令按钮预设窗口..”来打开命令按钮预设窗口,这样添加命令按钮的效率就更高了。</span></p><p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 20px; margin: 0 0 0 48px;"><span class="f_Normal" style="font-weight:bold; font-size:9pt;display:inline-block;width:20px;margin-left:-20px">6.</span><span style="font-size: 9pt; font-weight: bold;">一键添加Pose命令按钮.</span></p><p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 72px;"><span style="font-size: 9pt;">你可以添加Pose按钮这些按钮只是带预览图的命令按钮而已。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 72px;"><span style="font-size: 9pt;">在编辑工具 </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 style="font-size: 9pt;">或命令按钮工具 </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 style="font-size: 9pt;">状态下在picker视图上右键点击选择“添加Pose命令按钮”来创建不带预览图的Pose命令按钮或者选择“添加带缩略图的Pose命令按钮” 先准备视图,调整好视图准备拍照,然后再在同样菜单里执行一键添加。</span></p>
<p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 20px; margin: 0 0 0 48px;"><span class="f_Normal" style="font-weight:bold; font-size:9pt;display:inline-block;width:20px;margin-left:-20px">7.</span><span style="font-size: 9pt; font-weight: bold;">一键为表情面板创建滑条.</span><br />
<span style="font-size: 9pt;">在创建前,基本上您会需要多加一个面板来专门作为表情面板。使用快捷键 &quot;CTRL + SHIFT + N&quot; 来添加一个Picker面板。</span><br />
<span style="font-size: 9pt;">选择所有您想要转为滑条的表情控制器基本上很多rig都有基于nubs curve的表情控制面板。</span><br />
<span style="font-size: 9pt;">鼠标左键点击面板右上角三角形,选择&quot;1. 准备3D视图&quot;, 基本上你需要的会是前视图。 </span><br />
<span style="font-size: 9pt;">调整3D视图以使所有表情控制器位置及位移范围在3D视图中可见基本它们的视觉位置就会是将来滑条在面板的位置。</span><br />
<span style="font-size: 9pt;">选择 &quot;2. 基于3D视图创建滑条&quot;来创建代表这些控制器的滑条。只有单个位移轴向可移动的就会创建为一维滑条,两个或以上位移轴向可移动的会创建为二维滑条。</span><br />
<span style="font-size: 9pt;">如果控制器没有位移限制范围,则默认范围为-1~1并且生成的滑条没有背景框。</span><br />
<span style="font-size: 9pt;">选择你要标签的滑条,按&quot;CTRL + L&quot;来自动给这些按钮附上标签。</span><br />
<span style="font-size: 9pt;">重复第四个步骤,为这些按钮设置父子连接,及标记镜象关系。</span></p><p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 20px; margin: 0 0 0 48px;"><span class="f_Normal" style="font-weight:bold; font-size:9pt;display:inline-block;width:20px;margin-left:-20px">8.</span><span style="font-size: 9pt; font-weight: bold;">编辑,调整,测试,完成!</span><br />
<span style="font-size: 9pt;">如果您想要测试picker, 只需要切换到 </span><img alt="previewTool" width="24" height="28" style="margin:0;width:24px;height:28px;border:none" src="previewtool.jpg"/><span style="font-size: 9pt;"> &nbsp;工具来测试动画师的交互性。</span><br />
<span style="font-size: 9pt;">你当然也可以按快捷键 &quot;F8&quot; 来切换到动画师模式不过这个很冒险因为这个模式下无法保存Picker在不小心关闭时不会提醒未保持的编辑。</span><br />
<span style="font-size: 9pt;">&nbsp;</span><br />
<span style="font-size: 9pt;">&nbsp;</span></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="designer.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></a>
<a href="quickworkflow_2.htm"><img border="0" src="../common/images/MGtoolsHelp_next.gif" width="34" height="22" alt="Next" /></a></td>
</tr>
</table>
</body>
</html>

View File

@@ -0,0 +1,86 @@
<!DOCTYPE html>
<html>
<head>
<title>SVG流程</title>
<meta name="generator" content="Help &amp; Manual" />
<meta name="keywords" content="1-click create pose command button,1-click create select-button,1-click create slider,1-click snapshot,quick design workflow" />
<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", "quickworkflow_2.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>&nbsp;
<a href="quickworkflow.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></a>
<a href="designprinciple.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_ImageCaption" style="font-size:10pt; font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';display:inline-block;width:13px;margin-left:-13px">&#9642;</span><span class="f_ImageCaption" style="font-size: 10pt;">基于SVG流程:</span></p><p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"><span style="font-weight: bold;">- </span><span style="font-size: 9pt; font-weight: bold;">绘制及设计SVG:</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;"><span style="font-size: 9pt;">MG-Picker工作室从V2开始支持SVG批量导入测试的矢量程序主要是Inscape及Adobe Illustrator 理伦任何可以导出标准SVG图像的矢量软件都可以。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;"><span style="font-size: 9pt;">你可以在这些矢量软件里绘制基本上整个Picker 支持导入的类型有选择按钮,命令按钮, 图形, 及面板或组的背景图。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;"><img alt="kaylasvg" width="317" height="456" style="margin:0;width:317px;height:456px;border:none" src="kaylasvg.jpg"/></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 48px;"><span style="font-size: 8pt; font-style: italic;">SVG绘制米高 &nbsp;绑定:</span><span class="f_ImageCaption" style="font-style: italic; font-weight: normal;"><a href="https://www.joshsobelrigs.com/kayla" target="_blank" class="weblink">Josh Sobel</a>.</span></p>
<p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 13px; margin: 0 0 0 22px;"><span class="f_Normal" style="font-size:9pt; font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';display:inline-block;width:13px;margin-left:-13px">&#8226;</span><span style="font-size: 9pt;">SVG支持位图但请尽量用矢量绘制而不是用位图矢量图体积比较小并且通常都比位图运行绘制性能要好。</span></p><p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 13px; margin: 0 0 0 22px;"><span class="f_Normal" style="font-size:9pt; font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';display:inline-block;width:13px;margin-left:-13px">&#8226;</span><span style="font-size: 9pt;">有些矢量软件支持的一些特殊功能在存SVG会自动转为位图或JS脚本。这些在MG-Picker里不支持。</span><br />
<span style="font-size: 9pt;">- Adobe Illustrator的网络功能存SVG时会转为位图类似功能在Inkscape存为SVG时会转为JS代码, 在导入SVG时会被忽略。</span><br />
<span style="font-size: 9pt;">- Adobe Illustrator的样式及符号SVG不支持。</span></p><p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 13px; margin: 0 0 0 22px;"><span class="f_Normal" style="font-size:9pt; font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';display:inline-block;width:13px;margin-left:-13px">&#8226;</span><span style="font-size: 9pt;">SVG文本元素Qt支持得不好会有定界框计算问题并且各种字体难以准确手动计算 所以MG-Picker并不支持文本元素作为单独按钮导入(可以作为其它元素的子对象)。在Picker里直接添加文本也有专门的文本工具很方便。 </span></p><p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 13px; margin: 0 0 0 22px;"><span class="f_Normal" style="font-size:9pt; font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';display:inline-block;width:13px;margin-left:-13px">&#8226;</span><span style="font-size: 9pt;">给每个元素一个有意义的ID 一来在导入时容易识别二来可以直接作为选择按钮的成员即Maya节点去掉命名空间的名称</span><br />
<span style="font-size: 9pt;">在Inkscape你可以在 &quot;Layers and Objects&quot;面板里指定ID, 在Illustrator里则是图层面板更改图层名称及其下的元素名称。这些ID即使你在矢量软件里可以用重复的名字在导出SVG里也会变得不同。因为SVG的元素ID应该是唯一的。</span></p><p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 13px; margin: 0 0 0 22px;"><span class="f_Normal" style="font-size:9pt; font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';display:inline-block;width:13px;margin-left:-13px">&#8226;</span><span style="font-size: 9pt;">关于元素的ID还有一个特殊的约定比如ID如果是&quot;[arm]abcd&quot;这样的,那[ ]里面的arm将变成按钮的名字外面的abcd变成选择按钮的成员名称。</span><br />
<span style="font-size: 9pt;">要注意这里面不要有任何空格因为有些软件里空格会被_替代造成生成的选择按钮的成员或名字不对。</span></p><p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 13px; margin: 0 0 0 22px;"><span class="f_Normal" style="font-size:9pt; font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';display:inline-block;width:13px;margin-left:-13px">&#8226;</span><span style="font-size: 9pt;">Picker支持四个状态对应的四张图片只有基本的状态是必须 其它的可选。鼠标经过图像是当鼠标经过时使用的SVG, &nbsp;鼠标按下图像是点击时使用的SVG 高亮图片是当选择按钮成员在Maya场景里被选后的高亮图片。四张图片都通过元素ID来使用比如导入后一个按钮使用的元素ID是Body, &nbsp;则鼠标经过时用来绘制的是鼠标经过图像里的body元素其它两个状态同理。所以可以绘制基本状态然后其它状态在同一SVG图片基础做一些修改即可。</span></p><p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 22px;">&nbsp;</p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 9px;"><span style="font-size: 9pt; font-weight: bold;">批量导入:</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 22px;"><span style="font-size: 9pt;">支持两种导入方式:</span></p>
<p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 20px; margin: 0 0 0 22px;"><span class="f_Normal" style="font-size:9pt;display:inline-block;width:20px;margin-left:-20px">1.</span><span style="font-size: 9pt;">点击Picker面板右上角三角形按钮 选择 &quot;导入SVG矢量图为多个Picker按钮&quot;.</span><br />
<img alt="batchImportSVG_ch" width="243" height="144" style="margin:0;width:243px;height:144px;border:none" src="batchimportsvg_ch.gif"/><br />
<span style="font-size: 9pt;">这种方式导入目标是面板,因此你在导入对话框里可以直接为该面板指定背景图片。</span></p><p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 20px; margin: 0 0 0 22px;"><span class="f_Normal" style="font-size:9pt;display:inline-block;width:20px;margin-left:-20px">2.</span><span style="font-size: 9pt;">点击菜单栏图片菜单,选择 &quot;导入SVG矢量图为按钮&quot;.</span><br />
<img alt="menuBarImportSVG_ch" width="172" height="84" style="margin:0;width:172px;height:84px;border:none" src="menubarimportsvg_ch.gif"/><br />
<span style="font-size: 9pt;">这种方式没有导入目标,按钮会直接导入到场景而没有父对象,你可以稍后为它们指定父对象。</span></p><p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 22px;"><span style="font-size: 9pt;">批量导入对话框:</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 22px;"><img alt="svgImportDialog_ch" width="576" height="527" style="margin:0;width:576px;height:527px;border:none" src="svgimportdialog_ch.gif"/><br />
<span class="f_ImageCaption">&nbsp;</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 22px;"><span style="font-size: 9pt; font-weight: bold;">区域 1:</span><span style="font-size: 9pt;"> 右上角图像路径指定区域可以指定四个状态的图像都应该是SVG可以直接拖放SVG图像到路径输入框里或点三角形按钮进行拾取。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 22px;"><span style="font-size: 9pt; font-weight: bold;">区域 2:</span><span style="font-size: 9pt;"> SVG预览区支持鼠标交互比如点击选择某元素 四个状态的图像都可以在这个区域预览,比如鼠标经过,鼠标点击, 点击一个被指定为选择按钮的元素后,则显示为高亮。</span><br />
<span style="font-size: 9pt;"> <img alt="lightbulb" width="16" height="16" style="margin:0;width:16px;height:16px;border:none" src="lightbulb.png"/> 导入后,每个元素都是各自的形状,但在这个预览区只显示方框以示选择。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 22px;"><span style="font-size: 9pt; font-weight: bold;">区域 3: </span><span style="font-size: 9pt;">显示元素的层级,点击 <img alt="ignoreSVGElementBtn" width="19" height="19" style="margin:0;width:19px;height:19px;border:none" src="ignoresvgelementbtn.gif"/> 按钮来忽略某元素,或其它按钮来指定元素为某类型的按钮 <img alt="otherTypesButton" width="78" height="22" style="margin:0;width:78px;height:22px;border:none" src="othertypesbutton.gif"/> 支持的类型为选择按钮,命令按钮及图形元素这三种。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 22px;"><span style="font-size: 9pt; font-weight: bold;">区域 4: </span><span style="font-size: 9pt;">导入选项:</span><br />
<span style="font-size: 9pt;">如果有目标面板,则你可以为其指定背景图片。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 22px;"><span style="font-size: 9pt;">也可以指定导入为群组,则会新建一个组来包含导入的所有按钮。并且可以为该组设置背景图。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 22px;"><span style="font-size: 9pt;">其它选项用来决定是否缩放SVG内容 或者将ID作为选择按钮的成员。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 22px;">&nbsp;</p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 9px;"><span style="font-size: 9pt;"> <img alt="lightbulb" width="16" height="16" style="margin:0;width:16px;height:16px;border:none" src="lightbulb.png"/> 这个导入的设置会根据基本图片的路径被记住下次你导入同样的图片同样的设置会被记起。不过这重启MG-Picker 工作室后就不被记住。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 9px;">&nbsp;</p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 9px;"><span style="font-size: 9pt; font-weight: bold;">目前已有API支持SVG的查询及批量导入<a href="mgsvgimport.htm" class="topiclink">查看这里</a>了解更多。</span></p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 9px;">&nbsp;</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="quickworkflow.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></a>
<a href="designprinciple.htm"><img border="0" src="../common/images/MGtoolsHelp_next.gif" width="34" height="22" alt="Next" /></a></td>
</tr>
</table>
</body>
</html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Some files were not shown because too many files have changed in this diff Show More