Example file added. Format V5R19, Enjoy.
Answered with a tutorial: https://grabcad.com/tutorials/how-to-model-a-bicycle-chain-assembly-in-catia
Using the same method as in picture.
this method works on ptc creo . but in catia its not working
in creo i made it easily with simulation but there is little bit problem occuring in assembly of parts in a curved profile
Just change guide line as a guide surface. And while you are mating parts select join surface on the specification tree.
I made a video tutorial in my youtube channel some time ago. YouTube/Catiatutorial
Or in my profile