VSetRobotPlaceTargetPos Method
Description
Sets part place position.
Syntax
Sub VSetRobotPlaceTargetPos (Sequence As String, Object As String, 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, VGetRobotPlaceTargetPos Method
VSetRobotPlaceTargetPos 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:
string seq, blob;
SpelPoint 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);