speckleworks / SpeckleRevit

Archived, dev moved to https://github.com/speckleworks/SpeckleRevitReboot
MIT License
17 stars 7 forks source link

Saving clients/streams into the revit file. #10

Open fraguada opened 6 years ago

fraguada commented 6 years ago

Is there such a thing as user data for a rvt file? How to save client senders and receivers in a revit file like we do in SpeckleRhino?

radumg commented 6 years ago

You use something called ExtensibleStorage which allows arbitrary data to be stored/retrieved in a Revit file. ES offers control over who can see/access that data too.

Most commonly, you store serialised JSON as a string and deserialise on retrieval.

radumg commented 6 years ago

I might have some utils i've written on my projects that i can donate for this :)

Eckart-S commented 6 years ago

Doesn't Revit display a warning message if ExtensibleStorage data is found in a file and that specific plugin is not installed?