Select to view content in your preferred language

Create perpendicular lines with different lengths

542
2
08-15-2010 12:43 AM
ConnyTschritter
Deactivated User
Hi everybody,
could anyone give me a hint on how to create perpendicular polylines with different lenghts automatically?
I've got a polyline shapefile and a point shapefile. The points are situated on the line and I need to generate polylines that cross the main polyline perpendicular in these points.

The perpendicular lines have different lengths I have to read out from an excel file (I haven't gotten there yet) and have to have their centre on the main line.

Does anyone have an idea on how to do that with VBA?
Searching the forum and google didn't give me much to work with yet.
Cheers,
Conny
0 Kudos
2 Replies
ModyBuchbinder
Esri Regular Contributor
Hey Conny

Check the ICurve interface, it has many good methods.
I think ICurve.QueryPointAndDistance should do it.

Have Fun
Mody
0 Kudos
JamieJohnston-Stewart
Deactivated User
Is there a way to do this without any knowledge of VBA or scripting? My lines don't necessarily need to be different lengths, but I do need to create perpendicular lines.
0 Kudos