*RegisterSharedReader()

Registers a reader for HyperGraph or HyperView.

Syntax

*RegisterSharedReader (filename, reader_name, filter, reader_type)

Application

HyperGraph, HyperGraph 3D, and HyperView.

Inputs

filename
One of two forms are accepted: the fully qualified reader filename including the path and extension OR the filename minus the path and extension. If the path and extension are excluded, then the existing result/model readers directory will be searched for the given reader.
reader_name
The name/label to use for the reader.
filter
A file filter used to define the types of files that this reader can process. Multiple file formats can be specified using the ‘;’ character to separate filter values (for example *.abc;*.def).
reader_type
Optional: Used to define the type of reader. Must be one of the following values: model, result or model_result. The default value is model_result.

Context

*BeginPlotDefaults()

*BeginResources()

Example

*BeginResources()
    *RegisterSharedReader("h3d", "Hyper3D Reader", "*.h3d", model_result)
    *RegisterSharedReader({ getenv("hw_readers") + "/abaqus.dll"}, “ABAQUS Model Input Reader”, “*inp;*.pes”, model)
    *RegisterSharedReader(“adams_res”, “ADAMS Results File”, “*.res”, result)
*EndResources()