diff --git a/speckle_connector/src/speckle_objects/speckle/core/models/model_collection.rb b/speckle_connector/src/speckle_objects/speckle/core/models/model_collection.rb index 1c73257d..d5f1129f 100644 --- a/speckle_connector/src/speckle_objects/speckle/core/models/model_collection.rb +++ b/speckle_connector/src/speckle_objects/speckle/core/models/model_collection.rb @@ -66,6 +66,13 @@ def self.collect_mapped_entities(speckle_state, sketchup_model, units, preferenc def self.to_native(state, model_collection, layer, entities, &convert_to_native) elements = model_collection['elements'] + views = model_collection['@Views'] + if views + views.each do |view| + new_state, _converted_entities = convert_to_native.call(state, view, layer, entities) + state = new_state + end + end elements.each do |element| new_state, _converted_entities = convert_to_native.call(state, element, layer, entities)