The file-command usually has its own progressbar in the help-line doesn't it?
If you have multiple objects to export as obj it should work as well when you update your progressbar in a loop after each export. To display a progressbar when exporting just one OBJ makes no sense of course.
Well i have a progress bar in my own script window and dont want to use the global progress bar.
And while exporting objects the global bar doesnt shoes progress.
The task iam trying to accomplish is that I select a couple of objects and just export them using a button on my scriptUI. Now this is just one click task and there isnt a any looping going here.
Only thing i can monitor is the bytes dumping into the obj file, If there's a way to do this!!!
Well iam stuck at this. My script is working fine, Everything is good but you know when i try to export really heavy meshes it takes a little time and everything kind of freezez( i dont mind that). But if i have this progressBar running to show me that how much of DATA is exported, ill be happy
Anyways Thanks for your efforts, I appreciate it.
Amit.
PS: hey AmitC... our names are same well but i dont think we know eachother. Anyways where are you from and what do you do??
I dont even mind using the global progressBar, until some activity is happening. But the thing is how to monitor progress of the file dump which is this "exporting action of the selected objects to an OBJ file".
mel cant monitor prccessing time of of indivdidual mel commands mid command sorry! (thing is you cant run ANY mel during this time)Theres absoluteoly anothing you can do to hook up one export process customly!
YOu can try to do s scriptjob to se if theres some exttra cycles diuring teh export time but i doubt thats the case.
Thanks for the help. You know what happened...its funny. I got my progressbar working for my export action.
what i did was counted the number of polys being exported and made this count the maxValue of progressBar. It worked fine. But then i realised my progressBar was running first and then my exporting was happening hehe....so basically NOTHING really happening, Just both process running seprate.
Anyways... ill just leave it...FOR NOW
Does anyone knows how does "-command" flag works in "file" command...
iam getting this error The -command flag must be used by itself.