Hi, do you have an example in which I can refer to, if possible? Truth be told, I am still pretty much of an amateur in scripting. And this script that I am editing was not my code to begin with and I am still trying to grasp how it works in certain parts
On Wednesday, July 6, 2016 at 8:50:27 PM UTC-7, Justin Israel wrote: > > If I am reading your examples correct, it would appear you are using your > foo module as a kind of global scratch pad for storing and sharing data > between unrelated function calls in your UI and your business logic > modules. You might try making your business logic capable of storing > everything it needs to do its work. Your UI should be creating an instance > of it and managing it over time. That is, setting item name should be > something you do on an instance of your business logic class. Not a global > in a module. > > Justin > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/cf47679d-44ba-49d1-a086-43d6fb422759%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
