Select to view content in your preferred language

Inserting z-coordinate

598
1
Jump to solution
07-09-2022 09:29 AM
kradijaf
Emerging Contributor

Created a polyline feature class with enabled Z-values, when creating a line I insert into the FC, I include Z-coordinate in the points (.Z of arcpy.Point) but when printing the coordinates of newly created line, I get 0 instead of Z-coord I try to insert.

How can I solve this? Do I need to iterate through created line again, can it be done before I pass list of arcpy.Point to arcpy.Polyline?

0 Kudos
1 Solution

Accepted Solutions
DanPatterson
MVP Esteemed Contributor

see the example at the bottom of

Write geometries—ArcGIS Pro | Documentation

if you are scripting this


... sort of retired...

View solution in original post

0 Kudos
1 Reply
DanPatterson
MVP Esteemed Contributor

see the example at the bottom of

Write geometries—ArcGIS Pro | Documentation

if you are scripting this


... sort of retired...
0 Kudos