Tiny opened this issue on Dec 20, 2015 · 4 posts
Tiny posted Sun, 20 December 2015 at 11:14 AM
I am dusting off some older Python scripts which runs fine but do not save any images. Nothing seems to work and I don't understand why. Now I'm down to a "hard coded path" but it still doesn't do it. What am I doing wrong here? Any suggestions much appreciated. Here is the latest and simplest save image code: Scene.SaveImage(“png”, “E:Rendersmypic.png”)
I'm using Poser Pro 11
structure posted Sun, 20 December 2015 at 11:26 AM Forum Coordinator
in your example, you are missing the slash (the slash is written double (2 * ) Scene.SaveImage(“png”, “E:Rendersmypic.png” )
Locked Out
Tiny posted Mon, 21 December 2015 at 7:25 AM
Thank you! That worked when I used the 'hard coded simple path' but not with my whole script. After more testing and reading Python manual I got it working. :) This is what the save image line looks like now: scene.SaveImage("png",os.path.realpath('E:/')+'Renders/'+(LastName))
structure posted Mon, 21 December 2015 at 11:27 AM Forum Coordinator
glad you got it working :)
Locked Out