TextCommandPalette.incomingFromHTML Event

Parent Object: TextCommandPalette

Derived from: Palette.incomingFromHTML


Defined in namespace "adsk::core" and the header file is <Core/UserInterface/TextCommandPalette.h>

Description

This event is fired when the JavaScript associated with the HTML calls the adsk.fusionSendData function. This allows the HTML to communicate with the add-in by passing information to the add-in.

Syntax

-------- Import ---------
# Import fusion360utils folder, which includes event_utils.py.
from ...lib import fusion360utils as futil

-------- Global variables ---------
# Global variable used to maintain a reference to all event handlers.
local_handlers = []

-------- Global variables ---------
# Global variable used to maintain a reference to all event handlers.
handlers = []

--------- Required include files. ---------
#include <Core/UserInterface/TextCommandPalette.h>

Property Value

This is an event property that returns a HTMLEvent.

Version

Introduced in version August 2017