InterferenceProblemAreas#

class ansys.geometry.core.tools.problem_areas.InterferenceProblemAreas(id: str, grpc_client: ansys.geometry.core.connection.GrpcClient, bodies: list[ansys.geometry.core.designer.body.Body])#

Bases: ProblemArea

Represents an interference problem area with a unique identifier and associated bodies.

Parameters:
idstr

Server-defined ID for the problem area.

grpc_clientGrpcClient

Active supporting geometry service instance for design modeling.

bodieslist[Body]

List of bodies in the problem area.

Overview#

fix

Fix the problem area.

bodies

The list of the bodies connected to this problem area.

Import detail#

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

Property detail#

property InterferenceProblemAreas.bodies: list[ansys.geometry.core.designer.body.Body]#

The list of the bodies connected to this problem area.

Method detail#

InterferenceProblemAreas.fix() ansys.geometry.core.tools.repair_tool_message.RepairToolMessage#

Fix the problem area.

Returns:
message: RepairToolMessage

Message containing created and/or modified bodies.

Notes

The current implementation does not properly track changes. The list of created and modified bodies are empty.