expressions#
- property FieldsCalculator.expressions#
Typed, fluent builder for Fields Calculator expressions.
Returns a
FieldExpressionsfactory that produces strongly typed expression objects. Chaining their.method()calls and thedot/crosshelpers builds the calculator operation stack with type safety, instead of assembling the operation strings by hand.- Returns:
Examples
>>> from ansys.aedt.core import Hfss >>> from ansys.aedt.core.visualization.post.field_calculator_expressions import Volume >>> hfss = Hfss() >>> fx = hfss.post.fields_calculator.expressions >>> e_vec = fx.vector("E") # VectorComplex >>> mag_e = e_vec.magnitude() # ScalarReal >>> value = mag_e.maximum(Volume("MySolid")).evaluate(setup="Setup1 : LastAdaptive")