import arcpy from arcpy import env env.overwriteOutput = True inputFC = "C:/Data/3DScript/pythonTest.gdb" # Set workspace env.workspace = inputFC fcList = arcpy.ListFeatureClasses () arcpy.CheckOutExtension("3D") for featureClass in fcList: outFC = inputFC + "/" + featureClass + "_3D" arcpy.Layer3DToFeatureClass_3d(featureClass, outFC)
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.