Skip to content

v1.1.1

Compare
Choose a tag to compare
@crnh crnh released this 25 Sep 15:12
· 67 commits to main since this release
e2a15fc

Added

  • ZOS.connect_as_standalone as alias for ZOS.create_new_application (#26)
  • New parameter return_primary_system for ZOS.connect_as_extension and ZOS.create_new_application. These methods return the primary optical system if this parameter is True. If the license is not valid for the ZOS-API, a ConnectionRefusedError is raised (#26)
  • zospy.functions.nce.get_object_data to get the data of an NCE object (#30)

Fixed

  • Erroneous parsing of analyses results when textfile encoding was not set to Unicode by implementing zospy.zpcore.ZOS.get_txt_file_encoding (!36)
  • Bug that did not allow users to change the LensUpdateMode directly through OpticStudioSystem.LensUpdateMode (#40)

Changed

  • Updated how and when constants in zospy.api.config are determined for more clarity (!39)
  • Update the error message in zospy.ZOS to explain why only a single instance of ZOS is allowed (#24)
  • Load ZOS-API DLLs in ZOS.__init__ (#26)

Deprecated

  • Separate calls to ZOS.wakeup are now redundant. This method will be removed in a later release (#26)