Forum: Poser - OFFICIAL


Subject: Python script: hide everything BUT??

sandmarine opened this issue on Jul 26, 2007 · 39 posts


destro75 posted Fri, 27 July 2007 at 5:38 AM

> Quote - destro, I got this error with your script: > >   File "", line 30 >     scene.Render() >                 ^ > SyntaxError: invalid synta > > and ockham, after I apply your script, as I originally wanted, all figures but the selected one hide away... but now, after I render the one figure and I want all other 38 figures to reappear, when I click on the poser menu Show All Figures, only the figures parented to the one figure show up, all other figures remain hidden even after that command is applied... hence, i have to go to the hierarchy editor and make them show up one by one... pretty much completely defeating the original time saving purpose... > > is there any work around this?? thanks again for everything

 

I'm not sure why you're getting an error there. The code is correct, as far as I can tell. I haven't run it yet, but it looks correct.

I'm attaching another version. It will process each render seperately, and save them to C:Poser_Renders, and inside that folder, there will be folders with the time the script is started. Inside any of those folders will be a number of rendered images, based on the processing of this script. (Sorry, I don't have time to test this, and I'm on my way to work, but this should work okay.)