Susan Thodey acted for Auckland Council in the case and Christine Meecham QC was acting for decking membrane supplier Bostik.
The body corporate sued the developer of the block on the Nelson St corner, Auckland Council and Bostik.
Lewis opened the case last month, telling how the tower opposite TVNZ suffered from "defects in the cladding, balconies and podium" and 199 out of 203 owners brought the action.
"The body corporate estimates costs will be $42 million," he said but some savings had reduced that to $40 million, he told the court.
Remedial works would include replacement of the cladding, new waterproofing for the balconies and works to rectify fire safety issues.
The owners are working towards a repair start date of next year, but realistically it might be later than that, Lewis told the court.
He told Justice Susan Thomas that a settlement agreement had been reached with one of the defendants, Facade Design Services, before the hearing began.
The first defendant was KNZ International Co Ltd, formerly named Ganada Development Co Ltd and Dae Ju Developments Co Ltd which was not represented in court.