hidden_variable#

Hfss3dLayout.hidden_variable(name, value=True)[source]#

Set the variable to a hidden or unhidden variable.

Parameters:
namestr or list

One or more variable names.

valuebool, optional

Whether to hide the variable. The default is True, in which case the variable is hidden. When False, the variable is unhidden.

Returns:
bool

True when successful, False when failed.

References

>>> oDesign.ChangeProperty

Examples

>>> from ansys.aedt.core import Hfss
>>> hfss = Hfss()
>>> hfss["my_hidden_leaf"] = "15mm"
>>> hfss.hidden_variable("my_hidden_leaf",True)