Select to view content in your preferred language

ArcPro 3.2 ApplySymbologyFromLayer does not work when ran as a python toolbox but does as a notebook.

132
0
a month ago
Labels (1)
GISWilliamEdwards
New Contributor

I've noticed when running python toolboxes ApplySymbologyFromLayer does not work. I've also noticed that it works just fine as a ArcNotebook script.

I've taken notice of the following bugs, BUG-000106281 and it's duplicate, BUG-000108497 and it seems to have been mentioned with arcpro version 2.2.

arcpy.management.ApplySymbologyFromLayer(
      in_layer=layer,
      in_symbology_layer=rangering_symbology,
      symbology_fields=None,
      update_symbology="DEFAULT"
)

  There's not really much else I can do.

0 Kudos
0 Replies