71 lines
7.5 KiB
HTML
71 lines
7.5 KiB
HTML
<!DOCTYPE html>
|
||
<html>
|
||
<head>
|
||
<title>Namespace</title>
|
||
<meta name="generator" content="Help & 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>
|
||
<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; 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">▪</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: -24px; line-height: 1.80; margin: 0 0 0 48px;"><span style="font-weight: bold;">Two ways to set the picker namespace in designer mode:</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="display:inline-block;width:24px;margin-left:-24px">1.</span>Select any part of the rig you want to switch the namespace to and use the Ctrl+Alt+Shift+S hotkey, to bring up the set namespace dialog for namespace editing!</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>Select any part of the rig you want to switch the namespace to, and click on the top right button <img alt="moreFeaturesBtn" width="20" height="20" style="margin:0;width:20px;height:20px;border:none" src="morefeaturesbtn.gif"/> / Set Namespace..<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;">It is a good idea to set the initial namespace to the most likely used namespace so that it is ready to use for animators right after load.</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;"> You can also turn off the use of picker namespace on item level.</span></p>
|
||
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"> </p>
|
||
<p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 13px; margin-left: 0;"><span class="f_Normal" style="font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';display:inline-block;width:13px;margin-left:-13px">▪</span><span style="font-weight: bold;">Sub-Namespace:</span></p><p class="p_Normal" style="line-height: 1.38; margin: 0 0 0 24px;">For most types of picker items (Select-button, command button, attr-Button, slider), you are also able to set up a sub-namespace during the designing process.</p>
|
||
<p class="p_Normal" style="line-height: 1.38; margin: 0 0 0 24px;">A sub-namespace is an addition to the picker namespace.</p>
|
||
<p class="p_Normal" style="line-height: 1.38; margin: 0 0 0 24px;">Say your picker namespace is set to "myCharacter", and there is a select-button has the sub-namespace "bodyRig:chestRig", the select-button contains a member called "chest_ctl", then the final Maya control will turn out to be this:</p>
|
||
<p class="p_Normal" style="line-height: 1.38; margin: 0 0 0 24px;"><span style="width:24px;display:inline-block"> </span><span style="color: #ff0000;">myCharacter:bodyRig:chestRig:chest_ctl;</span></p>
|
||
<p class="p_Normal" style="line-height: 1.38; margin: 0 0 0 24px;">This means when you click this select-button in animator mode, the tool will try to select "myCharacter:bodyRig:chestRig:chest_ctl" in the Maya scene.</p>
|
||
<p class="p_Normal" style="line-height: 1.38; margin: 0 0 0 24px;">The sub-namespace is for supporting the reference-based rig architecture. An asset with this kind of architecture may references another shared asset inside, such as facial rigs, or body rigs, which means there will be a layered namespace within that rig. </p>
|
||
<p class="p_Normal" style="line-height: 1.38; margin: 0 0 0 24px;">With the sub-namespace property, all these controls can still be organized within one picker file/node.</p>
|
||
<p class="p_Normal" style="line-height: 1.80; margin: 0 0 0 24px;"> </p>
|
||
<p class="p_Normal" style="text-indent: 0; line-height: 1.80; padding-left: 13px; margin-left: 0;"><span class="f_Normal" style="font-family: Arial,'Lucida Sans Unicode','Lucida Grande','Lucida Sans';display:inline-block;width:13px;margin-left:-13px">▪</span><span style="font-weight: bold;">Namespace Separator and Sub-Namespace Separator:</span></p><p class="p_Normal" style="line-height: 1.38; margin: 0 0 0 24px;">Starting from v2.3, user can customise the separator characters with namespace and sub-namespace. An empty separator means restore to DCC default, e.g. for Maya, it is ':'.</p>
|
||
<p class="p_Normal" style="line-height: 1.38; margin: 0 0 0 24px;">With both separators set to "_", the example above will be like:</p>
|
||
<p class="p_Normal" style="line-height: 1.38; margin: 0 0 0 24px;"><span style="width:24px;display:inline-block"> </span><span style="color: #ff0000;">myCharacter_bodyRig:chestRig_chest_ctl;</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="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>
|