I made a leaf joint under the wrist for the weapon. I need to space switch it under chest / back to wrist. But I can’t because the space switching isn’t setup to handle the default location.
Sadly all those animations I made will need to be re-adjusted for this I must go back and change it to be parented under root instead of the wrist.
I need to go back and redo the skeleton but I can’t because it errors when I click <-Skeleton Placement:
# Error: invalid literal for int() with base 10: 'Nothing counted : no polygonal object is selected.'
# Traceback (most recent call last):
# File "D:/Development/UE4.5/Engine/Extras/Maya_AnimationRiggingTools/MayaTools/General/Scripts\ART_skeletonBuilder_UI.py", line 7103, in unlock
# continueProc = self.cacheWeights()
# File "D:/Development/UE4.5/Engine/Extras/Maya_AnimationRiggingTools/MayaTools/General/Scripts\ART_skeletonBuilder_UI.py", line 10868, in cacheWeights
# for i in range(int(verts)):
# ValueError: invalid literal for int() with base 10: 'Nothing counted : no polygonal object is selected.' #
Have to go all the way to the beginning and just transfer weights across later
Edit: Your space switching is very buggy. It attempts to match the pose, and it succeeds except without reducing the other influence. Now if I have it set to the chest, and switch to the hand, it sets the wrist to 1 and doesn’t set the chest to 0. Then if I do that manually I lose the matching.
Also: I have no way of knowing if I have the latest version or not or if updating will solve anything or what has been solved in later updates already. Need a changelog and version.
Edit 2: I manually reproduced the steps in your code for space switching and it worked, the issue is related to it not resetting the other custom spaces to 0. The code is there, but it’s under a try: statement so it’s obviously failing but you aren’t catching the error … for example:
try:
doing this
except KeyError:
print "Had a key error!",
By printing instead of using cmds.error it’ll continue on but will still print what the error was, adding the comma to the end of the print string it will reduce the additional white space following the print command so it shows up in the script line.