setattr#

ENS_ANNOT_ARROW.setattr(attrid: Any, value: Any) None#

Set the value of the specified attribute

Parameters:
attridAny

The attribute to set. This can be an integer (enum) or string.

valueAny

The value to set the attribute to.

Returns:
Session CMD.

Examples

These commands are equivalent

>>> part.setattr("VISIBLE", True)
>>> part.getattr(session.ensight.objs.enums.VISIBLE, True)