Forum: Poser Python Scripting


Subject: How to get all Libraries paths ...

papillon68 opened this issue on Oct 23, 2010 · 6 posts


papillon68 posted Sat, 23 October 2010 at 5:14 AM

Hi, I'd like to know if there is a way to get the paths of all the Libraries defined in Poser.

Thanks

visit my blog:  www.alessandromastronardi.com

My Rendo Store


PhilC posted Sat, 23 October 2010 at 6:01 AM

Yes its:-

import poser
print poser.Libraries()

 


papillon68 posted Sat, 23 October 2010 at 6:04 AM

thanks Phil!

visit my blog:  www.alessandromastronardi.com

My Rendo Store


markschum posted Sat, 23 October 2010 at 8:11 PM

or

 

import poser

libs = poser.Libraries()

for lib in libs:

      print lib

 

 

 

 


nruddock posted Sat, 23 October 2010 at 8:32 PM

Just trying out how well the new editor copes with the

 tag.

import poser<br></br>libs = poser.Libraries()<br></br>for lib in libs:<br></br>    print lib

Awkwardly seems to be the case.


markschum posted Sun, 24 October 2010 at 10:53 AM

I did wonder why my posts seem to be very spaced out :(