Skip to content

Can assign same name to multiple scenes #261

@Eneroth3

Description

@Eneroth3

The SketchUp Ruby API allows to set the same name on multiple scenes. This should to my knowledge not be allowed, and if you try to name a scene the same as another scene in the GUI, the name doesn't change.

6.times { Sketchup.active_model.pages.add }
Sketchup.active_model.pages.each { |p| p.name = "Same" }
6.times { Sketchup.active_model.pages.add("Same") }

Tested in SketchUp 2018 and 2019.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions