0

I'm new in ArcGIS and ArcPy.

I've got f.e. a Layer called "Flurnamen_5000". How can I find out (arcpy) if there exists a "Text Renderers" in Properties --> Symbologie --> Darstellung (look at the printsceen)? enter image description here If there is no Text Renderers in the Layer. I'd like to remove the Layer. I started with:

>>> mxd = arcpy.mapping.MapDocument("CURRENT")
>>> lyr = arcpy.mapping.ListLayers(mxd, "Flurnamen_5000")

but I have no idea, how to check if a "Text Renderers" exists.

FeatureType is simple.

PolyGeo
65.5k29 gold badges115 silver badges349 bronze badges
asked Sep 17, 2016 at 15:14

1 Answer 1

1

Your ArcMap has a custom extension enabled for your layer. This extension was written with ArcObjects and installed for your ArcGIS Desktop environment. A standard ArcMap does not have the Text Renderers option.

As this is a custom property/render type for a layer, you will not be able to access its properties via arcpy.

answered Sep 17, 2016 at 17:10
2
  • Thank you for your answer. I already suspected something like this. Is it possible to get a list of all key/value pairs of the property dialog (except the custom extension ones)? f.e. font=Arial or font size=7 or source=.... etc. Commented Sep 17, 2016 at 18:00
  • 2
    Please ask a separate question on this and we will be glad to help! Commented Sep 18, 2016 at 8:13

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.