Files
Nexus/2023/scripts/animation_tools/mgpicker/MGPicker_Help/English/setnamespace.htm
2025-11-23 23:31:18 +08:00

63 lines
5.2 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!DOCTYPE html>
<html>
<head>
<title>Set Namespace</title>
<meta name="generator" content="Help &amp; Manual" />
<meta name="keywords" content="namespace" />
<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", "setnamespace.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="loadpicker.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></a>
<a href="viewportmanipulation.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;"> Set the current picker's namespace</span></p><p class="p_Normal" style="text-indent: -24px; line-height: 1.80; margin: 0 0 0 48px;">A namespace is a naming prefix for the current picker, changing of namespace enables you to use the picker on different rigs as long as they have similar naming conversions.</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="display:inline-block;width:24px;margin-left:-24px">1.</span>To set the picker namespace: You simply edit the text shown in the top namespace area. The Ctrl+Alt+Shift+S hotkey in animator mode will just activate the text area. </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="display:inline-block;width:24px;margin-left:-24px">2.</span>To Grab the namespace from Maya selection: Simply click on the <img alt="fetchNamespaceBtn" width="20" height="20" style="margin:0;width:20px;height:20px;border:none" src="fetchnamespacebtn.gif"/> button.</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;">Sub-Namespace:</span></p><p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;">Most types of picker item (Select-button, command-button, attr-Button, slider) may contain a sub-namespace if it is set durning the designing process. </p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;">A sub-namespace is an addition to the picker namespace.</p>
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;">Say your picker namespace is set to &quot;myCharacter&quot;, and there is a select button has the sub-namespace &quot;bodyRig:chestRig&quot;, the select-button contains a member called &quot;chest_ctl&quot;, then the final Maya control will turn out to be this:</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;">This means when you click this select-button in animator mode, the tool will try to select &quot;myCharacter:bodyRig:chestRig:chest_ctl&quot; in Maya scene.</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="loadpicker.htm"><img border="0" src="../common/images/MGtoolsHelp_previous.gif" width="34" height="22" alt="Previous" /></a>
<a href="viewportmanipulation.htm"><img border="0" src="../common/images/MGtoolsHelp_next.gif" width="34" height="22" alt="Next" /></a></td>
</tr>
</table>
</body>
</html>