Hi,
I'm looking for ideas on how it would be possible to select particular text elements based on whether they "collide" with a selected line element. Are there any creative ways to do this with the built-in tools?
Here is a link to a test drawing.The purple lines are already in a graphic group. https://drive.google.com/file/d/1DuSdb6UG7KEXoC_6Nq3YM4XEUXFG0ivD/view?usp=sharing
Here is a higher res version of the image
The most creative way I came up with is to draw the grid as shapes with offset 1mm from lines. Then merge those shapes as grouped holes and create fence from these grouped holes(place fence element). Afterwards copy fence contents with mode overlap. But it is very slow approach.
It selected 296 text elements.
2806.test.dgn
Oh, you really win the price for the most creative approach (and there was no requirement for efficiency and speed in the question) :-)))
Regards,
Jan
Bentley Accredited Developer: iTwin Platform - AssociateLabyrinth Technology | dev.notes() | cad.point
Jan Šlegr said:Oh, you really win the price for the most creative approach (and there was no requirement for efficiency and speed in the question) :-)))
Hold your horses, my entry has yet to be seen!
Andrew Bell said: I was actually thinking that the Clash Detection tool might be useful in this case for detecting "collisions" of the lines with the text elements.
Except that it does'nt work with 2D elements (from my testing at least). However, the approach of using Clash Detection was also my first thought, but to make it work needs a few tricks:
I ended up with 293 clashes, and a video of the outlined steps can be seen below:
Barry Lothian said:Hold your horses, my entry has yet to be seen!
I agree the requirement to convert 2D data to 3D and to require extra license for clash detection represent another level of "creativity" :-)