ImportPoints Method
Description
Imports a point file into the current project for the current robot.
Syntax
Sub ImportPoints ( SourcePath As String, ProjectFileName As String [, RobotNumber As Integer] )
Parameters
- SourcePath
A string expression indicating the file to import into the current project and its specific path. The extension .pts is appended. - ProjectFileName
A string expression indicating the specific file to be imported into the project for the currently used robot or the specified robot if RobotNumber is provided. The extension .pts is appended. - RobotNumber
Optional. An integer expression indicating the robot for which the points file is to be used. If you specify 0, it will be a points file.
See Also
SavePoints Method
ImportPoints Example
VB Example:
With m_spel
.ImportPoints("c:\mypoints\model1.pts", "robot1.pts")
End With
C# Example:
m_spel.ImportPoints(@"c:\mypoints\model1.pts", "robot1.pts");