ansys / pyadditive

Pythonic interface client to Ansys additive simulation service

Home Page:https://additive.docs.pyansys.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add progress handler to `simulate` methods

pkrull-ansys opened this issue Β· comments

πŸ“ Description of the feature

A progress handler is responsible for displaying progress information to the user. Different scenarios require different progress displays. For instance, an application with a graphical user interface will display progress differently than a command line application.

πŸ’‘ Steps for implementing the feature

Create an IProgress interface class that can be inherited from. IProgress must include a method to update progress. This method should include the following information.

  • running state
  • percent complete
  • context
  • error message, if error occurred
  • status message, if available

A progress handler parameter needs to be added to simulate() and _simulate() in methods on the Additive object and to run_simulations() on the ParametricStudy object.

πŸ”— Useful links and references

No response