is_used#

VariableManager.is_used(name: str) bool#

Find if a variable is used.

Parameters:
namestr

Name of the variable.

Returns:
bool

True when successful, False when failed.

Examples

>>> from ansys.aedt.core import Hfss
>>> hfss = Hfss()
>>> hfss.variable_manager.is_used("p1")