latestOpenAPI 3.0.32026-08-201592,4923.4 MB

53223abaceb7

Simulations

Swap the CAD on which the simulation is based

Swap the CAD on which the simulation is based. The assignments on CAD entities are mapped accordingly. This operation supports only swap between two CADs.

post/projects/{projectId}/simulations/{simulationId}/swapcad

Request body

sourceCadIdstring uuid required

The ID of the assigned CAD.

sourceCadStateIdstring uuid required

The ID of the assigned CAD state.

targetCadIdstring uuid required

The ID of the CAD to assign.

targetCadStateIdstring uuid required

The ID of the CAD state to assign.

Example request

{
  "sourceCadId": "9e8f7902-38b0-4992-aa82-a97cf51cb542",
  "sourceCadStateId": "f769b7d4-35dc-4483-b4fc-5f09c84881d1",
  "targetCadId": "2f2114b1-0949-4d39-bd40-3695fffbd8e3",
  "targetCadStateId": "1190f708-1180-4403-b6f9-0205ad96ce5d"
}

Response

Successful operation.

unmappedPathsstring[]

List of unmapped assignments.

partiallyMappedPathsstring[]

List of partially mapped assignments.

Example response

{
  "unmappedPaths": [
    "$.analysis.materials.fluids.0",
    "$.analysis.boundaryConditions.0"
  ],
  "partiallyMappedPaths": [
    "$.analysis.boundaryConditions.1"
  ]
}