Specifies an external reader for reading plot data.
*RegisterExternalReader()Specifies an external reader for reading plot data. |
|||||
*RegisterExternalReader()Specifies an external reader for reading plot data. |
Syntax |
*RegisterExternalReader(path, type, extension, format) |
|
Arguments |
Names |
Description |
path |
The full path of the external reader file or the path of the external reader file relative to the preference file. |
|
type |
This is an optional argument. Type is a string that appears in the file type selector in the file open dialog box. |
|
extension |
This is an optional argument. 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. |
|
format |
The format can be "binary" or "ascii". |
|
Example |
*BeginPlotDefaults() *SetBrowserExtension(".req") *ReadTemplate("/usr/people/altair/new_format.tpl") *RegisterExternalReader("/usr/people/altair/altair_exe") *RegisterExternalReader("path", "Comma Separated Values (*.csv)", "csv") *RegisterExternalFunction("HIC", "/usr/bin/madymo_hic") *SetBackgroundColor(0) *SetGridlineColor(14) *SetHeaderColor(1) *SetBorderColor(12) • • • *EndPlotDefaults() |
|
Application |
HyperGraph, HyperGraph 3D and HyperStudy. |
|
Context |
||
Comments |
External readers are programs that contain instructions for reading results data files. Registering external readers allows the program to read all data files of that type. |
|
See also |
|
|