ProblemArea#

class ansys.geometry.core.tools.problem_areas.ProblemArea(id: str, grpc_client: ansys.geometry.core.connection.GrpcClient)#

Represents problem areas.

Parameters:
idstr

Server-defined ID for the problem area.

grpc_clientGrpcClient

Active supporting geometry service instance for design modeling.

Overview#

fix

Fix problem area.

build_repair_tool_message

Build a repair tool message from the service response.

id

The id of the problem area.

Import detail#

from ansys.geometry.core.tools.problem_areas import ProblemArea

Property detail#

property ProblemArea.id: str#

The id of the problem area.

Method detail#

abstractmethod ProblemArea.fix()#

Fix problem area.

ProblemArea.build_repair_tool_message(response: dict) ansys.geometry.core.tools.repair_tool_message.RepairToolMessage#

Build a repair tool message from the service response.

Parameters:
responsedict

The response from the service containing information about the repair operation.

Returns:
RepairToolMessage

A message containing the success status, created bodies, modified bodies, number of found problem areas, and number of repaired problem areas.