I have an issue with my current workflow where whenever I update the geometry of a layer that is conveyed to a revit mass family, I lose the material that I select in Revit. This is important because I am using multiple materials to differentiate graphically between mass families and it gets reset to the default mass material. Is there a way to specify the material here?
I am able to pull the correct material in which is promising but I don’t know why the error is telling me “object reference not set to instance of an object”