Share via


ProjectListNode.addProject Method

Adds a new project to the list.

Syntax

public ProjectNode addProject(str projectName, [str projectClass])

Run On

Called

Parameters

  • projectName
    Type: str
    The name of the new project.
  • projectClass
    Type: str
    The name of the projecttype; optional. This should be the name of a class associated with the project (see the setProjectClass method). If no value is supplied, the project becomes a standard project.

Return Value

Type: ProjectNode Class
The newly added projectNode.

See Also

ProjectListNode Class

ProjectNode Class

ProjectNode.setProjectClass Method