Command.preSelectMouseMove Event

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

Description

This event fires continually while the mouse is moved over an entity that is valid for selected.

The entity and mouse position on the entity can be obtained through the Selection object returned through the selection property of the SelectionEventArgs object provided through the event.

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 April 2019