Hi Marco, this line of code looks like it needs to be changed
in assembly>Group class
def __iadd__(self, obj):
"""
Add an object to the group
"""
if not vedo.utils.is_sequence(obj):
obj = [obj]
for a in obj:
if a:
self.AddPart(a) ### here
return self
needs to be
def __iadd__(self, obj):
"""
Add an object to the group
"""
if not vedo.utils.is_sequence(obj):
obj = [obj]
for a in obj:
if a:
try:
self.AddPart(a.actor) ### here
except:
self.AddPart(a)
return self
like in Distance_Tool
If I come across more, I will let you know
Best Regards
Hi Marco, this line of code looks like it needs to be changed
in assembly>Group class
needs to be
like in Distance_Tool
If I come across more, I will let you know Best Regards