PropRig > AnimRig

32 views
Skip to first unread message

Le probiner

unread,
Apr 21, 2014, 10:58:18 AM4/21/14
to species_ma...@googlegroups.com
Hope this is the proper place to report things.

Second job the Anim Rig shows up this problem. The other time I had to redo everything :/

# ERROR : Species Error: Unexpected Species Error Occured! ================================
# ERROR : 2006 - Species Error: Message: com_error: (-2147352567, 'Exception occurred.', (0, None, u'Unexpected failure.', None, 0, -2147352566), None)
# ERROR : Species Error: Line: 229
# ERROR : Species Error: Full Strack Trace:
# ERROR : Species Error: (  File "<Script Block 2>", line 229, in Hominid_ToAnimRig_Execute
# ,  File "B:\XSI\Workgroups\Animation\Addons\ExocortexSpecies1.6.1\Application\Plugins\..\Modules\species\tools\rig.py", line 155, in resizeBone
#     oTgtObject.Parameters("Length").Value = sGlobalLen
# ,  File "C:\Program Files\Autodesk\Softimage 2014 SP2\Application\python\Lib\site-packages\win32com\client\dynamic.py", line 554, in __setattr__
#     self._oleobj_.Invoke(entry.dispid, 0, invoke_type, 0, value)
# )


Attached an Action for the objects in the "Controls" group of the PropRig, so someone can see the issue in action when doing "PropRig > AnimRig"

To help to narrow down the problem I woud say that the spine/hip controls are the ones at fault. Apparently when I reset only them and run "PropRig > AnimRig" things go well. But my model doesn't fit then...


What can I do?

Cheers
AnimRigBug.eani

Le probiner

unread,
Apr 21, 2014, 11:18:18 AM4/21/14
to species_ma...@googlegroups.com
Ok, I cornered the bug, sort of..

If I the control Hominid_Male_PropRig.Chest_M_Con has scale below 1 (like 0.9999), then the "PropRig > AnimRig" gives the error, other wise it woks just fine.

I tried to import Male and apply 0.9999 scale to Hominid_Male_PropRig.Chest_M_Con and run "PropRig > AnimRig". So I guess it's some perfect storm of that control and something else.

Any guideline still appreciated.

Cheers

pedro santos

unread,
Apr 21, 2014, 11:50:13 AM4/21/14
to species_ma...@googlegroups.com
Hhmm kay.... not cornered...

Another Action to debug.

Cheers




--

---
You received this message because you are subscribed to the Google Groups "Species Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to species_mailing_...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
[img]http://i153.photobucket.com/albums/s202/animatics/avatar_1.gif[/img]
AnimRigBug_02.eani

Chris Covelli

unread,
Apr 21, 2014, 12:02:30 PM4/21/14
to species_ma...@googlegroups.com
Hi Pedro,

Sorry to hear you're having trouble.  I will look into this tonight when I get home from work.

Cheers!

pedro santos

unread,
Apr 21, 2014, 1:14:21 PM4/21/14
to species_ma...@googlegroups.com
Hey Chris

Attached goes an Action for the "Controls" group that worked out fint, from redoing the PropRig. Just in case it helps to compare.

Another attachment is a previous project PropRig "Controls" group Action, that also gave an error. Just in case it helps to debug this.

Cheers
AnimRig_OK.eani
older_project_AnimRigBug.eani

pedro santos

unread,
Apr 21, 2014, 3:38:50 PM4/21/14
to species_ma...@googlegroups.com
fix:"worked out fine"

Eric Thivierge

unread,
Apr 21, 2014, 9:56:14 PM4/21/14
to Species Mailing List
How are you creating these actions?

--------------------------------------------
Eric Thivierge
http://www.ethivierge.com

Eric Thivierge

unread,
Apr 21, 2014, 10:12:18 PM4/21/14
to Species Mailing List
OK I found the issue. You have scaled the "FingerC001_L_Con" objects to something like 0.0296 and the global scale of that bone is 0.0239. The script multiplies these together and you get 0.00814751035314. If you try to copy that value into the bone length you'll see that it automatically adjusts it to be 0.01 which I guess is the minimum length you can have on a bone in Softimage. However, if you try to do the same thing through scripting, you get the error you are seeing.

I'm not sure why you have the finger controls scaled down as you do but you shouldn't do that as you can see. Scaling the finger controls back up to 1.0 makes the AnimRig conversion work without a problem.

If you don't want those controls, I would suggest just leaving them scaled and positioned normally and after the rig is built, just hide them.

Hope that helps,
Eric T.

--------------------------------------------
Eric Thivierge
http://www.ethivierge.com


Chris Covelli

unread,
Apr 21, 2014, 10:19:59 PM4/21/14
to species_ma...@googlegroups.com
Hi Pedro,

Ive noticed something else about the issue you are having.  Looking at the action sources you've sent, it appears you are storing these actions using Softimage's native storage options, which can cause problems with the PropRig>AnimRig script.

To store a PropRig's pose, we have provided a specific utility script.  Simply go to Species/Hominid/Utils/PropRig Store Pose, and in the pick session, select your PropRig model in the explorer.  This will ensure that only the correct nodes, axes and parameters will have their values stored. 

You can see for yourself if you open the action sources that are causing the errors, you'll notice that exactly 900 items are stored, whereas opening an action source stored using our custom option, there are only 396 items stored.


Hope that helps!

pedro santos

unread,
Apr 22, 2014, 6:02:59 AM4/22/14
to species_ma...@googlegroups.com
Hello guys, thanks for support.

@Eric
Ah the good old user error :)
The scaling down is just so the weights don't require as much tweaking. I guess the it's ok to scale some, just not go to the extreme. That's why the second time the "PropRig>AnimRig" works.

@Chris
Tested storing the action from the faulty prop rig setup and applying it back with your custom commands and it worked fine.


Case closed.

By the way, we sometimes use Species for unorthodox ends that give very funny looking PropRigs, so you ever want to do a compilation of that sort, ring :)

Cheers

Chris Covelli

unread,
Apr 22, 2014, 11:53:09 AM4/22/14
to species_ma...@googlegroups.com
Well, you've got my curiosity piqued.  Would love to see some Species oddities.
Reply all
Reply to author
Forward
0 new messages