pikesPit opened this issue on Jan 19, 2020 ยท 9 posts
pikesPit posted Sun, 19 January 2020 at 9:31 AM
Hello all!
I'm currently trying to write a small python script which must either query (and if possible, SET!) the "Use file compression" option in Poser's "General Preferences/Misc."
The only thing I found in the reference manual is an ominous "poser.kExOptCodeSAVECOMPRESSED" which reads as "30" no matter if the box is ticked or not...
What I want this for:
Save a pose with a single click, scripted. But because I want to save a customized pose, I need to know whether I must save the data gzip-compressed or not.
I do NOT want to use the standard "scene.SaveLibraryPose()" because of all the overhead gibberish that Poser usually adds to a pose file... I want to avoid this!
SO I DO want to write my own pose file from scratch
BUT I need to know how the user has set his file compression (and also possibly change that, temporarily)
Any help would be greatly appreciated because I'm at my wit's end. Google search delivers nothing useful either.
Thank you!
Peter