AddNamedExpression

Creates a named expression using the expression at the top of the stack.

UI Access Click Add in the Fields Calculator window.
Parameters
Name Type Description
<ExprName> String Name for the new named expression.
<FieldType> String Type of field.
<Expression> Array

Defines an expression to be solved in the calculator.

Return Value None

 

Python Syntax AddNamedExpression(<ExprName>, <FieldType>)
Python Example

oModule.AddNamedExpression("Mag_JxE", "Fields")

 

oModule.AddNamedExpression("new2", "Fields",