0

I have 5 different point layers and one line layer.

Need to connect points (from different layers) with LINE.

I have code for only one point layer. I don't know how to get all points from different layers at a time - can anyone help me?

Note: LINE only need to move based on point coordinates.

marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
Nirosha K
  • 1
  • 1

1 Answers1

1

I believe this could be done using an IGeometryCollection and just add all your points from each layer as needed to the collection using IFeature.ShapeCopy, then use that collection to provide the point geometry for each vertex on your line.

Tim Sexton
  • 188
  • 8