C#:how to call functions registered by registerCallback() in Javascript

C#:how to call functions registered by registerCallback() in Javascript

906521597
Participant Participant
480 Views
1 Reply
Message 1 of 2

C#:how to call functions registered by registerCallback() in Javascript

906521597
Participant
Participant

I looked at some code in Autodesk.AutoCAD.js, and one of the functions caught my attention. The name of this function is registerCallback (string, function). Some public information shows that this function is added in Chromium and is used to register some callback functions for autocad to call (IPC). My question is how to use c # to trigger the js function registered by this function.

 

This method enables c # to actively send data to js, but I can't find the calling method

0 Likes
481 Views
1 Reply
Reply (1)
Message 2 of 2

906521597
Participant
Participant

@_gile  Help me !  Thank you!

0 Likes