ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Desktop.Core Namespace / TemplateType Enumeration
Example Example

In This Topic
    TemplateType Enumeration
    In This Topic
    Gets and sets the project system template type that will be used to create the new project
    Syntax
    Members
    MemberDescription
    Catalog Create a new project with an open catalog view. For example, create a project like this to manage your data.
    GlobalScene Create a new project with an open 3D global scene.
    LocalScene Create a new project with an open 3D local scene.
    Map Create a new project with an open 2D map.
    Untitled Start working in ArcGIS Pro without creating a project first. You can save a project later if you want to keep your work.
    Remarks

    Gets and sets the project system template type that will be used to create the new project Remarks: The selected template type will be applied when creating a new project.Supplying a full path to a template overrides this setting.The supplied template will be used instead of the supplied system template setting.

    Example
    Create a project using template available with ArcGIS Pro
    //Settings used to create a new project
    CreateProjectSettings proTemplateSettings = new CreateProjectSettings()
    {
      //Sets the project's name
      Name = "New Project",
      //Path where new project will be stored in
      LocationPath = @"C:\Data\NewProject",
      //Select which Pro template you like to use
      TemplateType = TemplateType.Catalog
      //TemplateType = TemplateType.LocalScene
      //TemplateType = TemplateType.GlobalScene
      //TemplateType = TemplateType.Map
    };
    //Create the new project
    await Project.CreateAsync(proTemplateSettings);
    Inheritance Hierarchy

    System.Object
       System.ValueType
          System.Enum
             ArcGIS.Desktop.Core.TemplateType

    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also