Forum: Poser Python Scripting


Subject: LibraryPrefs.xml swapping utility ?

infinity10 opened this issue on Mar 26, 2007 · 6 posts


infinity10 posted Mon, 26 March 2007 at 11:14 AM

Attached Link: http://www.renderosity.com/mod/forumpro/showthread.php?thread_id=2691050&page=1

http://www.renderosity.com/mod/forumpro/showthread.php?thread_id=2691050&page=1

I was referred over to this forum for what I feel I need to enhance my Poser 7 usage.

Basically, the need for a meta-level method to swap, or better yet hot-swap ( but Poser 7 wouldn't stand for it), the LibraryPrefs.xml file itself, among various versions specifying different library compositions.

Please see referenced thread above. 

Eternal Hobbyist

 


David.J.Harmon posted Mon, 26 March 2007 at 12:30 PM

I know how you feel, evey time I need something I spend time looking and looking and looking for the mod. even a database to keep info on all of my stuff would be nice. Something with pictures and a search.

Can any one help us...

David J Harmon
davidjharmon.com


semidieu posted Mon, 26 March 2007 at 3:33 PM

Wow ! You have a lot of runtimes !

With ShaderWorks, you can add all runtimes located in one folder. So if you have an "Environnement" folder containing all the environnements runtime, you could add all them at once.

But... this is a really easy thing to code. If the above trick isn't sufficient, I could do a "Library Manager" module to my ShaderWorks, that would allow to select your LibararyPrefs file.

But, for now, you won't find a Python solution (or I don't know it). The LibraryPrefs is loaded at startup and, even if it's modified, it automatically replace the modified file with the original one.


infinity10 posted Tue, 27 March 2007 at 12:39 AM

Yes, semidieu !  LibraryPrefs manager !  Go for it !

I understand about the Poser loading only the default LibraryPrefs.xml.  So the management of the several different LibraryPrefs.xml files will have to happen outside of the Poser environment.

Looking forward to what you can come up with.

Cheers

Eternal Hobbyist

 


mysticwinter posted Tue, 27 March 2007 at 1:04 AM

where is ShaderWorks located?

Thanks


semidieu posted Tue, 27 March 2007 at 4:06 AM

Attached Link: http://poser.rois-sorciers.com/ShaderWorks/

I'll do something like that as soon as possible. I'm really busy now, but as soon as I have some time (I have some holidays next week), I should find the time to do something like that !