api-issue-tracker icon indicating copy to clipboard operation
api-issue-tracker copied to clipboard

ComponentDefinition#persistent_id not preserved when Copying instances

Open Fredosixx opened this issue 1 year ago • 5 comments

This problem exists in SU2023.1 (and in SU2022) on both Windows and Mac.

When you copy an instance of a definition (Copy/Paste or Move/Copy), the persistent_id of the definition is changed.

image

See video attached

https://github.com/SketchUp/api-issue-tracker/assets/57754157/21a11e6a-9e0d-4e61-9b4b-0208e1414b07

Fredosixx avatar Dec 30 '23 12:12 Fredosixx

Like #941 , I'm not able to reproduce this one either.

d.persistent_id
=> 32
d.persistent_id
=> 32
d.persistent_id
=> 32
d.persistent_id
=> 32

Between each call I tried Copy+Paste, or Move+Copy etc.

thomthom avatar Jan 02 '24 12:01 thomthom

Do you test with SU2023.1 ?

Fredosixx avatar Jan 02 '24 12:01 Fredosixx

I receive the same result as Fredo with move/copy in 2023.1.341 on mac Captura de pantalla 2024-01-02 a las 14 55 12

rafhik avatar Jan 02 '24 13:01 rafhik

I re-tested using 23.1.340. I'm able to observe it.

thomthom avatar Jan 02 '24 15:01 thomthom

Logged as: SKEXT-3963

sketchup[bot] avatar Jan 02 '24 16:01 sketchup[bot]