Forum: Poser - OFFICIAL


Subject: Conforming Clothing Scripts?

alpha117 opened this issue on Jul 10, 2007 · 7 posts


Cage posted Tue, 10 July 2007 at 3:18 PM

Run multiple scripts with one click?  Python scripts can call one another, so you can create a sort of runner script.

#######

import poser

poser.ExecFile("Runtime:folder:script1.py")
poser.ExecFile("Runtime:folder:script2.py")
poser.ExecFile("Runtime:folder:anotherscript.py")

The above lines between the # signs should work as a script if saved as a .py file.  Change the paths as needed, using Poser's Mac-style relative Runtime paths.  As far as I can tell from my own experiments, the colon before "Runtime" should be omitted for these, although I'm not sure why....

===========================sigline======================================================

Cage can be an opinionated jerk who posts without thinking.  He apologizes for this.  He's honestly not trying to be a turkeyhead.

Cage had some freebies, compatible with Poser 11 and below.  His Python scripts were saved at archive.org, along with the rest of the Morphography site, where they were hosted.