HyperWorks Desktop

*registerimporttemplate()

*registerimporttemplate()

Previous topic Next topic No expanding text in this topic  

*registerimporttemplate()

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

NAME


*registerimporttemplate - Registers an import template.

 

SYNTAX


*registerimporttemplate(filename)

 

TYPE


hm.cfg Command

 

DESCRIPTION


Registers an import template.

This is valid only for HyperMesh standalone and is ignored within HyperWorks Desktop.  For HyperWorks Desktop, HyperGraph should be used instead.

filename

The name and path of the import template to register.  This value must be enclosed in quotes.

 

EXAMPLES


To register some of the import template in the templates directory:

home = getenv("TEMPLATES_DIR")

*registerimporttemplate("{home + "/import/tab.tpl"}")

*registerexternalreader("{home + "/import/wingz2_dif.tpl"}")

*registerexternalreader("{home + "/import/excel2_dif_tpl"}")

 

ERRORS


None.

 

SEE ALSO


*registerexternalfunction()

*registerexternalreader()

*registertemplexfunction()

Configuration File Commands