OpenModelica / OMPython

A Python interface to OpenModelica communicating via CORBA or ZeroMQ
Other
107 stars 58 forks source link

Added boolean to return statement for setMethodHelper #225

Closed j-emils closed 1 month ago

j-emils commented 1 month ago

Related Issues

Purpose

This adds a boolean to the return statement of setMethodHelper. The purpose is to give better information to the user when a parameter could not be set. The user can then decide to raise an Error.

Approach

Returns False if a parameter could not be set, otherwise True.