Author Topic: Reactors and handles during Refedit...  (Read 1182 times)

0 Members and 1 Guest are viewing this topic.

roy_043

  • Water Moccasin
  • Posts: 1895
  • BricsCAD 18
Reactors and handles during Refedit...
« on: January 21, 2016, 04:28:27 AM »
I am trying to update a reactor based application so that it will also function during a Refedit session (BricsCAD does not have a Block Editor so Refedit is used for blocks as well). The main problem is that the application relies on identifying pairs of entities using handles stored in Xdata. During a Refedit session temporary entities are created with new handles resulting in 'unlinked' pairs.

My current solution is to analyse the temporary entities, throw out one element of the 'unlinked' pairs, and reconstruct a correct pair from the remaining element. This process has to be repeated when the Refedit session is concluded.

Does anybody have another idea on how to approach this?