How can I create PolylineZM feature using ArcObjects for .NET?

380
1
08-28-2017 01:43 PM
BhavinSanghani
Occasional Contributor II

I get COM exception when I try to create PolylineZM feature for Roads/Highways events. I use ArcObjects SDK for .NET. Is there any example of it?

Tags (1)
0 Kudos
1 Reply
ModyBuchbinder
Esri Regular Contributor

The geometry you create must be ZAware = true (and MAware).

If it is a point you should give it Z and M values. If it is a polygon/polyline all the points should have Z & M before added to the polygon/polyline that should be Z/MAware.

Just make sure that the event layer is defined as a layer that has Z & M

0 Kudos