Delete a theme from a project by editing the .apr file

Last Published: April 25, 2020


This article shows how to delete a theme from a project by editing the .apr file with a text editor.


  1. Open the .apr in a text editor such as WordPad or Notepad.

    Always make a backup before making any edits to an .apr file.

  2. Search for the name of the theme you want to remove.
  3. Take note of the corresponding FTheme or ITheme number. In this example it is FTheme.10.

    Name: "Sample.shp"
    Source: 11
    Flags: 0x07
    Legend: 21
    Threshold: 40
    View: 41
    GSet: 407
    LegEditScript: "View.EditLegend"
    TxPos: 408
    LabelField: 16
    Table: 6
    SnapTolCursor: 1

  4. Find all the views that contain this theme by searching for "Theme: #". In this example it is "Theme: 10".
  5. Remove the "Theme: #" line.
  6. Save the file.

Article ID:000004105

  • Legacy Products

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Related Information

Discover more on this topic