Forum: Poser Python Scripting


Subject: Python for removing all those files in the drop down list in Material Room

arboruriam opened this issue on Oct 22, 2003 ยท 2 posts


arboruriam posted Wed, 22 October 2003 at 8:03 PM

I know I saw a script somewhere for removing or clearing all the files in the drop down lists in the material room. I try out tons of textures and then when I save the figure they just live there forever! Would like to be able to get rid of them. Thought it was in FreeStuff but couldn't find it anywhere... New topic...how to add a script to the permanant list in Poser without having to add it every time I use the program. Like a "Clean up Lights" script that could reside there all the time. I have one that's just great but have to go get it every time I open the program.


ockham posted Sun, 26 October 2003 at 12:17 PM

Attached Link: http://ockhamsbungalow.com/python/demat.zip

I don't know of any good way to remove the drop-down list. It's contained in the ImageIOEnginePrefs file, and deleting that file makes Poser start fresh the next time. Here's an alternate solution. This script takes selected CR2 files and rewrites them, leaving only the materials that are actually used in the figure. Caution: this works in my P4 setup, but might not work in other setups. See the readme for details on use.

My python page
My ShareCG freebies