Enum EventType
Script execution Mode
public enum EventType
Fields
CollisionMapChanged = 12
The collision map changed: collision checking has changed for one or more pairs of objects.
CollisionMapTooLarge = 13
The collision map is too large (there are too many objects) and it won't be remembered.
IsoCubeCreated = 6
A new program to follow the ISO 9283 cube has been created
ItemChanged = 16
The state of one or more items changed in the tree (parent/child relationship, added/removed items or instructions, changed the active station). Use this event to know if the tree changed and had to be re-rendered (Requires RoboDK v5.6.3 or later).
ItemMoved = 2
Obsolete after RoboDK v4.2.0: Use ItemMovedPose instead. The location of an object, robot or reference frame was moved
ItemMovedPose = 11
The location of an object, robot or reference frame was moved, including the relative pose.
ItemRenamed = 17
The name of an item changed (Requires RoboDK v5.6.3 or later).
ItemVisibility = 18
The visibility state of an item changed (Requires RoboDK v5.6.3 or later).
KeyPressed = 10
Key pressed event. More information about the event parameter can be found here: KeyPressedEventResult
Moved3DView = 8
The user moved the position of the camera in the 3D view (ViewPose)
NewMeasurement = 14
A new measurement was obtained using a measurement system when calibrating a robot (3D or 6D measurement system)
NoEvent = 0
ProgsliderChanged = 20
The program slider was opened, changed or closed (Requires RoboDK v5.6.4 or later).
ProgsliderSet = 21
The index of a program slider changed (Requires RoboDK v5.6.4 or later).
ReferencePicked = 3
A reference frame has been picked, or left clicked (any tool, reference frame or object)
ReferenceReleased = 4
A reference frame has been released (any tool or reference frame or object)
RobotMoved = 9
The Robot has changed it's position
Selection3DChanged = 7
One object (Item) has been selected or deselected from 3D view
Selection3DClick = 15
An object in the 3D view was clicked on (right click, left click or double click), this is not triggered when we deselect an item (use Selection3DChanged instead to have more complete information)
SelectionTreeChanged = 1
One object (Item) has been selected or deselected from the tree
StationChanged = 19
The active station changed, a new RDK file was loaded (Requires RoboDK v5.6.3 or later).
ToolModified = 5
A tool has changed (the TCP has been modified)