hi Pascal - @seiferp
Sorry to resurrect this post again, but I was looking at your code
vrdSwitchNode(vrSceneplateService.getRootNode().getChild(2)).setChoice(0)
This works great but I would like to call a specific sceneplate in a specific switch by name. That way if a new sceneplate or switch gets added to the file or the sceneplates get rearranged in the Sceneplate Editor my script will still work as it's not bound to a specific order - like child 2 and choice 0 in your example.
Looking at the image you posted I want to call "Frontplate2" in "Switch1" even if 'Switch1' gets moved above 'Switch'.
I was hoping selectNodeVariant would work just like for geometry switches or selectMaterialVariant for Materials.
With that logic I woul hope for a command like this:
selectSceneplateVariant("SceneplateSwitch", "SceneplateOption")
But that doesn't work...
Thanks for your help!
-Chris