diff --git a/doc/changelog.d/4272.fixed.md b/doc/changelog.d/4272.fixed.md new file mode 100644 index 00000000000..72444bce0bb --- /dev/null +++ b/doc/changelog.d/4272.fixed.md @@ -0,0 +1 @@ +\"update_coordinates\" not found in dcb composite example diff --git a/examples/00-mapdl-examples/composite_dcb.py b/examples/00-mapdl-examples/composite_dcb.py index 5c8e985cb8e..968447f5315 100644 --- a/examples/00-mapdl-examples/composite_dcb.py +++ b/examples/00-mapdl-examples/composite_dcb.py @@ -445,8 +445,10 @@ dam_op.inputs.time_scoping([i]) cohesive_damage = dam_op.outputs.fields_container()[0] # Update coordinates and scalars - plotter.update_coordinates(disp_result.data, mesh=mesh_beam, render=False) - plotter.update_coordinates(disp_cohesive.data, mesh=mesh_contact, render=False) + + mesh_beam.points = disp_result.data + mesh_contact.points = disp_cohesive.data + plotter.update_scalars(cohesive_damage.data, mesh=mesh_contact, render=False) plotter.write_frame()