Changing extensions

Hello team Shapespark.
Does Shapespark support functions for changing options within extensions?

Example: I have a space ‘KITCHEN’ with 2 options ‘KITCHEN: 1’ and ‘KITCHEN: 2’ instead of having to click to change it, I want to use the function instead of click.

The API for this was finished recently and is not yet documented, but you can already use it:

// Do this after the scene is ready to display:
var extension = WALK.getViewer().getExtension(‘SwitchObjects’, ‘15’ /* Your extension name should be put as this parameter*/);
extension.trigger();

1 Like

I will try
Thank you for your support!