Is it possible to create TIN layer and add to Data frame?

المشرف العام

Administrator
طاقم الإدارة
I have list of TIN. I basically want to add TIN using arcpy.mapping so that when I open .mxd, TIN is added.

tin_list = arcpy.ListDatasets('', 'Tin')for tin in tin_list: arcpy.MakeFeatureLayer_management(tin,"cities_lyr") new_layer = arcpy.mapping.Layer("cities_lyr") arcpy.mapping.AddLayer(df, new_layer) mxd.save() print tinERROR:ERROR 000732: Input Features: Dataset photosc_tin does not exist or is not supportedFailed to execute (MakeFeatureLayer).



أكثر...
 
أعلى