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?

0

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

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.