Usually all those plugins rely on Extensible Storage as @Marcel_Rijsmus pointed out, which although powerful requires hard coding in order to be used.
As your question is about “store it somewhere in the Revit project” I will avoid suggesting saving your data on any text file or external database like MongoDB or SQL (for which there are quite a few topics on the forum).
One workflow I found useful is by using Global Parameters. For example, you can have a Global parameter of type Multitext and save data on it. On the example below, I am saving a json formated text into the custom dataStorage parameter from a web request to London’s air quality dataset (on csv format).
Once it is set, that data can be retrieved or updated at any time from a different graph.
A few notes:
- The format saved on the global parameter can be any, I just prefer json for its simplicity.
- The origin of the data can be also any, I simply chose CSV as it can be request via web an avoid an extra file on the dataset.
- Although Global Parameters can still be modified by any user, it is unlikely that it might happen “by accident” when working on the model.
JsonData is the package used to create and handle the data in a json-like format.
Please find the example dataset attached. Hope it helps!
01_dataToGlobalParameter.dyn (6.8 KB)
02_dataFromGlobalParameter.dyn (6.6 KB)
dataOnGlobalParameter.rvt (1.4 MB) (Revit file not required as long as you create a global parameter of Multitext type on your model)