Open Table of Contents

ET GeoWizards Scripting

ShapeToShapeZ
(Go to the main page of the function)

Converts the features of a data set to 3D features with constant Z value

Syntax    

Dim ET As  New ETGW_Core
Set variable =  ET.ShapeToShapeZ(pInFeatureClass, sOutFileName, sZFieldName, sMessage)

The ShapeToShapeZmethod syntax has the following object qualifier and arguments:

Part Description
variable An IFeatureClass object
pInFeatureClass Required. An IFeatureClass object (Must be a Polygon feature class)
sOutFileName Required. A String - the full name of the output feature class (A feature class with the same full name should not exist)
sZFieldName Required. a numeric field with Z values that will be applied to the  newly created 3D geometries.
sMessage Optional. In a case of failure -  description of the cause. If the functions completes with success an empty string will be returned. 

Example