I'm trying to update a list of lights on the scene. For this I keep the last list and delete all the elements, and create new ones based on the new list... It deletes all the elements just fine, but when I try to update with the new ones.. it just crashes and says: RuntimeError: Object's name 'textName1' is not unique. # It's suposed to be deleted, isn't it?? this is the code of this part.. |
--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/a6036cfe-30e3-4b2a-9b5f-1bbd35bb6450%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Thanks ! I think my problem it that I don't know exactly how layout and parents works in python... i'm just improvising a bit... Now I have created a layout just for the buttons and it deletes them ok, but if I do any change ( add or delete light ) I have a blank space where the buttons should be.. I attach this time the whole code for this to work =)
Thanks ! I think my problem it that I don't know exactly how layout and parents works in python... i'm just improvising a bit... Now I have created a layout just for the buttons and it deletes them ok, but if I do any change ( add or delete light ) I have a blank space where the buttons should be.. I attach this time the whole code for this to work =)
--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/dd3ab467-f72f-40ac-8ef1-2d3239a4bb08%40googlegroups.com.