Release 2021 R2

The following changes were made to adapt to the release 2021 R2 of the DCS APIs.

File resource

  • New property collect : Whether a file should be collected per design point. This replaces create_design_point_files property in the configuration.

  • New property reference : Reference file from which this one was created (optional).

  • New property storage_id: File’s identifier in the (orthogonal) file storage system.

Configuration resource

  • Removed property create_design_point_files, use the File.collect flag instead.

DesignPoint resource

  • Property files will now only provide a list of ID of files linked to all tasks of a design point.

Task resource

  • New property input_files: list of IDs of input files of task.

  • New property output_files: list of IDs of output files of task.

  • New property inherited_files: list of IDs of inherited files of task.

  • New property owned_files: list of IDs of owned files of task.

  • New property process_step_snapshot: snapshot of ansys.dcs.client.dps.ProcessStep created when task status changes to prolog, before evaluation.

  • Removed property log_file. Instead, you can query the task files and filter for name equal to console_output (created if the flag ProcessStep.store_output is set).