get_evaluated_value#
- Circuit.get_evaluated_value(name, units=None)[source]#
Retrieve the evaluated value of a design property or project variable in SI units if no unit is provided.
- Parameters:
- Returns:
float
Evaluated value of the design property or project variable in SI units.
References
>>> oDesign.GetNominalVariation >>> oDesign.GetVariationVariableValue
Examples
>>> M3D = Maxwell3d() >>> M3D["p1"] = "10mm" >>> M3D["p2"] = "20mm" >>> M3D["p3"] = "P1 * p2" >>> eval_p3 = M3D.get_evaluated_value("p3")