Community
VRED Forum
Welcome to Autodesk’s VRED Forums. Share your knowledge, ask questions, and explore popular VRED topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Sending custom events to vrMenu with html content

1 REPLY 1
SOLVED
Reply
Message 1 of 2
chr33z
555 Views, 1 Reply

Sending custom events to vrMenu with html content

Hi there,

 

I was wondering if there is a way to send custom events to a html page that is displayed with vrMenu. It is possible with webengines ('sendToWebEngine'), but they come with other disadvantages (they cannot be created from script to my knowledge).

 

I try to create a kind of artifical horizon and have to send some parameters to my javascript.

 

Thanks for your reply!

1 REPLY 1
Message 2 of 2
chr33z
in reply to: chr33z

I figured I could just use a websocket connection between my plugin code and the html vrMenu. Soo far it works quite nicely!

 

This is the python websocket implementation I used: simple-websocket-server

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report