setattrs#
- ENS_PART_FX_SEP_ATT.setattrs(values: dict, all_errors: int = 0) None #
Set the values of a collection of attributes
- Parameters:
- values
Dict
The values to set. The keys are the attribute IDs.
- all_errors
int
If non-zero, raise a RuntimeError exception if any attribute set operation fails. By default, 0.
- values
Examples
These commands are equivalent
>>> part.VISIBLE = True >>> part.setattrs(dict(VISIBLE=True)) >>> part.setattrs({session.ensight.objs.enums.VISIBLE: True})