set_properties#

TxSpurNode.set_properties(properties: dict[str, str | bool | float | list] | list[str], skipChecks: bool = True) None#

Set multiple node properties simultaneously.

This method is intended for scripts that need to write multiple properties efficiently.

Parameters:
propertiesdict or list[str]

Properties to set. Either a dictionary of property names and values or a list of 'name=value' strings as used by EmitCom.

skipChecksbool, optional

Whether to skip property visibility checks. The default is True.

Raises:
TypeError

If properties is not a dictionary or list of strings.

ValueError

If property assignment fails.