ImportPoints メソッド
解説
現在使用しているロボットのカレントプロジェクトにポイントファイルをインポートします。
書式
Sub ImportPoints (SourcePath As String, ProjectFileName As String [, RobotNumber As Integer])
パラメーター
- SourcePath
カレントプロジェクトにインポートするファイルとその特定パスを表わす文字列式拡張子に.ptsをつけます。 - ProjectFileName
現在使用しているロボット、あるいはRobotNumberが提供されていれば指定したロボットのプロジェクトにインポートされる特定のファイルを表わす文字列式拡張子に.ptsをつけます。 - RobotNumber
ポイントファイルが使用されるロボットを表す整数式 (省略可)0を指定すると、ポイントファイルになります。
ImportPoints 使用例
VB 例:
With m_spel
.ImportPoints("c:\mypoints\model1.pts", "robot1.pts")
End With
C# 例:
m_spel.ImportPoints(@"c:\mypoints\model1.pts", "robot1.pts");