Select all instances of a certain line type & replace

Hi, you could try this way to see if it works better: