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