Forum: Poser Python Scripting


Subject: batch import

stonemason opened this issue on Sep 30, 2008 ยท 16 posts


semidieu posted Wed, 01 October 2008 at 6:26 AM

Why don't you use:

os.path.splitext(filename)[1].lower()=='.obj'

This way, you will be sure to have the correct extension!

Another question Stefan: do you want to load all obj in the folder or choose a selection of props located in a folder ?