Application.insertingFromURL Event

Parent Object: Application
Defined in namespace "adsk::core" and the header file is <Core/Application/Application.h>

Description

The insertingFromURL event fires when the user has clicked a link in a web page that uses the Fusion protocol handler to insert a file as new component. This event is fired at the beginning of the request but before Fusion has taken any action so that it's still possible to cancel the operation.

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/Application/Application.h>

Property Value

This is an event property that returns a WebRequestEvent.

Version

Introduced in version May 2016