Hi Shintaro, I have this function in my set of scripts here: https://github.com/olibclarke/coot-trimmings <https://github.com/olibclarke/coot-trimmings>
Once you have them installed it’ll be under Custom…Fit… Fit all chains to map Or you can just copy the relevant function and use it separately Cheers Oli