Shapediver Update Data output ( API)

Hi, I am trying to get to update my shapediver data outputs updated everytime the parameters change, so that ( for instance) the price will follow accordingly.

The price is a Shapediver data output component in GH. I tried with api.scene.getDataAsync() but with no success. I probably made some mistake on the code ( i am not a big expert of JS and HTML). Somebody that could help with that?

Here the full code:


I just checked your fiddle and noticed that you solved the problem on your own. Since you are not using iframe embedding, you need to use the getData() function and not getDataAsync().

Thanks for your reply!