OPSE how to place pipe clamp

Dear sir / lady 
      Now we have some problem about the OPSE that hope you can help me to reslove it 
     How do  write the code to connect the clamp to the linking point and move the pipe clip in a certain direction?