read_only_variable#

NamedVariable.read_only_variable(value: bool = True) bool#

Set the variable to a read-only variable.

Parameters:
valuebool, optional

Whether the variable is a read-only variable. The default is True.

Returns:
bool

Examples

>>> from ansys.aedt.core.modeler.advanced_cad.stackup_3d import NamedVariable
>>> obj = NamedVariable()
>>> obj.read_only_variable(value=1)