AnsweredAssumed Answered

multiple variables as input

Question asked by cfoster_NDOT on Feb 26, 2018
Latest reply on Feb 27, 2018 by cfoster_NDOT

If i have the following variables set up referencing fields in the same feature, can i string them together in the DeleteField_management tool?

 

FE14 = 'TN14;ShoulderDropOff;SDO_TotalFeet;SDO_DefFeet'
FE15 = 'TN15;Vegetation;Veg_Qty'
FE16 = 'TN16;DebrisLitter;DL_TotalNumber;DL_DefNumber'

 

 

arcpy.DeleteField_management ("featureclass", ['FE14','FE15','FE16'])

or 

arcpy.DeleteField_management ("featureclass", ['FE14;FE15;FE16'])

 

There has to be a way to do it, just need the proper syntax.

 

Thanks!

Outcomes