*RegisterDirectReader()

Registers a model/result reader for use by the Animation client during a HyperWorks session.

Syntax

*RegisterDirectReader (reader_name)

Application

HyperView.

Inputs

reader_name
The reader library name to load for a HyperWorks session.

Context

*BeginGraphicDefaults()

*BeginReaderDefaults()

Example

*BeginGraphicDefaults()
  *BeginReaderDefaults()
     *RegisterDirectReader("adams")
     *RegisterDirectReader("adams_res")
     *RegisterDirectReader("adams_stub")
  *EndReaderDefaults()
*EndGraphicDefaults()

Comments

Given the reader library name, HyperWorks automatically locates the specified reader in the Altair installation directory structure.

If no *RegisterDirectReader() commands are found in the preferences files, the default behavior is to load all readers distributed with HyperWorks. This can result in slower file loading characteristics, as HyperWorks is required to give all loaded readers a chance to validate their ability to read a file when loading.

The complete list of readers distributed by Altair is provided in the default preference file that is distributed with HyperWorks.
注: That all the *RegisterDirectReader() commands are disabled by default.