Selecting named objects with Python in Motionbuilder?

Hey everyone-
I’m working on a script right now and trying to select objects in the scene that start with a certain name. There may be a suffix after it but will always start with “skeleton_”. For right now I just have

theList = FBComponentList()

myNull = “skeleton_”

FBFindObjectsByName(myNull, theList, False, False)

Right now its acting case sensitive and will only pull in items that are named exactly “skeleton_”. Is there a method to get something that is FBFindObjectsByName but with something that is just startswith or something along those lines? Im definitely expanding this to have them selected but for now just trying to build a list of the objects. Thanks for the help!

Glenn

well that was quick. Found something in the doc’s . for anyone interested. it seems that you just need to add a + ‘*’ to the myNull variable!