SketchUp / api-issue-tracker

Public issue tracker for the SketchUp and LayOut's APIs
https://developer.sketchup.com/
39 stars 10 forks source link

No method to reorder scenes #869

Open Fredosixx opened 1 year ago

Fredosixx commented 1 year ago

I did not find a method to re-order existing scenes.

You can insert a new scene where you want at a given index.

But to re-order scene, I see no other way to delete scenes and recreate them.

DanRathbun commented 1 year ago

@thomthom The C API also lacks this feature.

Although there may be a clunky workaround using SUSceneCopy where a new scene is placed at the desired index, then the data is copied to the new scene, the old scene deleted and lastly the new scene name set to what the old scene's name was.

The Ruby API lacks a scene data copy method that the C API has.

sketchup[bot] commented 1 year ago

Logged as: SKEXT-3637

sketchup[bot] commented 1 year ago

Logged as: SKEXT-3638