setattr#
- ENS_ANNOT_ARROW.setattr(attrid: Any, value: Any) None #
Set the value of the specified attribute
- Parameters:
- attrid
Any
The attribute to set. This can be an integer (enum) or string.
- value
Any
The value to set the attribute to.
- attrid
- Returns:
Session
CMD.
Examples
These commands are equivalent
>>> part.setattr("VISIBLE", True) >>> part.getattr(session.ensight.objs.enums.VISIBLE, True)