Is there a way to prevent an object from showing up in the object browsing lists?
Essentially I have a script that generates and manages a large number of objects. Usually 300+. The script and its tools are the sole management of these objects. These objects should not be referenced by anything else and it would be nice to not populate browsing lists in a manner forcing the user to search past all of the objects. The objects are all children of a single object that represents their manager.
So far I have just been keeping the object names prefixed so they usually appear at the end of the list.
I don’t think you can have an object both linked and unlinked to the scene. Perhaps if you devote a scene just to those objects it might work. Then the browsing mechanism, should only show you what is available in the current working scene. But I am not 100% sure that is how those boxes work.
Add all your management objects, in the other scene, to a group. If you do have to see them in the working scene you could just add an Empty that deploys that group into the scene.
You can use an EnumProp with an items-callback together with Layout.prop_search() for a custom set of objects, but note that you can only store a reference to the selected object by name (StringProperty).