Forum: Poser Python Scripting


Subject: Changed "CollectSceneInventory"

bantha opened this issue on Feb 23, 2008 ยท 20 posts


bantha posted Tue, 26 February 2008 at 12:08 AM

Line 8 collects the runtime directories in a list. The function I used there obviously is Poser 7 only, I tried the script in Poser 6 some minutes ago (I hadn't installed it any more, had to dig for it in the backups) and got the same error. Obviously Poser6's Python library has no function to get the library folders. :frown:

It should work if you replace line 8. At the moment it says:
**
libs=poser.libraries()

change it to:

libs=("C:P6","C:otherruntime1","C:otherruntime2")

**You will have to enter your runtime directories there. Just enter every runtime directory between the brackets, seperated with collums. Use double backslashes, because Phyton uses a single backslash as control character. If you don't have external runtimes, the first entry is enough. (Path taken from your picture, should be your Poser Runtime directory).

So if you would have a Runtime at D:DataPoserdataRuntimeLibraries.... you would write

"D:DataPoserdata" within the brackets.

Since I cannot ask Poser to do it, you will have to do it yourself. Sorry.


A ship in port is safe; but that is not what ships are built for.
Sail out to sea and do new things.
-"Amazing Grace" Hopper

Avatar image of me done by Chidori