I’m creating some custom components in c# in visual studio and I’m currently trying to create a component where the user gets to pick a house type from a list of 5 types (A-E). I’ve created a house class where I store the properties of the house and the user can later “explode” the object to get back all the properties of the selected house.
What I’m thinking is that it would be neat to render low level version of the house when the user picks the type by default, inside the component itself, instead of having to reference the geometry and interpolate which I’m doing right now.
What do you think is the best way of doing this? Should I save the data to a .json file somehow and reference that file in c# or is there a way of actually saving a brep as pure c# code in Rhinocommon?