write_template — Writing a template to file.
write_template is obsolete and is only provided for reasons of backward compatibility. New applications should use the shape-based or NCC-based operators instead.
The operator write_template writes a matching template to file which can be read again with read_template. The default HALCON file extension for a template is 'gvt'.
File extension: .gvt
If the file name is valid (permission to write), the operator write_template returns the value 2 (H_MSG_TRUE). If necessary an exception is raised.