Using python to link or access linked libraries

That’s basically it. How do I use Python to access objects in a linked library? I need to be able to create a proxy and whatnot with the objects. I am going to have a .blend with GUI assets and want to just link, and head straight to Python.

Thanks. :slight_smile:

If the objects are linked in the current scene, they’ll show up in scene.objects or scene.objectsInactive if they’re on an inactive layer just like normal objects.

If you’re wanting to load external assets from within the BGE, you need to use LibLoad.

Oh wow that was so easy… I should have just looked at the bge.logic api. I’ve been all over that api and didn’t look there this one time. Derp.

Thanks for pointing it out! :smiley: