Access an object instance from outside the startup script

If I create an instance of an object in the selfinit function of a smartbutton or in the startup.py script, how can I access that specific object instance, not a copy, later when running other script.

Hi Kris,
what kind of object are you talking about?
Revit element?

A python Object. Everything I’ve tried just creates a brand new instance.

In the startup.py file I registered to the document changed event. it looks for changes based on some parameters. Those parameters are defined using the configuration script of one of my buttons. I was hoping I could save those configuration in the object that is associated with the change event without having to read the configuration file everytime.