-
Notifications
You must be signed in to change notification settings - Fork 12
Switching spline_chest results in failed match (reproducable in all maya versions attempted - 2023.3.1, 2025, 2026) #27
Copy link
Copy link
Open
Description
Repro:
Maya 2023.3 - Tested using 'start' tab to create basic rig with default settings
changed Spine_card to 'SplineChest'
try:mayaHooks.override.dagMenuProc.callback_customDagMenu('Spine04_ctrl')
except Exception:import traceback;print(traceback.format_exc())
switcher |main|Chest_controls|Chest_main_space|Chest_main_align|Chest_main|Chest_FKIK_SWITCH.IkSwitch Chest_main
Also unable to successfully switch spline_chest in previously functioning rigs.
Possibly (?) related issue given by Fossil Anim Tools Switcher concerning spline_chest:
switcher |main|Chest_controls|Chest_main_space|Chest_main_align|Chest_main|Chest_FKIK_SWITCH.IkSwitch Chest_main
# Error: No valid objects supplied to 'xform' command.
# # Traceback (most recent call last):
# # File "C:\Program Files\Autodesk\Maya2023\Python\lib\site-packages\pymel\internal\factories.py", line 855, in callback
# # res = origCallback(*newargs)
# # File "C:\Program Files\Autodesk\Maya2023\Python\lib\site-packages\pymel\internal\factories.py", line 813, in __call__
# # return self.func(*self.args, **self.kwargs)
# # File "C:\Users/benfr/Documents/maya/scripts\fossilAnimTools\animSwitcherGui.py", line 212, in doIkFkSwitch
# # fossil.kinematicSwitch.multiSwitch([obj], start, end)
# # File "C:\Users/benfr/Documents/maya/scripts\pdil\tool\fossil\kinematicSwitch.py", line 92, in multiSwitch
# # animStateSwitch(targetLeads, start, end, spaces={}, key=key)
# # File "C:\Users/benfr/Documents/maya/scripts\pdil\tool\fossil\kinematicSwitch.py", line 251, in animStateSwitch
# # harvestValues[lead][t] = harvestFunc[lead]( prep[lead] )
# # File "C:\Users/benfr/Documents/maya/scripts\pdil\tool\fossil\rigging\splineChest.py", line 427, in harvest
# # 'extraFk': util.worldInfo(data['extraFk'][0]) if data['extraFk'] else None,
# # File "C:\Users/benfr/Documents/maya/scripts\pdil\tool\fossil\rigging\_util.py", line 871, in worldInfo
# # return [xform(obj, q=True, ws=True, t=True), xform(obj, q=True, ws=True, ro=True)]
# # File "C:\Program Files\Autodesk\Maya2023\Python\lib\site-packages\pymel\internal\pmcmds.py", line 217, in xform_wrapped
# # res = new_cmd(*new_args, **new_kwargs)
# # RuntimeError: No valid objects supplied to 'xform' command.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels

