Show / Hide Table of Contents

Class GraphicPicker

Provides mouse selection (picking) in a GraphicControl.

Inheritance
object
GraphicPicker
Namespace: ABB.Robotics.RobotStudio.Stations.Forms
Assembly: ABB.Robotics.RobotStudio.Stations.dll
Syntax
public sealed class GraphicPicker

Properties

View Source

EnableSelection

Gets or sets a value indicating whether picking will cause the project selection to be updated

Declaration
public bool EnableSelection { get; set; }
Property Value
Type Description
bool
View Source

FreehandMode

Gets or sets the way the user will be able to move or rotate a selected object by using the mouse

Declaration
public FreehandMode FreehandMode { get; set; }
Property Value
Type Description
FreehandMode
View Source

FreehandObject

Gets or sets a IFreehandObject for freehand manipulation.

Declaration
public IFreehandObject FreehandObject { get; set; }
Property Value
Type Description
IFreehandObject
Remarks

By default, freehand manipulation works on supported objects in the ProjectSelection. Use this property to ovveride this behavior and enable freehand manipulation of an application-defined object. Make sure to reset the property to null after use to restore the default behavior.

View Source

FreehandPivotPoint

Gets or sets where the center of the freehand move and rotate tool will be placed.

Declaration
public FreehandPivotPoint FreehandPivotPoint { get; set; }
Property Value
Type Description
FreehandPivotPoint
View Source

FreehandReference

Gets or sets reference coordinate system for freehand manipulation

Declaration
public FreehandReference FreehandReference { get; set; }
Property Value
Type Description
FreehandReference
View Source

MarkerPosition

Gets or sets the position of the marker which indicates the last pick point

Declaration
public Vector3 MarkerPosition { get; set; }
Property Value
Type Description
Vector3
View Source

MultiJog

Gets or sets a value indicating whether multi robot jogging is enabled

Declaration
public bool MultiJog { get; set; }
Property Value
Type Description
bool
View Source

MultiJogEnabled

ABB internal use only

Declaration
public bool MultiJogEnabled { get; }
Property Value
Type Description
bool
View Source

MultiJogExclude

Gets or sets the robots that are not used in multi robot jogging.

Declaration
public ArrayList MultiJogExclude { get; set; }
Property Value
Type Description
ArrayList

ArrayList containing Mechanism objects.

View Source

SelectionColor

Gets or sets the color of selected objects

Declaration
public Color SelectionColor { get; set; }
Property Value
Type Description
Color
View Source

SelectionHighlight

This property is obsolete.

Declaration
[Obsolete("No longer supported")]
public SelectionHighlightType SelectionHighlight { get; set; }
Property Value
Type Description
SelectionHighlightType
View Source

SelectionMode

Gets or sets the type of objects that will be selectable by picking

Declaration
public SelectionModes SelectionMode { get; set; }
Property Value
Type Description
SelectionModes
View Source

SelectionPreview

Gets or sets a value indicating whether objects under the cursor will be temporarily highlighted

Declaration
public bool SelectionPreview { get; set; }
Property Value
Type Description
bool
View Source

SelectionRadius

Gets or sets the tolerance (in pixels) used when picking line objects

Declaration
public double SelectionRadius { get; set; }
Property Value
Type Description
double
View Source

ShowLocalCoordinateSystem

Gets or sets a value indicating whether the origin of selected objects will be shown as a coordinate system

Declaration
public bool ShowLocalCoordinateSystem { get; set; }
Property Value
Type Description
bool
View Source

SnapMode

Gets or sets the way the pick point will be adjusted when picking geometric objects

Declaration
public SnapMode SnapMode { get; set; }
Property Value
Type Description
SnapMode

Methods

View Source

EndMultiRobotJog()

Declaration
public void EndMultiRobotJog()
View Source

InitMultiRobotJog(Mechanism)

Declaration
public void InitMultiRobotJog(Mechanism master)
Parameters
Type Name Description
Mechanism master
View Source

UpdateMultiRobotJog(Mechanism)

Declaration
public void UpdateMultiRobotJog(Mechanism master)
Parameters
Type Name Description
Mechanism master

Events

View Source

AfterFreehand

Occurs when an object has been moved or rotated by freehand manipulation.

Declaration
public static event EventHandler<AfterFreehandEventArgs> AfterFreehand
Event Type
Type Description
EventHandler<AfterFreehandEventArgs>
View Source

GraphicHover

Occurs when the user hovers the mouse over an object in a graphic view.

Declaration
public static event GraphicHoverEventHandler GraphicHover
Event Type
Type Description
GraphicHoverEventHandler
View Source

GraphicPick

Occurs when the user picks an object in a graphic view.

Declaration
public static event GraphicPickEventHandler GraphicPick
Event Type
Type Description
GraphicPickEventHandler
View Source

GraphicPickPreview

Occurs when the user moves the mouse in the graphic view.

Declaration
public static event GraphicPickEventHandler GraphicPickPreview
Event Type
Type Description
GraphicPickEventHandler
Remarks

Only occurs if SelectionPreview is true.

View Source

MarkerPositionChanged

Occurs when the MarkerPosition property changes.

Declaration
public static event EventHandler MarkerPositionChanged
Event Type
Type Description
EventHandler
  • View Source
In this article
Back to top Copyright © 2025 ABB