Opening a text file and writing ascii data to it via script

I searched around and didn't find a clear answer for that.

I use the print function to make specific output of coordinates and angles of joints to the log file. I'd like to put them into an generic ascii file (eg. *.txt). The name and the directory of the file should be selected by the user via file dialog.

Is there such a generic example somewhere?

Are doFileDialog and DZFile the right way to go?

Thanks, Walter

Comments

Sign In or Register to comment.