An SNP councillor in Edinburgh apologised to a female party colleague after making a “completely inappropriate” comment to her at a committee meeting.

During a discussion on a planning matter, the SNP's Lewis Ritchie told Kate Campbell she could touch a stone with her hands and “whatever other parts of your body you want to touch it with”.

Chas Booth, a Green councillor in Edinburgh, said: “At the time, I thought it was a completely inappropriate remark to make and I raised it with him. I hope he has learned his lesson.”

Ritchie, who represents the Leith Walk ward, is listed as being an army reservist and a non-executive director of Children’s Hearings Scotland.

As a councillor, he was until recently the convener of the planning committee and development management sub-committee (DMSC).

At a meeting of the DMSC in June, councillors discussed a proposal for a residential development in Dalmeny. Campbell, who serves the Portobello/Craigmillar ward, raised a point about the material used for the planned 15 houses.

On the council webcast, available to any member of the public, Ritchie can be seen saying: "We could continue and actually bring the stone in and you could touch it with your hands, and whatever other parts of your body you want to touch it with."

Ritchie laughed as he made the remark, after which the official sitting next to him appeared to be taken aback by the comment.

A spokesperson for the SNP said: “We understand that Cllr Ritchie was spoken to by the Group Whip about his comments, and the matter was closed. No report was escalated to the party.”

Asked if Ritchie had apologised to councillor Campbell, the spokesperson said: “Yes.”

Ritchie recently took a “leave of absence” from the council for health reasons, which is unconnected to his comments at the committee. He has been replaced as convener on both committees.

He previously attracted media coverage after describing the designs behind plans to turn the Royal High School in Edinburgh into a hotel as “ugly”, “abhorrent” and almost “universally reviled” by anyone who had seen them.

A Scottish Conservative spokesperson said: “These comments were clearly inappropriate and it is only right that the councillor involved was made to apologise for his behaviour.

"If this was a councillor from another party, the SNP would be calling for extremely tough action. With that in mind, it should apply some of its own supposed standards to this case."

Ritchie could not be reached.