VerticesZ Property
VerticesZ returns the Z coordinate for a 3D polyline or 3D polygon. Returns an array of doubles.
Syntax
object.VerticesZ
Example
This example shows the array of the 3D polyline's Z vertices where the XY vertices have been assigned. Since VerticesZ array is an outgoing parameter, the value of the elements inside the array can be returned.
Dim polyline3dcoordsZ (0 To 3) As Double
polyline3dcoordsZarray = Array( _
1.0, _
2.0, _
3.0, _
4.0) 'Variant Array
For i = 0 To 3
polyline3dcoordsZ(i) = polyline3dcoordsZarray(i)
Next
Used by: Polygon3D object, Polyline3D object