Well, I did not change any of the code that it has initially.
I only added in more of the maya cmds into the exporting class. Likewise, 
the __call__ was part of the original code as well.

As for self.fileExport, it will writes in the (animation) data - depending 
on the selection, and it is suppose to write the said data onto the .text 
file as the export selection is used.

On Wednesday, October 22, 2014 2:37:08 AM UTC+8, Justin Israel wrote:
>
> 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] <javascript:>> 
> 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] <javascript:>.
>> 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/cb22bc6a-4a69-4cab-9327-134fc78a737f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to