Can a *.rhi file include a *.3dm file?

I am creating a set of toolbar buttons with python scripts under the buttons. Two of the buttons import a 3dm and one adds a layout file to the import. There is also a display mode I need to add. Currently I am doing this before the ! _-RunPythonScript ( header. Done this way requires the full path to the files to be present under the button.

This toolbar will be distributed out to the enterprise across a very diverse network so it would be great if I did not need to change file paths on each users toolbar to accommodate the diverse network / language issues. It would seem that if I create a .rhi file that puts everything in the local users plugins folder I can use a global file path statement in the python to import those .3dm files.

If this is possible, what does that look like?

in rhinocommon there is

or

but this will only work in a plugin, not in a phyton script.

i am not sur if the Phyton
__file__
is set properly or will return the right path - you might want to give it a try ?