Command.selectionEvent Event

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

Description

This function is retired. See more information in the 'Remarks' section below.

This event has been retired. Equivalent functionality is provide by the preSelect event.

Provides a notification when the mouse passes over an entity allowing you to determine if the entity should be available for selection or not.

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

Property Value

This is an event property that returns a SelectionEvent.

Version

Introduced in version June 2015
Retired in version July 2022