Replies: 1 comment 2 replies
-
Did you look at https://github.com/Kitware/trame-iframe/tree/master/examples/js-trame |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want trame to communicate with another of my web projects, I found this solution, I want to use the js iframe to tell trame which vtk file to render, but it doesn't work right now. Perhaps I asked a simple question, please forgive me, I am a novice.
my js code:
document.getElementById('iframeBox').contentWindow.postMessage({ event: "parent-to-child", value: "biv_ellipsoid_type_1.vtk"}, "*");
my python code:
Beta Was this translation helpful? Give feedback.
All reactions