Functions to get a handle on objects:
- FBFindObjectsByName and FBFindObjectsByNamespace: returns a
list of objects matching a pattern (can contain *). For usage, see: FindObjectsWithWildcard.py
- If you know the name of the model, use FBFindModelByName, as demonstrated
in FBComponent.py.
- FBGetSelectedModels can
get a handle to an object which is derived from FBModel. It searches the scene for
a model, based on the model's unique name and returns a list of all
the selected things in the scene.
- FBSelectObjectsByNamespace selects
(or deselects) objects in the current scene.