Let's imagine that you have 3-fold NCS. You have molecule “A” as your master molecule and you make edits to that molecule. Now you want to apply the edits that you made to “A” (the NCS master chain ID) to the “B” and “C” molecules (i.e. you want the “B” and “C” molecules to be rotated/translated versions of the “A” molecule). How is that done?
There are now guis to NCS command to help you out (under Extensions). However, for completeness here are the scripting versions:
(copy-from-ncs-master-to-others imol master-chain-id)
If you have only a range of residues, rather than a whole chain to replace:
(copy-residue-range-from-ncs-master-to-others imol
master-chain-id start-resno end-resno)
e.g.
(copy-residue-range-from-ncs-master-to-others 0 "A" 1 5)
If you want to copy a residue range to a specific chain, or specific list of chains (rather than all NCS peer chains) then make a list of the chain-ids that you wish replaced:
(copy-residue-range-from-ncs-master-to-chains 0 "A" 1 5 (list "C"))
in this case, just the residues in the "C" chain is replaced.