SaveNamedExpressions

Saves a named expression definition to a file.

UI Access In the Fields Calculator, click Save To... in the Library area.
Parameters
Name Type Description
<FileName> String Filename and full path to the file to hold the named expression definition.
<NamedExprs> Array Array of strings containing the names of expression definitions to load from the file.
<Overwrite> Boolean Specifies whether to overwrite the file.
Return Value None.

 

Python Syntax SaveNamedExpressions(<FileName>, <NamedExprs>, <Overwrite>)
Python Example

oModule.SaveNamedExpressions(

"C:\Ansoft\PersonalLib\smth.clc",

["smoothedtemp"], True)

 

VB Syntax SaveNamedExpressions <FileName>, <NamedExprs>, <Overwrite>
VB Example

oModule.SaveNamedExpressions _

"C:\Ansoft\PersonalLib\smth.clc", _

Array("smoothedtemp"), true