Skip to main content

Hi. I have a DGN file with exploded symbols (img 1).

image.pngI need to make one line from these 3 following lines and fill the gaps between these lines.

Firstly I use Snapper (snapping tolerance set to 2 because gaps are about 1.7) and then LineCombiner. It works well with my test data but at real DGN it works wrong (img 2). I do not want involve marker ("circle" with short line) to process.

imageThanks.

  • Are the lines and markers on different layers? Either filter by layer name or use a Group By on the layer name (igds_level_name) in the Snapper.
  • Are the markers dissolved cells? Either filter by cell id or use a Group By on the cell id (igds_cell_sequence_number) in the Snapper.

Lines and markers are in the same layer. "circle" entity is ellipse so these I can remove, but not short lines.

(I apologize for grammar mistakes but English is not my native language).


Lines and markers are in the same layer. "circle" entity is ellipse so these I can remove, but not short lines.

(I apologize for grammar mistakes but English is not my native language).

If removing short lines is an option, you could use a combination of a LengthCalculator and a Tester to filter them out. The length will be given in the same units as the input data coordinates, e.g. millimeters.


Reply