[MASH] - Objects in ReproNode broken

[MASH] - Objects in ReproNode broken

sublist
Advocate Advocate
554 Views
0 Replies
Message 1 of 1

[MASH] - Objects in ReproNode broken

sublist
Advocate
Advocate

I'm working on a few scripts for MASH and the longer i work with it the more broken the implementation seems.

I often get into a deadlock of mesh objects belonging to repro nodes.

They are listed but you cannot (delete, refresh) them anymore, but you still can add objects.

They are processed anyway, but the UI is broken. i alway get this error.

Even when trying to refresh them, i get the error for removing.

You cannot fix this without building a new repro node.

 

# Traceback (most recent call last):
#   File "C:\Program Files\Autodesk\Maya2018\plug-ins\MASH\scripts\mash_repro_aetemplate.py", line 216, in refresh_item
#     mash_repro_utils.refresh_mesh_group(self.node, id)
#   File "C:\Program Files\Autodesk\Maya2018\plug-ins\MASH\scripts\mash_repro_utils.py", line 575, in refresh_mesh_group
#     new_index = connect_mesh_group(mash_repro_node, data[index]['group'], index)
#   File "C:\Program Files\Autodesk\Maya2018\plug-ins\MASH\scripts\mash_repro_utils.py", line 303, in connect_mesh_group
#     multi_attr, index = initialize_index(mash_repro_node, index)
#   File "C:\Program Files\Autodesk\Maya2018\plug-ins\MASH\scripts\mash_repro_utils.py", line 147, in initialize_index
#     clean_index(mash_repro_node, index)
#   File "C:\Program Files\Autodesk\Maya2018\plug-ins\MASH\scripts\mash_repro_utils.py", line 107, in clean_index
#     maya.cmds.removeMultiInstance('.'.join(groupIdConn.split('.')[:-1]), b=True)
# RuntimeError: Unable to remove 'instancerRailB0_ReproMeshShape.instObjGroups[0].objectGroups[0]'.
# 
0 Likes
555 Views
0 Replies
Replies (0)