set_properties#

ToolkitBackend.set_properties(data: Dict[str, Any])#

Assign the passed data to the internal data model.

Parameters:
datadict

Dictionary containing the properties to update.

Returns:
tuple[bool, str]

Tuple indicating the success status and a message.

Examples

>>> from ansys.aedt.toolkits.common.backend.api import Common
>>> toolkit_api = Common()
>>> value2 = 2
>>> toolkit_api.set_properties({"property1": "value1", "property2": value2})