VSaveModel Method

Description
Save a vision object search model to a PC disk file.

Syntax
Sub VSaveModel (Sequence As String, Object As String, Path As String)

Parameters

  • Sequence
    A character string indicating the sequence name in the current project.
  • Object
    A character sting indicating the object name. The object must be a Correlation, Geometric, or Polar.
  • Path
    The full path name of the file to save the model to, excluding the extension.

Remarks
When VSaveModel is executed, Epson RC+ 8.0 creates two files (Path + extensions): Path.VOB, Path.MDL
For correlation and geometric models, the ModelOrgX and ModelOrgY values are saved along with the model window. For Polar models, the Radius, Thickness, and AngleOffset are saved.

See Also
VLoadModel Method

VSaveModel Example
VB Example:

m_spel.VSaveModel("seq01", "corr01", "d:\models\part1")  

C# Example:

m_spel.VSaveModel("seq01", "corr01", @"d:\models\part1");