Hello,
I have built a react application that loads multiple plugins into a scene via “registerCommPluginAsync” after which i need to get som params(outputs) from that model to manage the camera.
I have been looking through the documentation and it seems as tho one can filter quarries on the plugin-id/runtime-id. the outputs i am looking for has the same name in every instance that i load but i was expecting to be able to filter them based on the runtimeId. from what i gather in the documentation i should be able to do this by for example
this.api.scene.getData({name: 'cameraTargetVector'}, _runtimeId)
i have also tried
this.api.scene.getData({name: 'cameraTargetVector, plugin: _runtimeId'})
with the same result. am I mistaken in believing i can filter data this way or is my queries wrong?
I managed to get it working by running
this.api.scene.get({name: 'cameraTargetVector'}, _runtimeId).data[0].content[0].data
but it feels like a workaround.