1

I'm trying to do some learning with the ArcGIS Pro 2.4 .NET SDK in the Pro application's Python window:

import clr
import ArcGIS.Desktop.Core as ADC

for i in ADC.Project.Current.Items:
    print(i)

This works. Does anyone know the Python syntax for calling methods like Project.GetItems<T>(), if it's even possible?

TomazicM
  • 25,601
  • 22
  • 29
  • 39

1 Answers1

0

ADC.Project.Current.GetItems[ArcGIS.Dekstop.Layouts.LayoutProjectItem]() gets a list of LayoutProjectItems.