*RegisterImportTemplate()
Specifies an import template for reading plot data.
Syntax
*RegisterImportTemplate ("Path", type, extension)
Application
HyperGraph, HyperGraph 3D and HyperStudy.
Inputs
- "Path"
- The full path of the import template file or the path of the import file relative to the preferences file.
- type (optional)
- Type is a string that appears in the file type selector in the file open dialog box.
- Extension (optional)
- Extension is the suffix that is associated with this file type. The program uses this information to make filtering of file names easier and to accelerate file recognition.
Context
*BeginPlotDefaults()
*BeginResources()
Example
*BeginPlotDefaults()
	*RegisterImportTemplate("/templates/altair.tpl")
	*RegisterImportTemplate("Path", "Comma Separated Values (*.csv)", "csv")
	*RegisterImportTemplate("/templates/special.tpl")
	*RegisterImportTemplate("/templates/hm.tpl")
	*SetBorderColor(12)
	*SetFrameColor(12)
	*SetHeaderColor(1)
	*SetBackgroundColor(0)
	*SetGridlineColor(14)
	*SetZerolineColor(10)
	*SetAxisColor(1)
	*SetCurveDefaults(1, 3, 1, 0, 0)
	*SetCurveDefaults(1, 4, 1, 0, 0)
	*SetAxisDefaults(0, 11, 2, 1, 11, 4)
	*SetLegendPlacement(TopRight)
	*SetNoteAttachment(View)
	*SetNoteAlignment(Left)
	*SetNoteFont("Helvetica",1,1,24)
	*SetPrintLineThickness(0.5)
	*SetLegendFont("Helvetica",1,1,24)
	*SetAnimBubbleColor(6)
*EndPlotDefaults()Comments
A preferred list of import templates or a list of custom templates can be specified by using multiple *RegisterImportTemplates() statements.