<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Is HumanIK accessible to MEL? in Maya Programming Forum</title>
    <link>https://forums.autodesk.com/t5/maya-programming-forum/is-humanik-accessible-to-mel/m-p/4159639#M16319</link>
    <description>Hey, I am having the same problem, how did you figure it out?&lt;BR /&gt;I am trying to script the retargeting, but I cant seem to figure out how to change the Retarget Input in the character pipe tab in the HumanIK UI.&lt;BR /&gt;I have found and am inside the characterPipeTool.mel, and I know these lines have something to do with it:&lt;BR /&gt;&lt;I&gt;&lt;BR /&gt;"global proc changeCharacterInput(string $pCharacter, string $pNewCharacterSrc,string $layerName,string $controlRigLayerName)"&lt;BR /&gt;{&lt;BR /&gt;&lt;/I&gt;&lt;BR /&gt;please help</description>
    <pubDate>Thu, 10 Mar 2011 05:46:56 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2011-03-10T05:46:56Z</dc:date>
    <item>
      <title>Is HumanIK accessible to MEL?</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/is-humanik-accessible-to-mel/m-p/4159634#M16314</link>
      <description>Does anyone know if the new HumanIK retargeting system is fully script accessible?  I've been trying to find if there's a way to batch process transfer one characters animations to another character.  The major roadblock I've run into so far is that there doesn't seem to be a HumanIK equivalent to the old 'retarget' mel command.  I tried turning on Echo All Commands and hitting 'Apply Retargeting' but no userful command showed up in the script edtior, and I can find nothing in the documentation about HumanIK.&lt;BR /&gt;&lt;BR /&gt;Any help would be appreciated,&lt;BR /&gt;-Mike</description>
      <pubDate>Tue, 06 Jul 2010 17:26:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/is-humanik-accessible-to-mel/m-p/4159634#M16314</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-07-06T17:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: Is HumanIK accessible to MEL?</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/is-humanik-accessible-to-mel/m-p/4159635#M16315</link>
      <description>I didn't see any new commands for HIK, but did you look at others/characterPipeTool.mel?</description>
      <pubDate>Tue, 06 Jul 2010 20:27:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/is-humanik-accessible-to-mel/m-p/4159635#M16315</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-07-06T20:27:48Z</dc:date>
    </item>
    <item>
      <title>Re: Is HumanIK accessible to MEL?</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/is-humanik-accessible-to-mel/m-p/4159636#M16316</link>
      <description>Ah, thanks!  Based on that script it looks like their function changeCharacterInput is a good starting point for me to look at.  Too bad there's no documentation for it. &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;</description>
      <pubDate>Tue, 06 Jul 2010 21:00:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/is-humanik-accessible-to-mel/m-p/4159636#M16316</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-07-06T21:00:33Z</dc:date>
    </item>
    <item>
      <title>Re: Is HumanIK accessible to MEL?</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/is-humanik-accessible-to-mel/m-p/4159637#M16317</link>
      <description>hi Mike,&lt;BR /&gt;&lt;BR /&gt;We are looking at batching the retargeting process as well. Did you find anything in the others folder?&lt;BR /&gt; Did the proc. changeCharacterInput  helped you out?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Marc</description>
      <pubDate>Mon, 19 Jul 2010 20:31:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/is-humanik-accessible-to-mel/m-p/4159637#M16317</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-07-19T20:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: Is HumanIK accessible to MEL?</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/is-humanik-accessible-to-mel/m-p/4159638#M16318</link>
      <description>Never mind, I found it &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;Marc</description>
      <pubDate>Tue, 20 Jul 2010 18:51:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/is-humanik-accessible-to-mel/m-p/4159638#M16318</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-07-20T18:51:43Z</dc:date>
    </item>
    <item>
      <title>Re: Is HumanIK accessible to MEL?</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/is-humanik-accessible-to-mel/m-p/4159639#M16319</link>
      <description>Hey, I am having the same problem, how did you figure it out?&lt;BR /&gt;I am trying to script the retargeting, but I cant seem to figure out how to change the Retarget Input in the character pipe tab in the HumanIK UI.&lt;BR /&gt;I have found and am inside the characterPipeTool.mel, and I know these lines have something to do with it:&lt;BR /&gt;&lt;I&gt;&lt;BR /&gt;"global proc changeCharacterInput(string $pCharacter, string $pNewCharacterSrc,string $layerName,string $controlRigLayerName)"&lt;BR /&gt;{&lt;BR /&gt;&lt;/I&gt;&lt;BR /&gt;please help</description>
      <pubDate>Thu, 10 Mar 2011 05:46:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/is-humanik-accessible-to-mel/m-p/4159639#M16319</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-03-10T05:46:56Z</dc:date>
    </item>
    <item>
      <title>Re: Is HumanIK accessible to MEL?</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/is-humanik-accessible-to-mel/m-p/4159640#M16320</link>
      <description>this is the only place on the magical internet that comes close to addressing this issue/question.&lt;BR /&gt;&lt;BR /&gt;can somebody please help out, I know u guys know whats up</description>
      <pubDate>Fri, 25 Mar 2011 23:41:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/is-humanik-accessible-to-mel/m-p/4159640#M16320</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-03-25T23:41:28Z</dc:date>
    </item>
    <item>
      <title>Re: Is HumanIK accessible to MEL?</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/is-humanik-accessible-to-mel/m-p/4159641#M16321</link>
      <description>Sorry, hadn't checked this board in awhile. After digging deeply into this problem, I was eventually able to write a complex, batachable animation transfer system for our game.  Its been a few months, but here's the relevant code IIRC (in Python):&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE&gt;&lt;BR /&gt;import maya.cmds as mc&lt;BR /&gt;import maya.mel as mel &lt;BR /&gt;&lt;BR /&gt;mel.eval&amp;amp;#40;"displayHIKPipeUI;"&amp;amp;#41; ### show the HIK window&lt;BR /&gt;mc.optionMenu("gCharPipeCharList",e=True, value=RigName)   ### sets the source character&lt;BR /&gt;mel.eval&amp;amp;#40;"changeCurrentCharacter(\"gCharPipeCharList\" &amp;amp;#41;")  &lt;BR /&gt;&lt;BR /&gt;mc.optionMenu("gCharPipeCharInputList",e=True,sl=2)  #### sets the 'retarget input' option menu. Had to be done via index rather than name&lt;BR /&gt;&lt;BR /&gt;mel.eval&amp;amp;#40;"changeCharacterInputFromUI;"&amp;amp;#41; ### applies the animation to the target character&lt;BR /&gt;    &lt;BR /&gt;mc.deleteUI("hikRetargetWindow")## delete the HIK window &lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;In mel, the retarget input change line is:&lt;BR /&gt;&lt;BR /&gt;&lt;PRE&gt;optionMenu -e -sl 2 "gCharPipeCharInputList"&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;Basically, to make it work, I had to do a little hackery.  First I load in both HIK rigs (not in the code above).  Then, I show the HIK window and have the script change the retargeting input option menu directly.  Note that I had to use the index of the character to change it to (in this case 2), not the name.  After that I apply the retargetting and delete the window.  A little goofy, but it works well.&lt;BR /&gt;&lt;BR /&gt;Hope this helps, &lt;BR /&gt;Mike</description>
      <pubDate>Thu, 31 Mar 2011 20:45:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/is-humanik-accessible-to-mel/m-p/4159641#M16321</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-03-31T20:45:23Z</dc:date>
    </item>
  </channel>
</rss>

