pyaedt.application.Design.DesignCache

class pyaedt.application.Design.DesignCache(app)[source]

Analyzes the differences in the state of a design between two points in time.

The contents of the design tracked in the Message Manager currently are:

  • global-level messages

  • project-level messages

  • design-level messages

Parameters
parentstr

Name of the parent object.

Methods

DesignCache.clear()

Clear cached values.

DesignCache.design_snapshot()

Retrieve the design snapshot.

DesignCache.ignore_error_message_global(msg)

Add this error message to the ignored global error messages.

DesignCache.ignore_error_message_local(msg)

Add this error message to the ignored local error messages.

DesignCache.update()

Update the current state.

Attributes

DesignCache.allowed_error_messages

Add this error message to the ignored error messages.

DesignCache.delta_design_messages

Check for any new or missing design-level messages since the last update.

DesignCache.delta_error_messages

Check for any new or missing error messages since the last update.

DesignCache.delta_global_messages

Check for any new or missing global-level messages since the last update.

DesignCache.delta_project_messages

Check for any new or missing project-level messages since the last update.

DesignCache.no_change

Check if cache elements are unchanged since the last update.

DesignCache.no_new_errors

Check for any new error messages that have appeared since the last uodate.

DesignCache.no_new_messages

Check for any new messages that have appeared since the last update or since the Message Manager was cleared.

DesignCache.no_new_warnings

Check for any new warning messages that have appeared since the last uodate.