SystemMessage#

Usage:

SystemMessage Class API Wrapper

class SystemMessage[source]#

Bases: object

Wrapper for SystemMessage class of Moldflow Synergy.

get_data_message(msgid, preset_text, preset_vals, unit_sys)[source]#

Retrieve a formatted text, given a message id and arrays of strings and doubles.

Parameters:
  • msgid (int) – The message id.

  • preset_text (StringArray | None) – The array of strings to be used in the message.

  • preset_vals (DoubleArray | None) – The array of doubles to be used in the message.

  • unit_sys (SystemUnits | str) – The unit system to be used in the message.

Returns:

The formatted message.

Return type:

str