Hello,
If I want add data with addDataFromPath:
aprx = arcpy.mp.ArcGISProject("current")
m = aprx.listMaps("Map10")[0]
m.addDataFromPath("C:\\Users\\aneta.ryglova\\Desktop\\Data_ZTM5_pro_Asseco\\Asseco\\Asseco_20201005.gdb\\T_MASKY_ANOTACI_M")
it return:
return convertArcObjectToPythonObject(self._arc_object.addDataFromPath(*gp_fixargs((data_path,), True)))
RuntimeError
and I don't know why, can you help me please?
Thanks