Once you’re doing that you should be able to grab the entity (stored on a the data element or perhaps a sheet itself), extract the array, add
The new value to the end of the array, and then set the value of the field to the updated array.
So what you are saying is that it works the same way that ALL data storage does?
If you save over a text document called ‘moose.txt’ which contained your favorite moose documentaries with a new list of texts showing your favorite moose related comedy movies the previous one is lost.
If instead you have an excel file with your favorite moose documentaries and you write “monty python and the holy grail” in the value of A1, the previous value is overwritten.
If you set the parameter “name of moose” on the desk to be “Harold”, the previous value of “johny” is lost.
If in your python you define your list of numbers as myList = [1,2,3] and then change it to myList = [10,11,12] you can’t get [1,2,3] back.
It sounds like what you want is an “append to array” method, which you could write as a custom definition.
And yes, such a definition would be easier in C# than Python. *nudge*
It’s designed like a parameter. If you want the value for ‘comments’ to go from “Confirm finish with owner in field before purchasing.” to “Confirm finish with owner in field before purchasing. Validate VOC compound with manufacturer.”, then you have read, append, and then write.
It seems I can add two separate schemas to one object… Am I imagining this/ is it a glitch in my Revit… or can you actually attach multiple schemas to an object?
Yes - you can load multiple schemas onto an element.
Imagine if developer A wants to track the occupant load using an egress element by putting their schema on the object, and developer B wants to track the formula applied for the expected number of uses per day using their schema on the object, both need to be enabled.