ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Desktop.Core Namespace / CreateProjectSettings Class / CreateNewProjectFolder Property

In This Topic
    CreateNewProjectFolder Property
    In This Topic
    Gets and sets a value indicating if a new folder will be created for this project
    Syntax
    public bool CreateNewProjectFolder {get; set;}
    Public Property CreateNewProjectFolder As Boolean
    Remarks

    By default, a new folder is created for all new projects. The ArcGIS Pro application settings may specify that a folder should never be created for new projects. If the CreateProjectFolder property is not set, and the application settings specify not to create a folder, a folder will not be created for the new project.

    If the CreateProjectFolder property is set, the provided value overrides the application settings. For example, if true and the specified project name is TestProject, a new folder TestProject will be created in the LocationPath folder, and the TestProject.aprx project will be stored in the new folder.

    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also