GetPoint Method
Description
Retrieves coordinate data for a robot point.
Syntax
Function GetPoint (PointNumber As Integer) As SpelPoint
Function GetPoint (PointName As String) As SpelPoint
Parameters
- PointNumber
Integer expression indicating a point in the Controller’s point memory for the current robot. - PointName
Point labels containing modifier characters “Pxxx”, “P*” or “*” can be used in the character string.
Return Value
SpelPoint value
See Also
SetPoint Method
GetPoint Example
VB Example:
Dim pt As SpelPoint
pt = m_spel.GetPoint("P*")
pt.X = 25.0
m_spel.Go(pt)
C# Example:
SpelPoint pt;
pt = m_spel.GetPoint("P0");
pt.X = 25.0;
m_spel.Go(pt);