Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

Revision history [back]

You may want to try out ModelMerge class that merges to models. I don't have an example of that code in C# but here is ruby example https://github.com/NREL/openstudio-model-articulation-gem/blob/develop/lib/measures/merge_floorspace_js_with_model/measure.rb#L121-L126

You may ned to add this code to match surfaces and optionally intersect. I can't remember if model merger maintains matched surfaces or not. https://github.com/NREL/openstudio-model-articulation-gem/blob/develop/lib/measures/SurfaceMatching/measure.rb#L91-L105

You may want to try out ModelMerge ModelMerger class that merges to models. I don't have an example of that code in C# but here is ruby example https://github.com/NREL/openstudio-model-articulation-gem/blob/develop/lib/measures/merge_floorspace_js_with_model/measure.rb#L121-L126

You may ned to add this code to match surfaces and optionally intersect. I can't remember if model merger maintains matched surfaces or not. https://github.com/NREL/openstudio-model-articulation-gem/blob/develop/lib/measures/SurfaceMatching/measure.rb#L91-L105