Interface IRevitJsonStorage<T>
Onbox's Revit Storage, it uses json to store and retrieve data classes
Assembly: Onbox.Revit.dll
Syntax
public interface IRevitJsonStorage<T>
where T : class, new()
Type Parameters
Methods
|
Improve this Doc
View Source
Load(Element)
Retrieves data from this element's extensible storage
Declaration
Parameters
Type |
Name |
Description |
Autodesk.Revit.DB.Element |
element |
|
Returns
|
Improve this Doc
View Source
Reset(Element)
Resets the extensible storage of this type for this element. This REQUIRES a transaction
Declaration
void Reset(Element element)
Parameters
Type |
Name |
Description |
Autodesk.Revit.DB.Element |
element |
|
|
Improve this Doc
View Source
Save(Element, T)
Saves this data to this element's extensible storage. This REQUIRES a transaction
Declaration
void Save(Element element, T data)
Parameters
Type |
Name |
Description |
Autodesk.Revit.DB.Element |
element |
|
T |
data |
|