How to get currentSceneId and currentLayoutId?

Here is another extension that might help… This changes content based on class across the whole hypeDocument at once.