title: How to update xdata information of an entity when it is copied
body: <p>I have two texts associated to a line. Because the texts represent some data of the line they are always considered children of the line and visible next to it. Through some lisp routines, if the data of the line change, the text entities reflect the change by changing their text. For that I have stored the handle of the line to each text as xdata and vice versa, e.g. the handles of the texts into the line.</p>
  
  <p>The problem arises when I copy the line with the texts where each one gets a new handle but the stored xdata are giving the old handles which leads to further problems. I thought the <code>vlr-copied</code> reactor could solve my problem but since I am not very proficient with reactors I cant seem to make it work. </p>
  
  <p>Could someone point me to the right direction? I found this</p>
  
  <p><a href="http://www.theswamp.org/index.php?topic=42654.0" rel="nofollow noreferrer">http://www.theswamp.org/index.php?topic=42654.0</a></p>
  
  <p>but I cannot understand when I make a selection set of lines but also including non relevant other entities, how to pass the correct selection set to the reactor and get the handles updated.</p>
  
  <p>Any suggestion appreciated. Thank you. </p>