GetFieldsCalculatorExpressions
Returns a list of named expressions available in the Fields Calculator window. The list will vary according to the active design.
| UI Access | In the Project Manager tree, right click Field Overlays, and select Calculator | ||||||
| Parameters |
|
||||||
| Return Value | A list of strings containing named expressions for the specified fieldType. If the user does not provide a fieldType, all named expressions are returned, including user-defined expressions. Each entry in the list follows the format: "Name = expression". |
| Python Syntax | GetFieldsCalculatorExpressions(<fieldType>) |
| Python Example |
oModule = oDesign.GetModule("FieldsReporter") namedExpressions = oModule.GetFieldsCalculatorExpressions() Example of return value for a Maxwell Transient design when fieldType is “Fields”:
|