api-issue-tracker
api-issue-tracker copied to clipboard
entities.add_group related crash
Related forum thread: https://forums.sketchup.com/t/creating-a-component-from-a-face-crashes-sketchup/186346/10?u=tt_su
Open Sketchup Face.skp, select the fence instance and run the script:
mod = Sketchup.active_model
ents = mod.active_entities
sel = mod.selection
sel.grep(Sketchup::ComponentInstance) do |s|
s.definition.entities.grep(Sketchup::Face) do |f|
ents.add_group(f)
end
end
Close the model and a crash occur.
Logged as: SKEXT-3316