Skip to content

Can't access more than one library instance #489

@Banimator

Description

@Banimator

Hello! :D

I'm trying to create more than one library instance, via the scripting in the documentation section. I am able to have them created and showing up in the Settings section in SL, but nothing happens when I try to click on them? Here's my SL Command in the Shelf Editor.

I'm in Maya 2023.2

-----------------------------------

Studio Library

www.studiolibrary.com

-----------------------------------

import os
import sys

if not os.path.exists(r'C:\Users\Documents\maya\scripts\studiolibrary-2.20.2\src'):
raise IOError(r'The source path "C:\Users\Documents\maya\scripts\studiolibrary-2.20.2\src" does not exist!')

if r'C:\Users\Documents\maya\scripts\studiolibrary-2.20.2\src' not in sys.path:
sys.path.insert(0, r'C:\Users\Documents\maya\scripts\studiolibrary-2.20.2\src')

import studiolibrary
studiolibrary.main(name="MAIN", path="C:/Users/Documents/Studio Library/MAIN")
studiolibrary.main(name="Cine", path="C:/Users/Documents/Studio Library/Cine", show=False)
studiolibrary.main(name="Mocap", path="C:/Users/Documents/Studio Library/Mocap", show=False)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions