I'm doing a simple prop rig with AUX controls and I'd like to have 2 AUX bones stacked to allow easy isolation of big primary movements and subtle secondary movements. Therefore both controls can control 1 joint, so I disabled joint creation on the primary control. However when I generate rig, the process hangs and I get the error below.
If I re-enable the joint the rig generates normally. I've attached the file for reference.
# Traceback (most recent call last):
# File "C:\ProgramData/Autodesk/ApplicationPlugins\rrm3\Contents\scripts\gui\main_tabs_generate_rig.py", line 171, in <lambda>
# generate_rig_button.clicked.connect(lambda *args: self.build_rig())
# File "C:\ProgramData/Autodesk/ApplicationPlugins\rrm3\Contents\scripts\gui\main_tabs_generate_rig.py", line 224, in build_rig
# rig_build_success = buildrig.build_rig(rig_data_obj)
# File "C:\ProgramData/Autodesk/ApplicationPlugins\rrm3\Contents\scripts\control_rig\_build_rig.py", line 197, in build_rig
# rig_module.build(start_nodes=True)
# File "C:\ProgramData/Autodesk/ApplicationPlugins\rrm3\Contents\scripts\control_rig\build_modules\_build_module.py", line 124, in build
# self.build_side(start_nodes=start_nodes, joints=joints, controls=controls)
# File "C:\ProgramData/Autodesk/ApplicationPlugins\rrm3\Contents\scripts\control_rig\build_modules\build_auxiliary.py", line 44, in build_side
# self.build_top_grp()
# File "C:\ProgramData/Autodesk/ApplicationPlugins\rrm3\Contents\scripts\control_rig\build_modules\_build_module.py", line 190, in build_top_grp
# self.add_mod_grp_attrs()
# File "C:\ProgramData/Autodesk/ApplicationPlugins\rrm3\Contents\scripts\control_rig\build_modules\_build_module.py", line 319, in add_mod_grp_attrs
# add_set_attrs.add_and_set(self.attach_jnt[self.side], 'attachGrps', attr_type='message')
# File "C:\ProgramData/Autodesk/ApplicationPlugins\rrm3\Contents\scripts\add_set_attrs.py", line 74, in add_and_set
# locked_node = cmds.lockNode(node, query=True, lock=True)[0]
# ValueError: No object matches name: Seat_Primary_Aux_Ctrl
Resetting Maya Settings on Close
isolateSelect -loadSelected modelEditor1;
select -cl ;
file -save;
// Result: P:/Pyramid/Assets/Environments/Props/MemoryChair/Source/MemoryChair_A_Prop_NamingBug.ma
I have updated the code in rrm3_installers_BETA_2025_05_14 to support attaching to auxiliaries that are attached to even if they do not have a joint or conversely a control. This should resolve the error you are hitting.