VGetRobotPlaceTargetPos メソッド
解説
ワークの配置位置を取得します。
書式
Sub VGetRobotPlaceTargetPos (Sequence As String, Object As String, ByRef Point As SpelPoint)
パラメーター
- Sequence
カレントプロジェクトのビジョンシーケンス名を表す文字列式 - Object
シーケンスのオブジェクト名を表す文字列式 - Point
配置位置を示すSpelPoint変数
参照
VGetRobotPlacePos メソッド, VSetRobotPlaceTargetPos メソッド
VGetRobotPlaceTargetPos 使用例
VB 例:
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# 例:
Spe
lPoint targetPoint = new SpelPoint();
seq = "testSeq";
blob = "blob01";
m_spel.VGetRobotPlaceTargetPos(seq, blob, out targetPoint);
// 配置位置を調整する
targetPoint.X = targetPoint.X + 10;
m_spel.VSetRobotPlaceTargetPos(seq, blob, targetPoint);