CreateProject (XSIApplication)

Description

Creates a new project and all related files and folders on disk.

This method does not overwrite existing projects and won't change the current scene's project or default project. It is typically used in batch mode to create standard project folders for animators and render farms.

The XSIApplication.Platform method can be used to write platform-independent scripts. Operating system commands can be called in such script using the System command.

Scripting Syntax

    XSIApplication.CreateProject( ProjectPath )

C# Syntax

    Project XSIApplication.CreateProject( String in_ProjectPath );

Parameters

Parameter | Type | Description
ProjectPath | String | Full path name of the folder that will contain the project folders and files. The project will be named after the leaf directory of the provided path. If a relative file path is specified, the current directory will be used.

Examples

VBScript Example

    '
    '  Creates a new project named NewProject in the project location
    '
    CreateProject InstallationPath(siProjectPath) & "\NewProject"

See Also

XSIApplication.ActiveProject2 | XSIApplication.Platform | System

Autodesk Softimage v7.5