Skip to main content
Question

Creating an ArcGIS Pro Layer File in FME

  • February 16, 2023
  • 3 replies
  • 173 views

od10
Contributor
Forum|alt.badge.img+4
  • Contributor

Hello,

 

Has anyone ever created an ArcGIS Pro layer file *.lyrx inside FME for use in ArcGIS Pro? For example, converting a *.dwg file into *.gdb, aswell as creating a layer file which holds the symbology from the *.dwg.

 

Thanks, @Takashi Iijima​ @danilo_fme​ @Hans van der Maarel​ 

3 replies

maaw306
Participant
  • Participant
  • December 12, 2023

Did you ever figure this out? Stuck on this now.


dannymatranga
Contributor
Forum|alt.badge.img+5
  • Contributor
  • November 12, 2024

I am wondering the same thing.


madeleine_rfs
Contributor
Forum|alt.badge.img+2

Probably the best way would be to use ArcPy with a PythonCaller to modify an existing layer file, using the updateConnectionProperties() function. See link below.

https://pro.arcgis.com/en/pro-app/latest/arcpy/mapping/layerfile-class.htm


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings