get_expression#
- VariableManager.get_expression(name: str) str#
Retrieve the variable value of a project or design variable as a string.
- Parameters:
- name
str Name of the expression.
- name
References
>>> oProject.GetVariableValue >>> oDesign.GetVariableValue
Examples
>>> from ansys.aedt.core import Hfss >>> hfss = Hfss() >>> hfss.variable_manager.get_expression("p1")