@sodapool, @roosterboy, @AmitShrivastava,
Thanks for your replies. So I know now how to read the properties of struct elements in an [Any] array. However, I still am not sure how to write/edit those properties. Do you know how I could do that? Sorry if my original post wasn't clear.
I know a workaround solution, but I'm worried it may be much less efficient... I could check what type the array element is, then create a new instance of that type that has whatever new property values I'm looking for, then replace the old array element with the newly created instace.
I'm thinking if there were a way to edit the values of the original element's properties directly, that would be more efficient than creating a copy, editing the copy, then replacing the original with the edited copy. However, I'm definitely very in the dark as far as what kinds of operations are efficient and what kinds are significantly less efficient.
For my application, I'm looking to make LOTS of these kind of edits very often, so I'm anticipating that if I were to use a workaround solution that were significantly less efficient, that could end up being a problem.
Any thoughts, either about a solution, or about the efficiency of my workaround?
Thanks!