VGetRobotPlaceTargetPos Method

Description
Retrieves part place position.

Syntax
Sub VGetRobotPlaceTargetPos (Sequence As String, Object As String, ByRef Point As SpelPoint)

Parameters

  • Sequence
    A string expression indicating the vision sequence name for the current project.
  • Object
    A string expression indicating the object name for the sequence.
  • Point
    A SpelPoint variable indicating the place position.

See Also
VGetRobotPlacePos Method, VSetRobotPlaceTargetPos Method

VGetRobotPlaceTargetPos Example
VB Example:

Dim seq As String, blob As String  
Dim targetPoint As SpelPoint  
  
seq = "testSeq"  
blob = "blob01"  
m_spel.VGetRobotPlaceTargetPos(seq, blob, targetPoint)  
  
' Adjust the place position  
targetPoint.X = targetPoint.X + 10  
m_spel.VSetRobotPlaceTargetPos(seq, blob, targetPoint)  

C# Example:

Spe
lPoint targetPoint = new SpelPoint();  
  
seq = "testSeq";  
blob = "blob01";  
m_spel.VGetRobotPlaceTargetPos(seq, blob, out targetPoint);  
  
// Adjust the place position  
targetPoint.X = targetPoint.X + 10;  
m_spel.VSetRobotPlaceTargetPos(seq, blob, targetPoint);