create_hps_solution#

Client.create_hps_solution(name: str, project_id: str, task_id: str, file_id: str, result_provider: str | ResultProvider | None = None, split_mesh_options: SplitMeshOptions | None = None) → Solution#

Create a solution based on a file in the HPS file system of the result provider.

Parameters:
namestr

Name of the solution to create.

project_idstr

HPS project ID where the file is located.

task_idstr

HPS task ID where the file is located.

file_idstr

HPS file ID of the file to load.

result_providerstr or ResultProvider, optional

Name of the result provider or ResultProvider object. If None, uses the default result provider. Must have an hps_url defined.

split_mesh_optionsSplitMeshOptions, optional

Options for splitting the mesh.

Returns:
Solution

The newly created solution.