I don't see in your last example where your custom fileExporter class supports iteration, where you loop over it and write something to a file. Seems your example contains bits and pieces of things that are either not used or not defined.
What are you expecting retuning that self.fileExport to do? Your question is unclear. On 21/10/2014 11:34 PM, "likage" <[email protected]> wrote: > Thanks, turns out I also need to retweak a few stuff in my other functions. > > However, while the information capturing and all seems to be working, > rather I got issues with the exporting. > It does creates a file but it is of zero bytes size and I noticed that the > following function wasn't exactly being used in any events > > I tried adding it into the __init__, though it is 'reading' but it is not > doing much of anything... > > def __call__(self): > return self.fileExport > > -- > 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/6337db5c-3b48-4932-848f-c9230ce1e1f8%40googlegroups.com > <https://groups.google.com/d/msgid/python_inside_maya/6337db5c-3b48-4932-848f-c9230ce1e1f8%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CAPGFgA3xovu3AYV34rZWDA_8cqxVnU9Zh0Lm3okVxx_gMe_EJQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
