The attached file is a simplified version of a large model. It contains two faces which have same persistent id. Usually duplicate ids are fixed when doing’ Fix Problems’. We save the ids with the model or on file and rely on these to get the faces back using Ruby api. In this case, it is impossible to get one of the face as Sketchup.active_model.find_entity_by_persistent_id always returns the same face. The issue occurs on Sketchup 2017 and the issue was raised by one of plugin user. It happened after some objects are copied from another Sketchup model.
My questions are
- Why is not the issue fixed with Fix Problems.
- Is there any other way to fix the issue or workaround in ruby api to get the correct face?
Many thanks in advance
Duplicate Persistent Id.skp (75.0 KB)