What I want to do is go through a directory and find all the blend files. Then go through each of those .blends and if ‘group x’ exists I want to link it, then add an instance of that group to the scene.
I’m stuck on the first part, I can’t find a method to get a list of files in a directory. I can imagine the rest is straight forward after I study the api more and fiddle around with it.
I know GameLogic has a getBlendFileList, but cannot find similar for regular blender.
Any ideas? thanks alot!