Skip to content

Commit b52d54f

Browse files
Update problem_areas.py
1 parent 8b94ad8 commit b52d54f

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/ansys/geometry/core/tools/problem_areas.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -188,13 +188,13 @@ def fix(self) -> RepairToolMessage:
188188
response = self._repair_stub.FixMissingFaces(
189189
FixMissingFacesRequest(missing_face_problem_area_id=self._grpc_id)
190190
)
191-
# parent_design._update_design_inplace()
191+
parent_design._update_design_inplace()
192192
message = RepairToolMessage(
193193
response.result.success,
194194
response.result.created_bodies_monikers,
195195
response.result.modified_bodies_monikers,
196196
)
197-
parent_design.update_from_tracker(response.result.complete_command_response)
197+
#parent_design.update_from_tracker(response.result.complete_command_response)
198198
return message
199199

200200

@@ -520,12 +520,13 @@ def fix(self) -> RepairToolMessage:
520520
response = self._repair_stub.FixStitchFaces(
521521
FixStitchFacesRequest(stitch_face_problem_area_id=self._grpc_id)
522522
)
523-
parent_design._update_design_inplace()
523+
#parent_design._update_design_inplace()
524524
message = RepairToolMessage(
525525
response.result.success,
526526
response.result.created_bodies_monikers,
527527
response.result.modified_bodies_monikers,
528528
)
529+
parent_design.update_from_tracker(response.result.complete_command_response)
529530
return message
530531

531532

@@ -569,12 +570,13 @@ def fix(self) -> RepairToolMessage:
569570
response = self._repair_stub.FixAdjustSimplify(
570571
FixAdjustSimplifyRequest(adjust_simplify_problem_area_id=self._grpc_id)
571572
)
572-
parent_design._update_design_inplace()
573+
#parent_design._update_design_inplace()
573574
message = RepairToolMessage(
574575
response.result.success,
575576
response.result.created_bodies_monikers,
576577
response.result.modified_bodies_monikers,
577578
)
579+
parent_design.update_from_tracker(response.result.complete_command_response)
578580
return message
579581

580582

0 commit comments

Comments
 (0)