HyperWorks Desktop

*RegisterExternalReader()

Specifies an external reader for reading plot data.

*RegisterExternalReader()

Specifies an external reader for reading plot data.

Previous topic Next topic No expanding text in this topic  

*RegisterExternalReader()

Specifies an external reader for reading plot data.

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

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

*BeginPlotDefaults()

*BeginResources()

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

 

*BeginPlotDefaults()

List of Preference Statements

List of Hyper Study Preference Statements