HyperWorks Desktop

*RegisterExternalFunction()

Adds external math functions to the program.

*RegisterExternalFunction()

Adds external math functions to the program.

Previous topic Next topic No expanding text in this topic  

*RegisterExternalFunction()

Adds external math functions to the program.

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

Syntax

*RegisterExternalFunction("Function Name", "Path")

Arguments

Names

Description

 

"Function Name"

The name assigned to the external program.  Must be in double quotes.

 

"Path"

Full path and file name of executable.

Example

*BeginDefaults()

    *RegisterExternalFunction("HIC",

                              "/usr/bin/madymo_hic")

*EndDefaults()

 *BeginPlotDefaults()

   *RegisterExportTemplate("Altair Format", "altair.tpl",

                           "alt")

   *SetBrowserExtension("*req")

 

*RegisterImportTemplate("/usr/people/altair/

                           new_format.tpl")

   *RegisterExternalReader("/usr/people/altair/

                           altair_exe")/

   *SetBackgroundColor(0)

   *SetGridlineColor(14)

   *SetHeaderColor(1)

   *SetBorderColor(12)

   *SetZerolineColor(10)

  • • •

 *EndPlotDefaults()

Application

MotionView, HyperView, HyperGraph, HyperGraph 3D, HyperStudy, TextView, and MediaView.

Context

*BeginDefaults()

*BeginResources()

Comments

External programs can be registered to be used along with math functions and operators.  External programs must be registered before they can be called using the extern function.

See also

 

extern in Math Functions

Using the Program in the User’s Guide

Altair IPC in External Resources

List of Preference Statements